示例#1
0
        private void DilatateButton_Click(object sender, EventArgs e)
        {
            var morfForm = new MorphologyForm(_inputImage, Convert.ToInt32(dilatateCoef.Text));

            morfForm.Show();
            morfForm.Dilatate();
        }
示例#2
0
        private void closeButton_Click(object sender, EventArgs e)
        {
            var morfForm = new MorphologyForm(_inputImage, 1);

            morfForm.Show();
            morfForm.CloseImage();
        }
示例#3
0
        private void ErosionButton_Click(object sender, EventArgs e)
        {
            var morfForm = new MorphologyForm(_inputImage, Convert.ToInt32(eroziumCoef.Text));

            morfForm.Show();
            morfForm.Erosion();
        }