Estimates disparity from a stereo pair. More...
Data Structures | |
| struct | VPIStereoDisparityEstimatorParams |
| Structure that defines the parameters for vpiCreateStereoDisparityEstimator. More... | |
Functions | |
| VPIStatus | vpiCreateStereoDisparityEstimator (VPIBackend backend, uint32_t imageWidth, uint32_t imageHeight, const VPIImageFormat inputFormat, const uint32_t maxDisparity, VPIPayload *payload) |
| Creates payload for vpiSubmitStereoDisparityEstimator. More... | |
| VPIStatus | vpiSubmitStereoDisparityEstimator (VPIStream stream, VPIPayload payload, VPIImage left, VPIImage right, VPIImage disparity, const VPIStereoDisparityEstimatorParams *params) |
| Runs stereo processing on a pair of images and outputs a disparity map. More... | |
Estimates disparity from a stereo pair.
| struct VPIStereoDisparityEstimatorParams |
Structure that defines the parameters for vpiCreateStereoDisparityEstimator.
Definition at line 81 of file StereoDisparity.h.
Collaboration diagram for VPIStereoDisparityEstimatorParams:| Data Fields | ||
|---|---|---|
| uint32_t | maxDisparity | Maximum disparity for matching search. |
| uint32_t | windowSize | Width of Census Transform window for disparity features. |
| VPIStatus vpiCreateStereoDisparityEstimator | ( | VPIBackend | backend, |
| uint32_t | imageWidth, | ||
| uint32_t | imageHeight, | ||
| const VPIImageFormat | inputFormat, | ||
| const uint32_t | maxDisparity, | ||
| VPIPayload * | payload | ||
| ) |
#include <vpi/algo/StereoDisparity.h>
Creates payload for vpiSubmitStereoDisparityEstimator.
| [in] | backend | VPI backend where the algorithm will be executed. |
| [in] | imageWidth,imageHeight | Input image dimensions |
| [in] | inputFormat | Input image format. |
| [in] | maxDisparity | Maximum disparity for matching search. |
| [out] | payload | Pointer to memory where the created payload handle will be written to. |
| VPIStatus vpiSubmitStereoDisparityEstimator | ( | VPIStream | stream, |
| VPIPayload | payload, | ||
| VPIImage | left, | ||
| VPIImage | right, | ||
| VPIImage | disparity, | ||
| const VPIStereoDisparityEstimatorParams * | params | ||
| ) |
#include <vpi/algo/StereoDisparity.h>
Runs stereo processing on a pair of images and outputs a disparity map.
Please refer to Limitations and Constraints for information on limitations for some parameters.
| [in] | stream | The stream where the operation will be queued in. |
| [in] | payload | Payload to be submitted along the other parameters. |
| [in] | left | Left stereo input image. |
| [in] | right | Right stereo input image. |
| [out] | disparity | Image where the disparity values will be written to. |
| [in] | params | Pointer to algorithm control parameters. |