Esempio n. 1
0
        private StereoImage <Bgr, byte> RemapImage(StereoImage <Bgr, byte> stereoImage)
        {
            StereoImage <Bgr, byte> copy = stereoImage.Copy();

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

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