![]() |
Perception Tool Kit (PTK) API Guide
|
Stereo OG Map creation process - Object struct.

Data Fields | |
| int16_t | numObject |
| uint8_t * | classId |
| int16_t * | count |
| int16_t * | maxHeight |
| int16_t * | minHeight |
| int16_t * | maxObjXGrid |
| int16_t * | minObjXGrid |
| int16_t * | maxObjYGrid |
| int16_t * | minObjYGrid |
| uint8_t * | merged |
| int16_t * | width |
| int16_t * | height |
| float * | centerX |
| float * | centerY |
| int16_t * | age |
| uint8_t * | visible |
| uint8_t * | invisibleSpan |
| int16_t * | correspondence |
| float * | dx |
| float * | dy |
| int16_t PTK_Alg_StereoOG_Object::numObject |
the Number of objects
| uint8_t* PTK_Alg_StereoOG_Object::classId |
Class Id of an object
| int16_t* PTK_Alg_StereoOG_Object::count |
Number of points belonging to an object
| int16_t* PTK_Alg_StereoOG_Object::maxHeight |
Max height of points
| int16_t* PTK_Alg_StereoOG_Object::minHeight |
Min height of points
| int16_t* PTK_Alg_StereoOG_Object::maxObjXGrid |
Min X grid index that an object occupies
| int16_t* PTK_Alg_StereoOG_Object::minObjXGrid |
Max X grid index that an object occupies
| int16_t* PTK_Alg_StereoOG_Object::maxObjYGrid |
Min Y grid index that an object occupies
| int16_t* PTK_Alg_StereoOG_Object::minObjYGrid |
Max Y grid index that an object occupies
| uint8_t* PTK_Alg_StereoOG_Object::merged |
1 if an object is merged to another
| int16_t* PTK_Alg_StereoOG_Object::width |
Width of object's on OG map in the unit of grid
| int16_t* PTK_Alg_StereoOG_Object::height |
Height of object's on OG map in the unit of grid
| float* PTK_Alg_StereoOG_Object::centerX |
Center X of object's on OG map in the unit of grid
| float* PTK_Alg_StereoOG_Object::centerY |
Center Y of object's on OG map in the unit of grid
| int16_t* PTK_Alg_StereoOG_Object::age |
Object's age, i.e. the number of frames for which object has been observed It should be larger than a threshold for an object to be a real object
| uint8_t* PTK_Alg_StereoOG_Object::visible |
1 if an object is visible in the current frame
| uint8_t* PTK_Alg_StereoOG_Object::invisibleSpan |
the number of frames for which object hasn't been observed if it is larger than a threshold, the object is removed
| int16_t* PTK_Alg_StereoOG_Object::correspondence |
Corresponing object index in previoue/current frame
| float* PTK_Alg_StereoOG_Object::dx |
Object's horizontal movement between frames
| float* PTK_Alg_StereoOG_Object::dy |
Object's vertical movement between frames