Perception Tool Kit (PTK) API Guide
create_pc.h File Reference
Include dependency graph for create_pc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PTK_Alg_StereoOG_CreatePCConfigParams
 Stereo PC creation process - config Parameters. More...
 
struct  PTK_Alg_StereoOG_CreatePCCamParams
 Stereo PC creation process - camera Parameters. More...
 
struct  PTK_Alg_StereoOG_CreatePCAllParams
 Stereo PC creation process - All algorithm parameters. More...
 
struct  PTK_Alg_StereoOG_CreatePCObj
 Stereo PC creation process - PC creation context. More...
 

Macros

#define NUM_FRAC_BITS   4
 

Functions

void PTK_Alg_StereoOG_CreatePCSetParams (PTK_Alg_StereoOG_CreatePCAllParams *params, PTK_Alg_StereoOG_CreatePCObj *cntxt)
 Initialize PC creation parameters. More...
 
int32_t PTK_Alg_StereoOG_CreatePCConfig (PTK_Alg_StereoOG_CreatePCAllParams *params, PTK_Api_MemoryReq *memReq)
 Computes the memory requirements based on the given algorithm configuration parameters. More...
 
PTK_AlgHandle PTK_Alg_StereoOG_CreatePCInit (PTK_Alg_StereoOG_CreatePCAllParams *params, const PTK_Api_MemoryRsp *memRsp)
 Initializes the library based on the given algorithm configuration parameters and allocated memory blocks. More...
 
int32_t PTK_Alg_StereoOG_CreatePCGetMem (PTK_Alg_StereoOG_CreatePCObj *cntxt, uint8_t *memPtr)
 Get memory size. More...
 
void PTK_Alg_StereoOG_createPC (PTK_Alg_StereoOG_CreatePCObj *cntxt, int16_t *disparity, uint8_t *ssmap, PTK_PointCloud *pc)
 Root function to creaet point clouds from disparity map and semantic segmantation map. More...
 
void PTK_Alg_StereoOG_downsampleDisparity (PTK_Alg_StereoOG_CreatePCConfigParams *config, int16_t *disparity, float *dsDisparity)
 Downsample input disparity map. More...
 
void PTK_Alg_StereoOG_downsampleSSMap (PTK_Alg_StereoOG_CreatePCConfigParams *config, uint8_t *ssmap, uint8_t *dsSSMap)
 Downsample input semantic segmentation map. More...
 
int32_t PTK_Alg_StereoOG_triangulate (PTK_Alg_StereoOG_CreatePCAllParams *params, float *dsDisparity, uint8_t *dsSSMap, PTK_PointCloud *pc)
 Triangulate points using downsampled disparity and semantic segmentation to create point cloud. More...
 
int8_t PTK_Alg_StereoOG_classToPC (uint8_t classId)
 Check if the point with a particular class should be triangulated. More...
 
int8_t PTK_Alg_StereoOG_classToDetect (uint8_t classId)
 Check if a particular class of object should be detected. More...
 

Macro Definition Documentation

◆ NUM_FRAC_BITS

#define NUM_FRAC_BITS   4

SDE disparity fractional bits