Public Member Functions | |
| void | adjustProjMat () |
| TODO: required for rectification of input images. | |
| void | copyDispMapToCpu (opentl::core::cvdata::Image *dstDispMap) |
| Copy disparity map from GPU to CPU memory. | |
| DisparityMapGPU (bool inputImagesAreRectified) | |
| Constructor. | |
| void | initialize () |
| Function for initialization, which needs to be called after the constructor. | |
| int | setPointersToInputImagesFromCpu (opentl::core::cvdata::Image **leftImg, opentl::core::cvdata::Image **rightImg) |
| Define CPU based source images. | |
| void | updateCameraParams () |
| TODO: required for rectification of input images. | |
| int | updateMap (int rangeLow, int rangeHigh, int useMaxMipLevel, bool useLensDistCorr=false) |
| Compute disparity map and set required parameters. | |
| virtual | ~DisparityMapGPU () |
| opentl::cvprocess::DisparityMapGPU::DisparityMapGPU | ( | bool | inputImagesAreRectified | ) |
Constructor.
| inputImagesAreRectified | Set to false, if images need to be rectified. TODO: rectification is till now not working! |
| virtual opentl::cvprocess::DisparityMapGPU::~DisparityMapGPU | ( | ) | [virtual] |
| void opentl::cvprocess::DisparityMapGPU::adjustProjMat | ( | ) |
TODO: required for rectification of input images.
| void opentl::cvprocess::DisparityMapGPU::copyDispMapToCpu | ( | opentl::core::cvdata::Image * | dstDispMap | ) |
Copy disparity map from GPU to CPU memory.
| void opentl::cvprocess::DisparityMapGPU::initialize | ( | ) |
Function for initialization, which needs to be called after the constructor.
| int opentl::cvprocess::DisparityMapGPU::setPointersToInputImagesFromCpu | ( | opentl::core::cvdata::Image ** | leftImg, | |
| opentl::core::cvdata::Image ** | rightImg | |||
| ) |
Define CPU based source images.
| leftImg | Left RGB image | |
| rightImg | Right RGB image |
| void opentl::cvprocess::DisparityMapGPU::updateCameraParams | ( | ) |
TODO: required for rectification of input images.
| int opentl::cvprocess::DisparityMapGPU::updateMap | ( | int | rangeLow, | |
| int | rangeHigh, | |||
| int | useMaxMipLevel, | |||
| bool | useLensDistCorr = false | |||
| ) |
1.5.8