コード例 #1
0
 private void menuSettingsEDMCanny_Click(object sender, EventArgs e)
 {
     _edgeDetector    = new CannyEdgeDetector();
     _detectionMethod = TDetectionMethod.CANNY;
     cameraWindow.Invalidate();
 }
コード例 #2
0
 private void menuSettingsEDMSobel_Click(object sender, EventArgs e)
 {
     _edgeDetector    = new SobelEdgeDetector();
     _detectionMethod = TDetectionMethod.SOBEL;
     cameraWindow.Invalidate();
 }
コード例 #3
0
 private void menuSettingsEDMHomogenity_Click(object sender, EventArgs e)
 {
     _edgeDetector    = new HomogenityEdgeDetector();
     _detectionMethod = TDetectionMethod.HOMOGENITY;
     cameraWindow.Invalidate();
 }
コード例 #4
0
 private void menuSettingsEDMDifference_Click(object sender, EventArgs e)
 {
     _edgeDetector    = new DifferenceEdgeDetector();
     _detectionMethod = TDetectionMethod.DIFFERENCE;
     cameraWindow.Invalidate();
 }
コード例 #5
0
 private void menuSettingsEDMNone_Click(object sender, EventArgs e)
 {
     _edgeDetector    = null;
     _detectionMethod = TDetectionMethod.NONE;
 }