private void ApplyButton_Click(object sender, EventArgs e) { Canny canny = new Canny(); canny.setCannyInput(imageInput); _homeform.showImage(canny.ApplyCanny((double)numericthreshold.Value, (double)numericthresholdlink.Value)); }
private void cannyToolStripMenuItem_Click(object sender, EventArgs e) { Canny canny = new Canny(); canny.setCannyInput(_ImageInput); imageBox1.Image = canny.ApplyCanny(); }