Exemple #1
0
        public static VLabeling Create(string fname)
        {
            var x = new VLabeling()
            {
                Filename = fname
            };

            x.Categories = new string[] { "Default" };
            return(x);
        }
Exemple #2
0
        public static VLabeling LoadShadow(string fname)
        {
            var fnew = Path.ChangeExtension(fname, Config.ShadowExtension);

            if (!File.Exists(fnew))
            {
                return(VLabeling.Create(fname));
            }
            else
            {
                return(VLabeling.Load(fnew));
            }
        }