private void menuEdgeDetect_Click(object sender, RoutedEventArgs e)
        {
            EdgeDetectionSettings edgeDetectionSettings = new EdgeDetectionSettings();

            SetOptionsControl(edgeDetectionSettings);

            edgeDetectionSettings.DetectButtonClicked += (string method, bool isColored) =>
            {
                imageData.EdgeDetection(isColored, GetBgrColor());
                UpdateImageContainer();
            };
        }
示例#2
0
 public EdgeDetection(IRenderContext renderContext)
     : base(renderContext)
 {
     normalDepthMapFormat = DefaultNormalDepthMapFormat;
     Settings = EdgeDetectionSettings.Default;
 }