示例#1
0
        private StereoImage <Bgr, byte> RemapImage(StereoImage <Bgr, byte> stereoImage)
        {
            StereoImage <Bgr, byte> copy = stereoImage.Copy();

            StereoCalibration.RemapStereoImage(copy, _viewModel.CalibrationResult);
            return(copy);
        }
示例#2
0
        public StereoImage <Bgr, byte> GetCalibratedStereoImage()
        {
            var stereoImage = Model.StereoCamera.GetStereoImage();

            if (Model.Calibrated)
            {
                StereoCalibration.RemapStereoImage(stereoImage, Model.CalibrationModel.CalibrationResult);
            }
            return(stereoImage);
        }