예제 #1
0
        private void clasificacionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            LogicSegmentation segmentation = new LogicSegmentation((Bitmap)this.PBImagen.Image);
            segmentation.decomposeRGB();
            segmentation.binarization(125);
            segmentation.composeRGB();
            segmentation.setMapImage(segmentation.getImageMap());
            segmentation.segmentation();

            PBImagen.Image = segmentation.getImageMap();
        }