예제 #1
0
        public CMaskingMaster()
        {
            strategy      = null;
            strategyNames = new Dictionary <string, string>();

            strategyNames = CReflectionTools.GetStrategyNamesFromNamespace("DiplomaMaster.MaskingMethods", "CMasking_");

            MaskImage       = new Image <Gray, byte>(1, 1, new Gray(0));
            NeuronBodyMasks = new List <NeuronBodyMask>();
        }
예제 #2
0
        public CImageParserMaster()
        {
            strategyNames = CReflectionTools.GetStrategyNamesFromNamespace("DiplomaMaster.ImageParsingMethods", "CImageParsing_");
            if (strategyNames.Count == 0)
            {
                throw new Exception("ERROR: No parsing strategies found!");
            }

            //костыль
            SetMethod(strategyNames.Keys.ToList()[0]);
        }
예제 #3
0
 public CDenoiseMaster()
 {
     strategy      = null;
     strategyNames = CReflectionTools.GetStrategyNamesFromNamespace("DiplomaMaster.DenoisingMethods", "CDenoise_");
 }