|
|
| CameraCalib (size_t numGenScans) |
| | Constructor. Sets up graphics card for CUDA, sets transform type, camera type and metric type.
|
| |
|
bool | getIfPanoramic (size_t idx) |
| | Gets if the camera is panoramic.
|
| |
|
void | clearTforms (void) |
| | Clears all the transforms.
|
| |
|
void | clearIndices (void) |
| | Clear indicies.
|
| |
|
void | clearExtras (void) |
| | Clears extras (in this case the camera)
|
| |
|
void | addCameraIndices (std::vector< size_t > &cameraIdxIn) |
| | Adds the cameras indecies relating cameras to images.
|
| |
|
void | addCamera (thrust::host_vector< float > &cameraIn, boolean panoramic) |
| | Adds a camera onto the end of stored cameras.
|
| |
|
void | addTform (thrust::host_vector< float > &tformIn) |
| | Adds transform onto end of stored transforms.
|
| |
|
float | evalMetric (void) |
| | Calculates the metrics value for the given data.
|
| |
|
void | generateImage (thrust::device_vector< float > &image, size_t width, size_t height, size_t dilate, size_t idx, bool imageColour) |
| | Outputs a render of the current alignment.
|
| |
|
void | colourScan (float *scan, size_t idx) |
| | Outputs scan coloured by corrosponding image.
|
| |
|
| Calib (size_t numGenScans) |
| | Constructor. Sets up graphics card for CUDA, sets transform type, camera type and metric type.
|
| |
|
size_t | getNumPoints (size_t idx) |
| | Gets number of points in moving scan depth.
|
| |
|
size_t | getNumDim (size_t idx) |
| | Gets the number of dimensions in a moving scan.
|
| |
|
size_t | getImageDepth (size_t idx) |
| | Gets the base image depth.
|
| |
|
size_t | getNumCh (size_t idx) |
| | Gets the number of channels in a moving scan.
|
| |
|
size_t | getNumImages (void) |
| | Gets the number of images.
|
| |
|
size_t | getImageWidth (size_t idx) |
| | Gets the width of an image.
|
| |
|
size_t | getImageHeight (size_t idx) |
| | Gets the height of an image.
|
| |
|
void | clearScans (void) |
| | Clears all the scans, excluding generated ones.
|
| |
|
void | clearImages (void) |
| | Clears all the images.
|
| |
|
void | addScan (std::vector< thrust::host_vector< float >> &ScanLIn, std::vector< thrust::host_vector< float >> &ScanIIn) |
| | Adds scan onto end of stored scans.
|
| |
|
void | addImage (thrust::host_vector< float > &imageIn, size_t height, size_t width, size_t depth) |
| | Adds image onto end of stored images.
|
| |
|
void | addTformIndices (std::vector< size_t > &tformsIdxIn) |
| | Adds the transforms indecies relating tforms to images.
|
| |
|
void | addScanIndices (std::vector< size_t > &scanIdxIn) |
| | Adds the scans indecies relating scans to images.
|
| |
|
void | setSSDMetric (void) |
| | Sets the metric to use SSD for evaluation.
|
| |
|
void | setGOMMetric (void) |
| | Sets the metric to use GOM for evaluation.
|
| |
|
void | setGOMSMetric (void) |
| | Sets the metric to use GOMS for evaluation.
|
| |
|
void | setMIMetric (void) |
| | Sets the metric to use MI for evaluation.
|
| |
|
void | setNMIMetric (void) |
| | Sets the metric to use NMI for evaluation.
|
| |
|
void | setLEVMetric (void) |
| | Sets the metric to use LEV for evaluation.
|
| |
|
void | getBaseImage (thrust::device_vector< float > &image, size_t idx) |
| | Get base image.
|
| |