Used for loading intrinsic parameters of the cameras. More...
#include <RL_IntrinsicParams.h>
Public Member Functions | |
RL_IntrinsicParams () | |
Constructor: Initializes the Intrinsic parameter object. | |
bool | ReadFromFile (unsigned id, const char *path) |
ReadFromFile: Reads the intrinsics from "intr_<serialnumber>.xml" file. | |
void | WriteToFile (unsigned id, const char *path) |
WriteToFile: Writes the intrinsics to "intr_<serialnumber>.xml" file. | |
Public Attributes | |
CvMat | CameraMatrix |
CvMat | Distortion |
CvSize | imageSize |
double | _camera [3][3] |
double | _dist_coeffs [5] |
Used for loading intrinsic parameters of the cameras.
bool RL_IntrinsicParams::ReadFromFile | ( | unsigned | id, |
const char * | path | ||
) |
ReadFromFile: Reads the intrinsics from "intr_<serialnumber>.xml" file.
unsigned | id - serial number of the camera. |
const | char* path - path of intrinsic xml file. |
void RL_IntrinsicParams::WriteToFile | ( | unsigned | id, |
const char * | path | ||
) |
WriteToFile: Writes the intrinsics to "intr_<serialnumber>.xml" file.
unsigned | id - serial number of the camera. |
const | char* path - path of where the intrinsic xml file is going to be. |