Example #1
0
        private void btnDifference_Click(object sender, RoutedEventArgs e)
        {
            if (SelectedVot == null)
            {
                return;
            }

            SelectedVot.DetectionStep(new Detection.Step()
            {
                Type = Detection.StepType.DifferenceEdgeDetection
            });
            Preview();
        }
Example #2
0
        private void btnHoughLines_Click(object sender, RoutedEventArgs e)
        {
            if (SelectedVot == null)
            {
                return;
            }

            SelectedVot.DetectionStep(new Detection.Step()
            {
                Type = Detection.StepType.HoughLines
            });
            Preview();
        }
Example #3
0
        private void btnCanny_Click(object sender, RoutedEventArgs e)
        {
            if (SelectedVot == null)
            {
                return;
            }

            SelectedVot.DetectionStep(new Detection.Step()
            {
                Type = Detection.StepType.CannyFilter
            });
            Preview();
        }