Ejemplo n.º 1
0
        // EDGE DETECTIONS

        //add or remove the edge detection Kirsh
        private void ToggleKirsch(object sender, EventArgs e)
        {
            if (checkBoxEdgeKirsh.Checked)
            {
                imageController.AddEdgeDetection(EDGE_KIRSCH);
            }
            else
            {
                imageController.RemoveEdgeDetection(EDGE_KIRSCH);
            }
            UpdatePreviewImage();
        }