27 #ifndef TRICLOPSRECTIFY_H 28 #define TRICLOPSRECTIFY_H 578 #endif // #ifndef TRICLOPSRECTIFY_H Color image pair for stereo computation.
Definition: triclopstype.h:133
enum TriclopsError triclopsRectifyColorImage(TriclopsContext context, TriclopsCamera camera, TriclopsColorStereoPair *input, TriclopsColorImage *output)
Rectifies a raw color image.
Definition: triclopsrectify.cpp:71
32-bit RGBU color image structure
Definition: triclopstype.h:113
enum TriclopsError triclopsGetCalAspectRatio(const TriclopsContext context, float *aspectRatio)
Retrieves the aspect ratio of the calibrated camera.
Definition: triclopsrectify.cpp:345
Region of Interest (ROI) structure.
Definition: triclopstype.h:144
TriclopsCamera
Sensor definition enumerator.
Definition: triclopsenum.h:136
enum TriclopsError triclopsGetOptimalNumRows(const TriclopsContext context, int ncols, int *nrows)
Determines the optimal number of rows.
Definition: triclopsrectify.cpp:359
enum TriclopsError triclopsGetResolution(const TriclopsContext context, int *nrows, int *ncols)
Retrieves the output resolution.
Definition: triclopsrectify.cpp:214
TriclopsError
Error enumerator.
Definition: triclopserror.h:46
void * TriclopsContext
Wrapper for the internal C++ Triclops context.
Definition: triclopstype.h:54
enum TriclopsError triclopsSetSourceResolution(TriclopsContext context, int nSrcRows, int nSrcCols)
Sets the resolution of the raw images that the library will be processing later.
Definition: triclopsrectify.cpp:93
enum TriclopsError triclopsGetRectify(const TriclopsContext context, TriclopsBool *on)
Retrieves the state of the rectification feature.
Definition: triclopsrectify.cpp:249
enum TriclopsError triclopsUnrectifyPixel(const TriclopsContext context, TriclopsCamera camera, float rowIn, float colIn, float *rowOut, float *colOut)
Converts a pixel location from the rectified image to that of the unrectified image.
Definition: triclopsrectify.cpp:324
enum TriclopsError triclopsRectifyPixel(const TriclopsContext context, TriclopsCamera camera, float rowIn, float colIn, float *rowOut, float *colOut)
Converts a pixel location from the unrectified image to that of the rectified image.
Definition: triclopsrectify.cpp:296
enum TriclopsError triclopsSetResolution(TriclopsContext context, int nrows, int ncols)
Sets the resolution of the resultant images. This includes rectified, disparity and edge images...
Definition: triclopsrectify.cpp:108
enum TriclopsError triclopsGetBaseline(const TriclopsContext context, float *baseline)
Retrieves the baseline of the cameras.
Definition: triclopsrectify.cpp:263
enum TriclopsError triclopsSetRectify(TriclopsContext context, TriclopsBool on)
Turns rectification on or off.
Definition: triclopsrectify.cpp:235
enum TriclopsError triclopsPrepareRectificationData(TriclopsContext context, int nrows, int ncols, int nInputRows, int nInputCols)
Sets the resolution of the resultant images and prepare data for rectrification.
Definition: triclopsrectify.cpp:122
enum TriclopsError triclopsGetRoi(TriclopsContext context, TriclopsROI *roi)
Retrieves the region of interest.
Definition: triclopsrectify.cpp:154
enum TriclopsError triclopsGetOptimalNumColumns(const TriclopsContext context, int nrows, int *ncols)
Determines the optimal number of columns.
Definition: triclopsrectify.cpp:374
enum TriclopsError triclopsGetRoiOn(TriclopsContext context, TriclopsBool *roiOn)
Retrieves the state of the rectification in a region of interest.
Definition: triclopsrectify.cpp:184
enum TriclopsError triclopsSetRoiOn(TriclopsContext context, TriclopsBool roiOn)
Enables rectification in a region of interest.
Definition: triclopsrectify.cpp:169
enum TriclopsError triclopsSetRoi(TriclopsContext context, TriclopsROI roi)
Sets the region of interest.
Definition: triclopsrectify.cpp:140
enum TriclopsError triclopsGetSourceResolution(const TriclopsContext context, int *nSrcRows, int *nSrcCols)
Retrieves the current resolution for raw images.
Definition: triclopsrectify.cpp:199
int TriclopsBool
Boolean type definition kept for legacy purposes.
Definition: triclopstype.h:47
enum TriclopsError triclopsGetFocalLength(const TriclopsContext context, float *focallength)
Retrieves the focal length of the cameras.
Definition: triclopsrectify.cpp:277