Vision Apps User Guide
tivx_stereo_kernels.h File Reference

Introduction

The list of supported kernels in this kernel extension.

Go to the source code of this file.

Data Structures

struct  tivx_stereo_cam_params_t
 Stereo camera parameters. More...
 
struct  tivx_stereo_pointcloud_params_t
 Stereo 3D point cloud parameters. More...
 
struct  tivx_sde_disparity_vis_params_t
 Stereo disparity visualization parameters. More...
 

Macros

#define TIVX_MODULE_NAME_STEREO   "stereo"
 OpenVX module name. More...
 
#define TIVX_KERNEL_POINT_CLOUD_CREATION_NAME   "com.ti.stereo.point_cloud_creation"
 ss_sde_pointcloud kernel name More...
 
#define TIVX_KERNEL_OCCUPANCY_GRID_DETECTION_NAME   "com.ti.stereo.occupancy_grid_detection"
 ss_sde_og_detection kernel name More...
 
#define TIVX_KERNEL_SDE_HISTOGRAM_VISUALIZE_NAME   "com.ti.stereo.sde_histogram_visualize"
 Kernel Name: Stereo Confidence Histogram Visualization. More...
 
#define TIVX_KERNEL_SDE_TRIANGULATION_NAME   "com.ti.stereo.sde_triangulation"
 Kernel Name: Stereo Triangulation. More...
 
#define TIVX_KERNEL_DISPARITY_MERGE_NAME   "com.ti.stereo.disparity_merge"
 disparity merge kernel name More...
 
#define TIVX_KERNEL_MEDIAN_FILTER_NAME   "com.ti.stereo.median_filter"
 median_filter kernel name More...
 
#define TIVX_KERNEL_HOLE_FILLING_NAME   "com.ti.stereo.hole_filling"
 hole_filling kernel name More...
 
#define TIVX_KERNEL_EXTRACT_DISPARITY_CONFIDENCE_NAME   "com.ti.stereo.extract_disparity_confidence"
 extract_disparity_confidence kernel name More...
 
#define TIVX_KERNEL_GROUND_ESTIMATION_NAME   "com.ti.stereo.ground_estimation"
 ground_estimation kernel name More...
 
#define TIVX_KERNEL_OBSTACLE_DETECTION_NAME   "com.ti.stereo.obstacle_detection"
 obstacle_detection kernel name More...
 
#define TIVX_KERNEL_SDE_DISPARITY_VISUALIZE_NAME   "com.ti.stereo.sde_disparity_visualize"
 sde_disparity_visualize kernel name More...
 
#define TIVX_KERNEL_GROUND_ESTIMATION_RESET   (0U)
 Control command for resetting the ground estimation library. More...
 
#define TIVX_KERNEL_OCCUPANCY_GRID_DETECTION_RESET   (1U)
 Control command for resetting the occupancy grid detection library. More...
 

Typedefs

typedef PTK_Alg_StereoAlgo_ObjectDetect_allParams tivx_obstacle_detection_params_t
 Stereo based obstacle detection parameters. More...
 
typedef PTK_Alg_StereoAlgo_GroundEstimation_allParams tivx_ground_estimation_params_t
 Stereo based grond plane estimation parameters. More...
 
typedef PTK_Alg_StereoPP_HoleFilling_configParams tivx_hole_filling_params_t
 Disparity hole filling algorithm parameters. More...
 
typedef PTK_Alg_StereoPP_MedianFilter_configParams tivx_median_filter_params_t
 Disparity median filtering algorithm parameters. More...
 
typedef PTK_Alg_StereoPP_DisparityMerge_configParams tivx_disparity_merge_params_t
 Disparity merge algorithm parameters. More...
 
typedef PTK_Alg_StereoAlgo_groundModelParams_Array tivx_ground_model_params_t
 Ground plane model structure. More...
 
typedef PTK_Alg_StereoAlgo_obsBox tivx_obstacle_pos_t
 2D bounding box structure More...
 
typedef PTK_Alg_StereoAlgo_driveSpace tivx_drivable_space_t
 Drivable free space structure. More...
 
typedef PTK_Alg_StereoOG_CreatePCAllParams tivx_ss_sde_point_cloud_params_t
 Point cloud creation parameters for OG based obstacle detection. More...
 
typedef PTK_Alg_StereoOG_CreateOGAllParams tivx_ss_sde_og_detection_params_t
 Occupancy Grid based detection configuration parameters. More...
 
typedef PTK_Alg_StereoOG_obs3DBox tivx_ss_sde_obs_3d_bound_box_t
 3D obstacle bounding box structure More...
 

Functions

void tivxStereoLoadKernels (vx_context context)
 Used for the application to load the stereo kernels into the context. More...
 
void tivxStereoUnLoadKernels (vx_context context)
 Used for the application to unload the stereo kernels from the context. More...
 
void tivxRegisterStereoTargetArmKernels (void)
 Function to register Stereo Kernels on the ARM Target. More...
 
