CLAHE by AForge

        // Clac CLAHE ----------------------------------------------------
        private void button7_Click(object sender, EventArgs e)
        {
            Bitmap img1 = (Bitmap)pictureBox1.Image;
            // create filter
            HistogramEqualization filter = new HistogramEqualization();
            // process image
            filter.ApplyInPlace(img1);

            pictureBox2.Image = img1;
        }

        // pictureBox click ------------------------------------------------
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            pictureBox1.Image = (Bitmap)System.Drawing.Image.FromFile(
                @"c:/Users/user/Pictures/7.bmp");
        }

댓글

이 블로그의 인기 게시물

Draw Circle on PictureBox when Button Click - Winform

2D FFT of Gray Image by AForge