private void DilatateButton_Click(object sender, EventArgs e) { var morfForm = new MorphologyForm(_inputImage, Convert.ToInt32(dilatateCoef.Text)); morfForm.Show(); morfForm.Dilatate(); }
private void closeButton_Click(object sender, EventArgs e) { var morfForm = new MorphologyForm(_inputImage, 1); morfForm.Show(); morfForm.CloseImage(); }
private void ErosionButton_Click(object sender, EventArgs e) { var morfForm = new MorphologyForm(_inputImage, Convert.ToInt32(eroziumCoef.Text)); morfForm.Show(); morfForm.Erosion(); }