Esempio n. 1
0
        private void btnBright_Click(object sender, EventArgs e)
        {
            decimal numericValue = numericUpDown1.Value;
            LogicSegmentation segmentation = new LogicSegmentation((Bitmap)this.PBImagen.Image);
            segmentation.decomposeRGB();
            segmentation.getNoise((double)numericValue);
            segmentation.composeRGB();
            segmentation.setMapImage(segmentation.getImageMap());

            PBImagen.Image = segmentation.getImageMap();
        }