code/main.cpp
/**
 *Reads the calibration paramaters from the CalibrationParamters file
 *@param cameraMatrix pointer to the camara Matrix to recieve the new data
 *@param distCoeffs pointer to the matrix that will hold the distortion Coefficients
*/
Reads the calibration paramaters from the CalibrationParamters file
@param cameraMatrix pointer to the camara Matrix to recieve the new data
@param distCoeffs pointer to the matrix that will hold the distortion Coefficients
Reads the calibration paramaters from the CalibrationParamters file @param cameraMatrix pointer to the camara Matrix to recieve the new data @param distCoeffs pointer to the matrix that will hold the distortion Coefficients
void readCalibrationParams(cv::Mat *cameraMatrix, cv::Mat *distCoeffs){
        cv::FileStorage fs( "../CalibrationParameters", cv::FileStorage::READ );
        fs["Camera_Matrix" ] >> *cameraMatrix;
        fs["Distortion_Coefficients"] >> *distCoeffs;
        fs.release();
}
void readCalibrationParams ( cv :: Mat * cameraMatrix , cv :: Mat * distCoeffs ) { cv :: FileStorage fs ( " " , cv :: FileStorage :: READ ) ; fs [ " " ] >> * cameraMatrix ; fs [ " " ] >> * distCoeffs ; fs . release ( ) ; }
Reads the calibration paramaters from the CalibrationParamters file
@param cameraMatrix pointer to the camara Matrix to recieve the new data
@param distCoeffs pointer to the matrix that will hold the distortion Coefficients
Reads the calibration paramaters from the CalibrationParamters file @param cameraMatrix pointer to the camara Matrix to recieve the new data @param distCoeffs pointer to the matrix that will hold the distortion Coefficients