Ejemplo n.º 1
0
        //---histogram equalization
        private void histgramEqualizationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            myImage.HistCalculation();
            myImage.HistEqualize(ref myImage);
            panel.Refresh();

            myImage.HistCalculation();
            histForm.getIndex = myImage;
            if (histForm != null & histForm.Visible == true)
            {
                histForm.Refresh();
            }
            gTransForm.getIndex = myImage;
            if (gTransForm != null & gTransForm.Visible == true)
            {
                gTransForm.Refresh();
            }
        }