private void menuSettingsEDMCanny_Click(object sender, EventArgs e) { _edgeDetector = new CannyEdgeDetector(); _detectionMethod = TDetectionMethod.CANNY; cameraWindow.Invalidate(); }
private void menuSettingsEDMSobel_Click(object sender, EventArgs e) { _edgeDetector = new SobelEdgeDetector(); _detectionMethod = TDetectionMethod.SOBEL; cameraWindow.Invalidate(); }
private void menuSettingsEDMHomogenity_Click(object sender, EventArgs e) { _edgeDetector = new HomogenityEdgeDetector(); _detectionMethod = TDetectionMethod.HOMOGENITY; cameraWindow.Invalidate(); }
private void menuSettingsEDMDifference_Click(object sender, EventArgs e) { _edgeDetector = new DifferenceEdgeDetector(); _detectionMethod = TDetectionMethod.DIFFERENCE; cameraWindow.Invalidate(); }
private void menuSettingsEDMNone_Click(object sender, EventArgs e) { _edgeDetector = null; _detectionMethod = TDetectionMethod.NONE; }