|
Multimodal-Calib
Code for performing 3D-2D and 2D-2D multimodal calibration
|
holds the sensors images More...
#include <ImageList.h>
Public Member Functions | |
| ImageList (void) | |
| Constructor. | |
| ~ImageList (void) | |
| Destructor. | |
| size_t | getHeight (size_t idx) |
| Gets the height of the image. More... | |
| size_t | getWidth (size_t idx) |
| Gets the width of the image. More... | |
| size_t | getDepth (size_t idx) |
| Gets the depth of the image. More... | |
| size_t | getNumImages (void) |
| Gets the number of images stored. | |
| thrust::device_vector< float > | getImage (size_t idx) |
| Gets the image. More... | |
| float * | getIP (size_t idx, size_t depthIdx) |
| Gets the pointer of the image data array. More... | |
| void | addImage (thrust::device_vector< float > &imageDIn, size_t height, size_t width, size_t depth) |
| Adds an image to the list. More... | |
| void | addImage (thrust::host_vector< float > &imageDIn, size_t height, size_t width, size_t depth) |
| Adds an image to the list. More... | |
| void | removeImage (size_t idx) |
| Removes an image from the list. More... | |
| void | removeLastImage () |
| Removes the last image on the list. | |
| void | removeAllImages () |
| Removes all of the images in the list. | |
| void | interpolateImage (ScanList *scans, GenList *gen, size_t imageIdx, size_t scanIdx, size_t genIdx, boolean linear) |
| Interpolates specified image at given locations. More... | |
holds the sensors images
| void ImageList::addImage | ( | thrust::device_vector< float > & | imageDIn, |
| size_t | height, | ||
| size_t | width, | ||
| size_t | depth | ||
| ) |
Adds an image to the list.
| imageDIn | input image data |
| height | height of image |
| width | width of image |
| void ImageList::addImage | ( | thrust::host_vector< float > & | imageDIn, |
| size_t | height, | ||
| size_t | width, | ||
| size_t | depth | ||
| ) |
Adds an image to the list.
| imageDIn | input image data |
| height | height of image |
| width | width of image |
| size_t ImageList::getDepth | ( | size_t | idx | ) |
Gets the depth of the image.
/param idx index of image
| size_t ImageList::getHeight | ( | size_t | idx | ) |
Gets the height of the image.
/param idx index of image
| thrust::device_vector< float > ImageList::getImage | ( | size_t | idx | ) |
Gets the image.
/param idx index of image
| float * ImageList::getIP | ( | size_t | idx, |
| size_t | depthIdx | ||
| ) |
Gets the pointer of the image data array.
/param idx index of image
| size_t ImageList::getWidth | ( | size_t | idx | ) |
Gets the width of the image.
/param idx index of image
| void ImageList::interpolateImage | ( | ScanList * | scans, |
| GenList * | gen, | ||
| size_t | imageIdx, | ||
| size_t | scanIdx, | ||
| size_t | genIdx, | ||
| boolean | linear | ||
| ) |
Interpolates specified image at given locations.
| scans | list of scans with points to interpolate at |
| gen | list of generated images to save results to |
| imageIdx | the index of the image |
| scanIdx | the index of the scan to use |
| genIdx | the index to save generated points at |
| linear | true for linear interpolation, false for nearset neighbour |
| void ImageList::removeImage | ( | size_t | idx | ) |
Removes an image from the list.
| idx | index of image to remove |
1.8.5