コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
        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;
        }
コード例 #4
0
ファイル: MainForm.cs プロジェクト: Bloov/Texture-Recognition
        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;
        }