TIOVX User Guide
|
The configuration data structure used by the TIVX_KERNEL_DMPAC_SDE kernel. More...
#include <hwa_dmpac_sde.h>
Data Fields | |
uint16_t | median_filter_enable |
uint16_t | reduced_range_search_enable |
uint16_t | disparity_min |
uint16_t | disparity_max |
uint16_t | threshold_left_right |
uint16_t | texture_filter_enable |
uint16_t | threshold_texture |
uint16_t | aggregation_penalty_p1 |
uint16_t | aggregation_penalty_p2 |
uint16_t | confidence_score_map [8] |
The configuration data structure used by the TIVX_KERNEL_DMPAC_SDE kernel.
Definition at line 117 of file hwa_dmpac_sde.h.
uint16_t tivx_dmpac_sde_params_t::median_filter_enable |
0: Disabled; 1: Enable post-processing 5x5 median filter
Definition at line 118 of file hwa_dmpac_sde.h.
uint16_t tivx_dmpac_sde_params_t::reduced_range_search_enable |
0: Disabled; 1: Enable reduced range search on pixels near right margin
Definition at line 119 of file hwa_dmpac_sde.h.
uint16_t tivx_dmpac_sde_params_t::disparity_min |
0: minimum disparity == 0; 1: minimum disparity == -3
Definition at line 120 of file hwa_dmpac_sde.h.
uint16_t tivx_dmpac_sde_params_t::disparity_max |
0: disparity_min + 63; 1: disparity_min + 127; 2: disparity_min + 191
Definition at line 121 of file hwa_dmpac_sde.h.
uint16_t tivx_dmpac_sde_params_t::threshold_left_right |
Left-right consistency check threshold in pixels [Range (0 - 255)]
Definition at line 122 of file hwa_dmpac_sde.h.
uint16_t tivx_dmpac_sde_params_t::texture_filter_enable |
0: Disabled; 1: Enable texture based filtering
Definition at line 123 of file hwa_dmpac_sde.h.
uint16_t tivx_dmpac_sde_params_t::threshold_texture |
If texture_filter_enable == 1, Scaled texture threshold [Range (0 - 255)] Any pixel whose texture metric is lower than threshold_texture is considered to be low texture. It is specified as normalized texture threshold times 1024. For instance, if threshold_texture == 204, the normalized texture threshold is 204/1024 = 0.1992.
Definition at line 129 of file hwa_dmpac_sde.h.
uint16_t tivx_dmpac_sde_params_t::aggregation_penalty_p1 |
SDE aggragation penalty P1. Optimization penalty constant for small disparity change. P1<=127
Definition at line 130 of file hwa_dmpac_sde.h.
uint16_t tivx_dmpac_sde_params_t::aggregation_penalty_p2 |
SDE aggragation penalty P2. Optimization penalty constant for large disparity change. P2<=255
Definition at line 131 of file hwa_dmpac_sde.h.
uint16_t tivx_dmpac_sde_params_t::confidence_score_map[8] |
Defines custom ranges for mapping 7-bit confidence score to one of 8 levels (3-bit confidence value) in each disparity output. ([Range (0 - 127)] The confidence score will map to level N if it is less than confidence_score_map[N] but greater than or equal to confidence_score_map[N-1] For example, to map internal confidence scores from 0 to 50 to level 0, and confidence scores from 51 to 108 to level 1, then set confidence_score_map[0] = 51 and confidence_score_map[1] = 109
Definition at line 139 of file hwa_dmpac_sde.h.