private void SimpleGrip_OnHistogramResultPoints(object sender, Infrastructure.FrameCapture.CaptureArgs <List <Point> > e) { chartResLink.Dispatcher.Invoke(() => { chartResLink.BeginInit(); PointsRes = e.Result; chartResLink.EndInit(); }); }
private void Lab3Grip_OnSobelResult(object sender, Infrastructure.FrameCapture.CaptureArgs <Emgu.CV.Image <Emgu.CV.Structure.Bgr, float> > e) { imageSrcLink.Dispatcher.Invoke(() => { SobelResult = e.Result.ToBitmap().Convert(); }); }
private void SimpleGrip_OnResultImage(object sender, Infrastructure.FrameCapture.CaptureArgs <Image <Bgr, float> > e) { imageResLink.Dispatcher.Invoke(() => { ContextChanged = e.Result.ToBitmap().Convert(); }); }