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>(); }
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]); }
public CDenoiseMaster() { strategy = null; strategyNames = CReflectionTools.GetStrategyNamesFromNamespace("DiplomaMaster.DenoisingMethods", "CDenoise_"); }