![]() |
Perception Tool Kit (PTK) API Guide
|
Stereo algorithm - config Parameters.

Data Fields | |
| int32_t | width |
| int32_t | height |
| int32_t | minDisparity |
| int32_t | maxDisparity |
| int8_t | sde_confidence_threshold |
| float | distCenterX |
| float | distCenterY |
| float | focalLength |
| int32_t PTK_Alg_StereoAlgo_configParams::width |
Width of input image
| int32_t PTK_Alg_StereoAlgo_configParams::height |
Height of input image
| int32_t PTK_Alg_StereoAlgo_configParams::minDisparity |
Minimum disparity value
| int32_t PTK_Alg_StereoAlgo_configParams::maxDisparity |
Maximum disparity value
| int8_t PTK_Alg_StereoAlgo_configParams::sde_confidence_threshold |
Disparity confidence threshold value. Disparity whose confience less than sde_confidence_threshold is not used in the algorihtm Allowed: {0, 1, 2, ..., 7}
| float PTK_Alg_StereoAlgo_configParams::distCenterX |
Horizontal distortion center
| float PTK_Alg_StereoAlgo_configParams::distCenterY |
Vertical distortion center
| float PTK_Alg_StereoAlgo_configParams::focalLength |
Camera focal length