Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 private void whitethreshold_trackbar_Scroll(object sender, EventArgs e)
 {
     _white_threshold          = whitethreshold_trackbar.Value;
     whitethreshold_label.Text = "White Threshold :" + _white_threshold.ToString();
     _homeform.showImage(sobel.ApplySobel((int)xordernumericUpDown.Value, (int)yordernumericUpDown.Value, (int)apetureSizenumericUpDown.Value, _gray_threshold, _white_threshold));
 }