Ejemplo n.º 1
0
        private void 中点滤波器ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            checkPictureBox1();
            if (!valid)
            {
                return;
            }
            Bitmap bit = new Bitmap(pictureBox1.Image);

            pictureBox2.Image = GraphicClass.greatValueFiltering(bit, 2);
            pictureBox3.Image = GraphicClass.drawHistogram(new Bitmap(pictureBox1.Image));
            pictureBox4.Image = GraphicClass.drawHistogram(new Bitmap(pictureBox2.Image));
        }