void tivxUnRegisterStereoTargetArmKernels (void)
 Function to un-register Stereo Kernels on the ARM Target. More...
 
void tivxRegisterStereoTargetC7XKernels (void)
 Function to register Stereo Kernels on the c7x Target. More...
 
void tivxUnRegisterStereoTargetC7XKernels (void)
 Function to un-register Stereo Kernels on the c7x Target. More...
 
void tivxRegisterStereoTargetKernels (void)
 Function to register STEREO Kernels on the c6x Target. More...
 
void tivxUnRegisterStereoTargetKernels (void)
 Function to un-register STEREO Kernels on the Target. More...
 
void tivxStereoPrintPerformance (vx_perf_t performance, uint32_t numPixels, const char *testName)
 Used to print the performance of the kernels. More...
 

Macro Definition Documentation

◆ TIVX_KERNEL_POINT_CLOUD_CREATION_NAME

#define TIVX_KERNEL_POINT_CLOUD_CREATION_NAME   "com.ti.stereo.point_cloud_creation"

ss_sde_pointcloud kernel name

See also
TIVX Kernels for Stereo

◆ TIVX_KERNEL_OCCUPANCY_GRID_DETECTION_NAME

#define TIVX_KERNEL_OCCUPANCY_GRID_DETECTION_NAME   "com.ti.stereo.occupancy_grid_detection"

ss_sde_og_detection kernel name

See also
TIVX Kernels for Stereo

◆ TIVX_KERNEL_DISPARITY_MERGE_NAME

#define TIVX_KERNEL_DISPARITY_MERGE_NAME   "com.ti.stereo.disparity_merge"

disparity merge kernel name

See also
TIVX Kernels for Stereo

◆ TIVX_KERNEL_MEDIAN_FILTER_NAME

#define TIVX_KERNEL_MEDIAN_FILTER_NAME   "com.ti.stereo.median_filter"

median_filter kernel name

See also
TIVX Kernels for Stereo

◆ TIVX_KERNEL_HOLE_FILLING_NAME

#define TIVX_KERNEL_HOLE_FILLING_NAME   "com.ti.stereo.hole_filling"

hole_filling kernel name

See also
TIVX Kernels for Stereo

◆ TIVX_KERNEL_EXTRACT_DISPARITY_CONFIDENCE_NAME

#define TIVX_KERNEL_EXTRACT_DISPARITY_CONFIDENCE_NAME   "com.ti.stereo.extract_disparity_confidence"

extract_disparity_confidence kernel name

See also
TIVX Kernels for Stereo

◆ TIVX_KERNEL_GROUND_ESTIMATION_NAME

#define TIVX_KERNEL_GROUND_ESTIMATION_NAME   "com.ti.stereo.ground_estimation"

ground_estimation kernel name

See also
TIVX Kernels for Stereo

◆ TIVX_KERNEL_OBSTACLE_DETECTION_NAME

#define TIVX_KERNEL_OBSTACLE_DETECTION_NAME   "com.ti.stereo.obstacle_detection"

obstacle_detection kernel name

See also
TIVX Kernels for Stereo

◆ TIVX_KERNEL_SDE_DISPARITY_VISUALIZE_NAME

#define TIVX_KERNEL_SDE_DISPARITY_VISUALIZE_NAME   "com.ti.stereo.sde_disparity_visualize"

sde_disparity_visualize kernel name

See also
TIVX Kernels for Stereo

◆ TIVX_KERNEL_GROUND_ESTIMATION_RESET

#define TIVX_KERNEL_GROUND_ESTIMATION_RESET   (0U)

Control command for resetting the ground estimation library.

See also
TIVX Kernels for Stereo

◆ TIVX_KERNEL_OCCUPANCY_GRID_DETECTION_RESET

#define TIVX_KERNEL_OCCUPANCY_GRID_DETECTION_RESET   (1U)

Control command for resetting the occupancy grid detection library.

See also
TIVX Kernels for Stereo

Function Documentation

◆ tivxRegisterStereoTargetC7XKernels()

void tivxRegisterStereoTargetC7XKernels ( void  )

Function to register Stereo Kernels on the c7x Target.

◆ tivxUnRegisterStereoTargetC7XKernels()

void tivxUnRegisterStereoTargetC7XKernels ( void  )

Function to un-register Stereo Kernels on the c7x Target.

◆ tivxRegisterStereoTargetKernels()

void tivxRegisterStereoTargetKernels ( void  )

Function to register STEREO Kernels on the c6x Target.

Function to un-register STEREO Kernels on the c6x Target

Function to register STEREO Kernels on the Target

◆ tivxUnRegisterStereoTargetKernels()

void tivxUnRegisterStereoTargetKernels ( void  )

Function to un-register STEREO Kernels on the Target.

◆ tivxStereoPrintPerformance()

void tivxStereoPrintPerformance ( vx_perf_t  performance,
uint32_t  numPixels,
const char *  testName 
)

Used to print the performance of the kernels.