private StereoImage <Bgr, byte> RemapImage(StereoImage <Bgr, byte> stereoImage) { StereoImage <Bgr, byte> copy = stereoImage.Copy(); StereoCalibration.RemapStereoImage(copy, _viewModel.CalibrationResult); return(copy); }
public StereoImage <Bgr, byte> GetCalibratedStereoImage() { var stereoImage = Model.StereoCamera.GetStereoImage(); if (Model.Calibrated) { StereoCalibration.RemapStereoImage(stereoImage, Model.CalibrationModel.CalibrationResult); } return(stereoImage); }