예제 #1
0
        public Bitmap ToExtractNormalizedRGBChannel(Bitmap Im)
        {
            AForge.Imaging.Filters.ExtractNormalizedRGBChannel Img = new ExtractNormalizedRGBChannel();
            Bitmap bmImage = AForge.Imaging.Image.Clone(new Bitmap(Im), PixelFormat.Format24bppRgb);

            return(Img.Apply(bmImage));
        }
예제 #2
0
        private void rGBToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ExtractNormalizedRGBChannel rgb = new ExtractNormalizedRGBChannel();

            pictureBox2.Image = rgb.Apply((Bitmap)pictureBox1.Image);
        }