private static void InitUndistortRectifyMap(CalibrationCameraResult calibrationResult, Size size, out Matrix<float> mapX, out Matrix<float> mapY) { mapX = new Matrix<float>(size); mapY = new Matrix<float>(size); CvInvoke.cvInitUndistortRectifyMap( calibrationResult.IntrinsicParameters.IntrinsicMatrix, calibrationResult.IntrinsicParameters.DistortionCoeffs, calibrationResult.R, calibrationResult.P, mapX, mapY); }
public CalibrationStereoResult(CalibrationSettings settings) { Settings = settings; Camera1Result = new CalibrationCameraResult(); Camera2Result = new CalibrationCameraResult(); Q = new Matrix<double>(4, 4); }