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(); }; }
public EdgeDetection(IRenderContext renderContext) : base(renderContext) { normalDepthMapFormat = DefaultNormalDepthMapFormat; Settings = EdgeDetectionSettings.Default; }