コード例 #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_");
 }