Home
last modified time | relevance | path

Searched refs:depthDiscontMask (Results 1 – 1 of 1) sorted by relevance

/external/opencv3/modules/calib3d/test/
Dtest_stereomatching.cpp229 void computeDepthDiscontMask( const Mat& disp, Mat& depthDiscontMask, const Mat& unknDispMask = Mat… in computeDepthDiscontMask() argument
246 depthDiscontMask = max( (Mat)(maxNeighbDisp-disp), (Mat)(disp-minNeighbDisp) ) > dispGap; in computeDepthDiscontMask()
248 depthDiscontMask &= ~unknDispMask; in computeDepthDiscontMask()
249 … dilate( depthDiscontMask, depthDiscontMask, Mat(discontWidth, discontWidth, CV_8UC1, Scalar(1)) ); in computeDepthDiscontMask()
511 Mat depthDiscontMask; in calcErrors() local
512 computeDepthDiscontMask( trueLeftDisp, depthDiscontMask, trueLeftUnknDispMask, in calcErrors()
521 depthDiscontMask &= nonOccludedMask; // & borderedKnownMask in calcErrors()
529 rms[5] = dispRMS( calcLeftDisp, trueLeftDisp, depthDiscontMask ); in calcErrors()
537 …badPxlsFractions[5] = badMatchPxlsFraction( calcLeftDisp, trueLeftDisp, depthDiscontMask, qualityE… in calcErrors()