Multimodal-Calib
Code for performing 3D-2D and 2D-2D multimodal calibration
|
Holds the transform matrix and methods for applying it to the data. More...
#include <Tforms.h>
Classes | |
struct | tform |
structre holding infomation about each camera More... | |
Public Member Functions | |
void | addTforms (thrust::device_vector< float > tformDIn, size_t tformSizeX, size_t tformSizeY) |
Adds new transformation matricies. | |
void | addTforms (thrust::host_vector< float > tformDIn, size_t tformSizeX, size_t tformSizeY) |
Adds new transformation matricies. | |
void | removeAllTforms (void) |
Clear all the transforms. | |
float * | getTformP (size_t idx) |
Gets a pointer to the transformation matrices. More... | |
size_t | getTformSize (size_t idx) |
Get size of transform. More... | |
virtual void | transform (ScanList *scans, Cameras *cam, GenList *gen, size_t tformIdx, size_t camIdx, size_t scanIdx, size_t genIdx) |
Transforms the scans coordinates. More... | |
Protected Attributes | |
std::vector< tform > | tformD |
Vector storing transform matrices. | |
Holds the transform matrix and methods for applying it to the data.
float * Tforms::getTformP | ( | size_t | idx | ) |
Gets a pointer to the transformation matrices.
/param index of matrix
size_t Tforms::getTformSize | ( | size_t | idx | ) |
Get size of transform.
/param index of matrix
|
virtual |
Transforms the scans coordinates.
scans | the original scans |
cam | holds cameras needed for transform |
gen | holds generated scan values |
tformIdx | index of transform to use |
camIdx | index of camera to use |
scanIdx | index of scan to use |
genIdx | index of generated scan to use |
Reimplemented in AffineTforms, and CameraTforms.