#include "matching.hpp"
|
void | blockAgregation (const Mat &partialSums, int windowSize, Mat &cost) |
| The aggregation on the cost volume. More...
|
|
void | costGathering (const Mat &hammingDistanceCost, Mat &cost) |
|
void | dispartyMapFormation (const Mat &costVolume, Mat &mapFinal, int th) |
|
double | getConfidence () |
|
int | getMaxDisparity () |
| method for getting the disparity More...
|
|
int | getScallingFactor () |
| method for getting the scalling factor More...
|
|
void | hammingDistanceBlockMatching (const Mat &leftImage, const Mat &rightImage, Mat &cost, const int kernelSize=9) |
|
void | setConfidence (double val) |
| setter for the confidence check More...
|
|
void | setMaxDisparity (int val) |
| method for setting the maximum disparity More...
|
|
void | setScallingFactor (int val) |
| a number by which the disparity will be multiplied for better display More...
|
|
template<typename T > |
void | smallRegionRemoval (const Mat ¤tMap, int t, Mat &out) |
| remove small regions that have an area smaller than t, we fill the region with the average of the good pixels around it More...
|
|
cv::stereo::Matching::Matching |
( |
void |
| ) |
|
|
inline |
constructor for the matching class maxDisp - represents the maximum disparity
cv::stereo::Matching::~Matching |
( |
void |
| ) |
|
|
inline |
cv::stereo::Matching::Matching |
( |
int |
maxDisp, |
|
|
int |
scalling = 4 , |
|
|
int |
confidence = 6 |
|
) |
| |
|
inline |
void cv::stereo::Matching::blockAgregation |
( |
const Mat & |
partialSums, |
|
|
int |
windowSize, |
|
|
Mat & |
cost |
|
) |
| |
|
inlineprotected |
The aggregation on the cost volume.
void cv::stereo::Matching::costGathering |
( |
const Mat & |
hammingDistanceCost, |
|
|
Mat & |
cost |
|
) |
| |
|
inlineprotected |
void cv::stereo::Matching::dispartyMapFormation |
( |
const Mat & |
costVolume, |
|
|
Mat & |
mapFinal, |
|
|
int |
th |
|
) |
| |
|
inlineprotected |
Method responsible for generating the disparity map function for generating disparity maps at sub pixel level
double cv::stereo::Matching::getConfidence |
( |
| ) |
|
|
inlineprotected |
int cv::stereo::Matching::getMaxDisparity |
( |
| ) |
|
|
inlineprotected |
method for getting the disparity
int cv::stereo::Matching::getScallingFactor |
( |
| ) |
|
|
inlineprotected |
method for getting the scalling factor
void cv::stereo::Matching::hammingDistanceBlockMatching |
( |
const Mat & |
leftImage, |
|
|
const Mat & |
rightImage, |
|
|
Mat & |
cost, |
|
|
const int |
kernelSize = 9 |
|
) |
| |
|
inlineprotected |
Hamming distance computation method leftImage and rightImage are the two transformed images the cost is the resulted cost volume and kernel Size is the size of the matching window
template<typename T >
void cv::stereo::Matching::Median1x9Filter |
( |
const Mat & |
originalImage, |
|
|
Mat & |
filteredImage |
|
) |
| |
|
inline |
a median filter of 1x9 and 9x1 1x9 median filter
template<typename T >
void cv::stereo::Matching::Median9x1Filter |
( |
const Mat & |
originalImage, |
|
|
Mat & |
filteredImage |
|
) |
| |
|
inline |
void cv::stereo::Matching::setConfidence |
( |
double |
val | ) |
|
|
inlineprotected |
setter for the confidence check
void cv::stereo::Matching::setMaxDisparity |
( |
int |
val | ) |
|
|
inlineprotected |
method for setting the maximum disparity
void cv::stereo::Matching::setScallingFactor |
( |
int |
val | ) |
|
|
inlineprotected |
a number by which the disparity will be multiplied for better display
template<typename T >
void cv::stereo::Matching::smallRegionRemoval |
( |
const Mat & |
currentMap, |
|
|
int |
t, |
|
|
Mat & |
out |
|
) |
| |
|
inlineprotected |
remove small regions that have an area smaller than t, we fill the region with the average of the good pixels around it
int cv::stereo::Matching::previous_size |
|
protected |
Mat cv::stereo::Matching::puss |
|
protected |
Mat cv::stereo::Matching::speckleX |
|
protected |
Mat cv::stereo::Matching::speckleY |
|
protected |
The documentation for this class was generated from the following file:
- /build/master-contrib_docs-mac/opencv_contrib/modules/stereo/include/opencv2/stereo/matching.hpp