|
GCVL
Multi-platform (Windows, Unix and Mac OS) C++/OpenCL/CUDA library with several Computer Vision algorithms.
|
#include <blockmatching.h>
Public Member Functions | |
| BlockMatching (std::string inputLeft, std::string inputRight, std::unique_ptr< unsigned char[]> &output) | |
| Class constructor. | |
| ~BlockMatching () | |
| Class destructor. | |
| void | setAggDim (const int val) |
| Sets the aggregation window dimension. | |
| void | setMaxDisp (const int val) |
| Sets the maximum disparity. | |
| void | setNormalize (const bool val) |
| Activates or deactivates disparity map normalization. | |
| unsigned int | getWidth () |
| Obtains image width. | |
| unsigned int | getHeight () |
| Obtains image height. | |
| void | prepare () |
| Function that performs pre-processing steps. | |
| void | setArgs () |
| Function that sets the algorithm arguments. | |
| void | launch () |
| Launch the algorithm. | |
| void | postpare () |
| Function that performs optional normalization. | |
| BlockMatching::BlockMatching | ( | std::string | inputLeft, |
| std::string | inputRight, | ||
| std::unique_ptr< unsigned char[]> & | output | ||
| ) |
Class constructor.
| inputLeft | path to the left input image. |
| inputRight | path to the right input image. |
| output | pointer to the Block Matching resulting disparity map. |
Class destructor.
| unsigned int gcvl::BlockMatching::getHeight | ( | ) | [inline] |
Obtains image height.
| unsigned int gcvl::BlockMatching::getWidth | ( | ) | [inline] |
Obtains image width.
| void BlockMatching::launch | ( | ) | [virtual] |
Launch the algorithm.
Implements gcvl::Algorithm.
| void BlockMatching::postpare | ( | ) | [virtual] |
Function that performs optional normalization.
Implements gcvl::Algorithm.
| void BlockMatching::prepare | ( | ) | [virtual] |
Function that performs pre-processing steps.
Implements gcvl::Algorithm.
| void gcvl::BlockMatching::setAggDim | ( | const int | val | ) | [inline] |
Sets the aggregation window dimension.
| val | aggregation window dimension in pixels. |
| void BlockMatching::setArgs | ( | ) | [virtual] |
Function that sets the algorithm arguments.
Implements gcvl::Algorithm.
| void gcvl::BlockMatching::setMaxDisp | ( | const int | val | ) | [inline] |
Sets the maximum disparity.
| val | maximum disparity in pixels. |
| void gcvl::BlockMatching::setNormalize | ( | const bool | val | ) | [inline] |
Activates or deactivates disparity map normalization.
| val | normalization usage. |