Triclops SDK
4.0.3.0
Classes | Typedefs | Functions
triclops3d.h File Reference

3D operations API More...

Include dependency graph for triclops3d.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TriclopsImage3d
 Three dimensional data structure. More...
 
struct  TriclopsPoint3d
 Three dimensional point structure. More...
 
struct  TriclopsTransform
 Quaternion structure. More...
 

Typedefs

typedef struct TriclopsImage3d TriclopsImage3d
 Three dimensional data structure. More...
 
typedef struct TriclopsPoint3d TriclopsPoint3d
 Three dimensional point structure. More...
 

Functions

enum TriclopsError triclopsCreateImage3d (TriclopsContext context, TriclopsImage3d **ppimage)
 Initialises a 3D image structure. More...
 
void triclopsDestroyImage3d (TriclopsImage3d **ppimage)
 Destroys a 3D image structure. More...
 
enum TriclopsError triclopsExtractImage3d (TriclopsContext context, TriclopsImage3d *pimage)
 Generates a 3D point cloud in camera space from the provided context. More...
 
enum TriclopsError triclopsExtractWorldImage3d (TriclopsContext context, TriclopsImage3d *pimage)
 Generates a 3D point in world space cloud from the provided context. More...
 
enum TriclopsError triclopsGetImageCenter (const TriclopsContext context, float *centerRow, float *centerCol)
 Returns the optical center for pinhole calculations.It is important that the context already has the resolution set. If triclopsSetResolution is not set, the returned value cannot be used for calculations. This image center can be used as the position in the image plane of the optical center for pinhole camera calculations. More...
 
enum TriclopsError triclopsGetTransformFromFile (const char *fileName, TriclopsTransform *transform)
 Loads a 3D world coordinates rototranslation matrix from memory. More...
 
enum TriclopsError triclopsGetTriclopsToWorldTransform (TriclopsContext context, TriclopsTransform *transform)
 Gets the 3D world coordinates rototranslation matrix to a TriclopsContext. More...
 
enum TriclopsError triclopsRCD16ToWorldXYZ (TriclopsContext context, int row, int col, unsigned short disp, float *x, float *y, float *z)
 Converts a 2D pixel coordinate in disparity space to a 3D point in world coordinate system. More...
 
enum TriclopsError triclopsRCD16ToXYZ (TriclopsContext context, int row, int col, unsigned short disp, float *x, float *y, float *z)
 Converts a 2D pixel coordinate in disparity space to a 3D point in camera coordinate system. More...
 
enum TriclopsError triclopsRCDFloatToWorldXYZ (TriclopsContext context, float row, float col, float disp, float *x, float *y, float *z)
 Converts a 2D pixel coordinate in disparity space to a 3D point in world coordinate system. More...
 
enum TriclopsError triclopsRCDFloatToXYZ (TriclopsContext context, float row, float col, float disp, float *x, float *y, float *z)
 Converts a 2D pixel coordinate in disparity space to a 3D point in camera coordinate system. More...
 
enum TriclopsError triclopsRCDToWorldXYZ (TriclopsContext context, float row, float col, float disp, float *x, float *y, float *z)
 Converts a 2D pixel coordinate in disparity space to a 3D point in world coordinate system. More...
 
enum TriclopsError triclopsRCDToXYZ (TriclopsContext context, float row, float col, float disp, float *x, float *y, float *z)
 Converts a 2D pixel coordinate in disparity space to a 3D point in camera coordinate system. More...
 
enum TriclopsError triclopsSetTriclopsToWorldTransform (TriclopsContext context, const TriclopsTransform *transform)
 Sets the 3D world coordinates rototranslation matrix to a TriclopsContext. More...
 
enum TriclopsError triclopsWorldXYZToRCD (TriclopsContext context, float x, float y, float z, float *row, float *col, float *disp)
 Converts a 3D point in world coordinate system to a 2D pixel coordinate in disparity space. More...
 
enum TriclopsError triclopsWriteTransformToFile (const char *fileName, const TriclopsTransform *transform)
 Saves a 3D world coordinates rototranslation matrix to memory. More...
 
enum TriclopsError triclopsXYZToRCD (TriclopsContext context, float x, float y, float z, float *row, float *col, float *disp)
 Converts a 3D point in camera coordinate system to a 2D pixel coordinate in disparity space. More...
 

Detailed Description

3D operations API

Contact Support Triclops SDK Programmer's Guide and API Reference