public ManageTextureClasses() { instance = this; InitializeComponent(); regionColor.Color = Color.Red; currentClassImage = new Bitmap(pbColor.Width, pbColor.Height); newClassImage = new Bitmap(pbColor2.Width, pbColor2.Height); UpdateColor(); recognition = TextureRecognition.Instance; }
public MainForm() { instance = this; InitializeComponent(); manageTexturesWindow = new ManageTextureClasses(); teachTextureClassWindow = new TeachTextureClass(); recognizeImageWindow = new RecognizeImage(); changeNameWindow = new ChangeName(); recognitionOptionsWindow = new RecognitionOptions(); batchProcessingWindow = new BatchProcessing(); createSample = new CreateSample(); optimizeTeaching = new OptimizeTeaching(); recognition = TextureRecognition.Instance; }