63 #ifndef TIVX_STEREO_KERNELS_H_ 64 #define TIVX_STEREO_KERNELS_H_ 67 #include <VX/vx_kernels.h> 69 #include <perception/perception.h> 72 #include <perception/algos.h> 96 #define TIVX_MODULE_NAME_STEREO "stereo" 102 #define TIVX_KERNEL_POINT_CLOUD_CREATION_NAME "com.ti.stereo.point_cloud_creation" 107 #define TIVX_KERNEL_OCCUPANCY_GRID_DETECTION_NAME "com.ti.stereo.occupancy_grid_detection" 112 #define TIVX_KERNEL_SDE_HISTOGRAM_VISUALIZE_NAME "com.ti.stereo.sde_histogram_visualize" 117 #define TIVX_KERNEL_SDE_TRIANGULATION_NAME "com.ti.stereo.sde_triangulation" 122 #define TIVX_KERNEL_DISPARITY_MERGE_NAME "com.ti.stereo.disparity_merge" 127 #define TIVX_KERNEL_MEDIAN_FILTER_NAME "com.ti.stereo.median_filter" 132 #define TIVX_KERNEL_HOLE_FILLING_NAME "com.ti.stereo.hole_filling" 137 #define TIVX_KERNEL_EXTRACT_DISPARITY_CONFIDENCE_NAME "com.ti.stereo.extract_disparity_confidence" 142 #define TIVX_KERNEL_GROUND_ESTIMATION_NAME "com.ti.stereo.ground_estimation" 147 #define TIVX_KERNEL_OBSTACLE_DETECTION_NAME "com.ti.stereo.obstacle_detection" 152 #define TIVX_KERNEL_SDE_DISPARITY_VISUALIZE_NAME "com.ti.stereo.sde_disparity_visualize" 158 #define TIVX_KERNEL_GROUND_ESTIMATION_RESET (0U) 163 #define TIVX_KERNEL_OCCUPANCY_GRID_DETECTION_RESET (1U) PTK_Alg_StereoOG_CreatePCAllParams tivx_ss_sde_point_cloud_params_t
Point cloud creation parameters for OG based obstacle detection.
Definition: tivx_stereo_kernels.h:299
vx_int8 disparity_only
Definition: tivx_stereo_kernels.h:212
vx_uint8 vis_confidence
Definition: tivx_stereo_kernels.h:213
vx_int16 disparity_max
Definition: tivx_stereo_kernels.h:211
vx_int16 disparity_min
Definition: tivx_stereo_kernels.h:210
void tivxRegisterStereoTargetKernels(void)
Function to register STEREO Kernels on the c6x Target.
vx_float32 lowLimitX
Definition: tivx_stereo_kernels.h:194
vx_uint16 dist_center_x
Definition: tivx_stereo_kernels.h:178
vx_uint8 subSampleRatio
Definition: tivx_stereo_kernels.h:192
PTK_Alg_StereoPP_HoleFilling_configParams tivx_hole_filling_params_t
Disparity hole filling algorithm parameters.
Definition: tivx_stereo_kernels.h:242
vx_uint8 thConfidence
Definition: tivx_stereo_kernels.h:193
vx_float32 lowLimitZ
Definition: tivx_stereo_kernels.h:198
vx_uint8 usePCConfig
Definition: tivx_stereo_kernels.h:191
void tivxStereoLoadKernels(vx_context context)
Used for the application to load the stereo kernels into the context.
PTK_Alg_StereoAlgo_obsBox tivx_obstacle_pos_t
2D bounding box structure
Definition: tivx_stereo_kernels.h:280
void tivxUnRegisterStereoTargetKernels(void)
Function to un-register STEREO Kernels on the Target.
void tivxUnRegisterStereoTargetArmKernels(void)
Function to un-register Stereo Kernels on the ARM Target.
PTK_Alg_StereoOG_CreateOGAllParams tivx_ss_sde_og_detection_params_t
Occupancy Grid based detection configuration parameters.
Definition: tivx_stereo_kernels.h:308
Stereo 3D point cloud parameters.
Definition: tivx_stereo_kernels.h:190
vx_float32 lowLimitY
Definition: tivx_stereo_kernels.h:196
Stereo camera parameters.
Definition: tivx_stereo_kernels.h:173
void tivxRegisterStereoTargetC7XKernels(void)
Function to register Stereo Kernels on the c7x Target.
vx_uint16 dist_center_y
Definition: tivx_stereo_kernels.h:179
vx_float32 highLimitY
Definition: tivx_stereo_kernels.h:197
void tivxStereoUnLoadKernels(vx_context context)
Used for the application to unload the stereo kernels from the context.
void tivxRegisterStereoTargetArmKernels(void)
Function to register Stereo Kernels on the ARM Target.
void tivxUnRegisterStereoTargetC7XKernels(void)
Function to un-register Stereo Kernels on the c7x Target.
vx_float32 baseline
Definition: tivx_stereo_kernels.h:174
PTK_Alg_StereoAlgo_GroundEstimation_allParams tivx_ground_estimation_params_t
Stereo based grond plane estimation parameters.
Definition: tivx_stereo_kernels.h:233
vx_float32 focal_length
Definition: tivx_stereo_kernels.h:177
void tivxStereoPrintPerformance(vx_perf_t performance, uint32_t numPixels, const char *testName)
Used to print the performance of the kernels.
PTK_Alg_StereoAlgo_groundModelParams_Array tivx_ground_model_params_t
Ground plane model structure.
Definition: tivx_stereo_kernels.h:270
vx_float32 scale_x
Definition: tivx_stereo_kernels.h:175
PTK_Alg_StereoAlgo_driveSpace tivx_drivable_space_t
Drivable free space structure.
Definition: tivx_stereo_kernels.h:289
PTK_Alg_StereoAlgo_ObjectDetect_allParams tivx_obstacle_detection_params_t
Stereo based obstacle detection parameters.
Definition: tivx_stereo_kernels.h:223
vx_float32 highLimitX
Definition: tivx_stereo_kernels.h:195
PTK_Alg_StereoPP_DisparityMerge_configParams tivx_disparity_merge_params_t
Disparity merge algorithm parameters.
Definition: tivx_stereo_kernels.h:260
PTK_Alg_StereoPP_MedianFilter_configParams tivx_median_filter_params_t
Disparity median filtering algorithm parameters.
Definition: tivx_stereo_kernels.h:251
PTK_Alg_StereoOG_obs3DBox tivx_ss_sde_obs_3d_bound_box_t
3D obstacle bounding box structure
Definition: tivx_stereo_kernels.h:317
vx_float32 highLimitZ
Definition: tivx_stereo_kernels.h:199
vx_float32 scale_y
Definition: tivx_stereo_kernels.h:176
Stereo disparity visualization parameters.
Definition: tivx_stereo_kernels.h:209