62 #ifndef _HIGHLIGHT_OBSTACLE_H 63 #define _HIGHLIGHT_OBSTACLE_H 104 float adaptiveTerminationPercentage);
122 int32_t numData, int8_t computeGram);
228 #endif // #ifndef _HIGHLIGHT_OBSTACLE_H PTK_Alg_StereoAlgo_obsDetection PTK_Alg_StereoAlgo_createMergedDetection(PTK_Alg_StereoAlgo_ObjectDetectObj *cntxt, PTK_Alg_StereoAlgo_obsDetectionArray *curOda, int32_t startIdx, int32_t endIdx)
Merge detected obstacles.
Stereo algorithm - obstacle detection algorithm context.
Definition: stereo_object_detect.h:336
PTK_Alg_StereoAlgo_obsDetection PTK_Alg_StereoAlgo_getNewDetection(PTK_Alg_StereoAlgo_ObjectDetectObj *cntxt, PTK_Alg_StereoAlgo_lineModel model, int xBeginIdx, int xEndIdx)
Create a new detection object after spliting or merging obstacle.
Stereo algorithm - array of detected obstacels in a frame.
Definition: stereo_object_detect.h:195
PTK_Alg_StereoAlgo_lineModel PTK_Alg_StereoAlgo_computeALineModel(PTK_Alg_StereoAlgo_ObjectDetectObj *cntxt, int32_t startInd, int32_t endInd, int8_t dsf, float inlierTh, float adaptiveTerminationPercentage)
Compute a line model.
void PTK_Alg_StereoAlgo_computePerspectiveForDetection(PTK_Alg_StereoAlgo_ObjectDetectObj *cntxt, PTK_Alg_StereoAlgo_obsDetectionArray *inOda, PTK_Alg_StereoAlgo_obsDetectionArray *outOda)
Correct perspectives of detected obstacles.
PTK_Alg_StereoAlgo_lineModel PTK_Alg_StereoAlgo_fitModelOneLine(PTK_Alg_StereoAlgo_ObjectDetectObj *cntxt, float *A, float *b, int32_t numData, int8_t computeGram)
Fit a line to compute a line model.
void PTK_Alg_StereoAlgo_mergeDetection(PTK_Alg_StereoAlgo_ObjectDetectObj *cntxt, PTK_Alg_StereoAlgo_obsDetectionArray *curOda, PTK_Alg_StereoAlgo_obsDetectionArray *newOda)
split detected obstacles
int32_t PTK_Alg_StereoAlgo_getInliersOneLine(float *dataBuffer[2], int16_t *inlierIdx, PTK_Alg_StereoAlgo_lineModel model, int32_t numData, float inlierTh)
Compute the number of inlier after fitting a line.
void PTK_Alg_StereoAlgo_splitDetection(PTK_Alg_StereoAlgo_ObjectDetectObj *cntxt, PTK_Alg_StereoAlgo_obsDetectionArray *curOda, PTK_Alg_StereoAlgo_obsDetectionArray *newOda)
split detected obstacles
Stereo algorithm - line model for detected obstacle bounding box.
Definition: stereo_object_detect.h:150
Stereo algorithm - properties of a detected obstacles.
Definition: stereo_object_detect.h:163
void PTK_Alg_StereoAlgo_removeFarDetection(PTK_Alg_StereoAlgo_ObjectDetectObj *cntxt, PTK_Alg_StereoAlgo_obsDetectionArray *curOda, PTK_Alg_StereoAlgo_obsDetectionArray *newOda)
Remove too far obstacles.