/external/opencv3/modules/calib3d/src/ |
H A D | compat_stereo.cpp | 46 CvStereoBMState* cvCreateStereoBMState( int /*preset*/, int numberOfDisparities ) 57 state->numberOfDisparities = numberOfDisparities > 0 ? numberOfDisparities : 64; 95 cv::Ptr<cv::StereoBM> sm = cv::StereoBM::create(state->numberOfDisparities, 101 sm->setNumDisparities(state->numberOfDisparities > 0 ? state->numberOfDisparities : 64); 112 int numberOfDisparities, int SADWindowSize ) 115 numberOfDisparities, SADWindowSize ); 119 int numberOfDisparities, in 111 cvGetValidDisparityROI( CvRect roi1, CvRect roi2, int minDisparity, int numberOfDisparities, int SADWindowSize ) argument 118 cvValidateDisparity( CvArr* _disp, const CvArr* _cost, int minDisparity, int numberOfDisparities, int disp12MaxDiff ) argument [all...] |
/external/opencv3/samples/cpp/ |
H A D | stereo_match.cpp | 66 int SADWindowSize = 0, numberOfDisparities = 0; local 98 if( sscanf( argv[i] + strlen(maxdisp_opt), "%d", &numberOfDisparities ) != 1 || 99 numberOfDisparities < 1 || numberOfDisparities % 16 != 0 ) 232 numberOfDisparities = numberOfDisparities > 0 ? numberOfDisparities : ((img_size.width/8) + 15) & -16; 239 bm->setNumDisparities(numberOfDisparities); 255 sgbm->setNumDisparities(numberOfDisparities); 264 //copyMakeBorder(img1, img1p, 0, 0, numberOfDisparities, [all...] |
/external/opencv3/modules/calib3d/include/opencv2/calib3d/ |
H A D | calib3d_c.h | 330 int numberOfDisparities; // maximum disparity - minimum disparity (> 0) member in struct:CvStereoBMState 359 int numberOfDisparities CV_DEFAULT(0)); 367 int numberOfDisparities, int SADWindowSize ); 370 int minDisparity, int numberOfDisparities,
|
/external/opencv/cv/include/ |
H A D | cv.h | 1400 int numberOfDisparities; // maximum disparity - minimum disparity (> 0) member in struct:CvStereoBMState 1423 int numberOfDisparities CV_DEFAULT(0)); 1440 int numberOfDisparities; member in struct:CvStereoGCState 1454 CVAPI(CvStereoGCState*) cvCreateStereoGCState( int numberOfDisparities, int maxIters );
|
/external/opencv/cv/src/ |
H A D | cvstereogc.cpp | 368 CvStereoGCState* cvCreateStereoGCState( int numberOfDisparities, int maxIters ) argument 379 state->numberOfDisparities = numberOfDisparities; 490 int mind = state->minDisparity, nd = state->numberOfDisparities, maxd = mind + nd; 915 disp = (int*)cvStackAlloc( state->numberOfDisparities*sizeof(disp[0]) ); 916 _disp = cvMat( 1, state->numberOfDisparities, CV_32S, disp ); 917 cvRange( &_disp, state->minDisparity, state->minDisparity + state->numberOfDisparities ); 938 for( i = 0; i < state->numberOfDisparities; i++ ) 947 else if( ++nZeroExpansions >= state->numberOfDisparities )
|
/external/opencv3/modules/java/src/ |
H A D | calib3d+Calib3d.java | 1026 // C++: Rect getValidDisparityROI(Rect roi1, Rect roi2, int minDisparity, int numberOfDisparities, int SADWindowSize) 1029 //javadoc: getValidDisparityROI(roi1, roi2, minDisparity, numberOfDisparities, SADWindowSize) 1030 public static Rect getValidDisparityROI(Rect roi1, Rect roi2, int minDisparity, int numberOfDisparities, int SADWindowSize) argument 1033 Rect retVal = new Rect(getValidDisparityROI_0(roi1.x, roi1.y, roi1.width, roi1.height, roi2.x, roi2.y, roi2.width, roi2.height, minDisparity, numberOfDisparities, SADWindowSize)); 1040 // C++: void validateDisparity(Mat& disparity, Mat cost, int minDisparity, int numberOfDisparities, int disp12MaxDisp = 1) 1043 //javadoc: validateDisparity(disparity, cost, minDisparity, numberOfDisparities, disp12MaxDisp) 1044 public static void validateDisparity(Mat disparity, Mat cost, int minDisparity, int numberOfDisparities, int disp12MaxDisp) argument 1047 validateDisparity_0(disparity.nativeObj, cost.nativeObj, minDisparity, numberOfDisparities, disp12MaxDisp); 1052 //javadoc: validateDisparity(disparity, cost, minDisparity, numberOfDisparities) 1053 public static void validateDisparity(Mat disparity, Mat cost, int minDisparity, int numberOfDisparities) argument 1294 getValidDisparityROI_0(int roi1_x, int roi1_y, int roi1_width, int roi1_height, int roi2_x, int roi2_y, int roi2_width, int roi2_height, int minDisparity, int numberOfDisparities, int SADWindowSize) argument 1297 validateDisparity_0(long disparity_nativeObj, long cost_nativeObj, int minDisparity, int numberOfDisparities, int disp12MaxDisp) argument 1298 validateDisparity_1(long disparity_nativeObj, long cost_nativeObj, int minDisparity, int numberOfDisparities) argument [all...] |
H A D | calib3d.cpp | 3436 // Rect getValidDisparityROI(Rect roi1, Rect roi2, int minDisparity, int numberOfDisparities, int SADWindowSize) 3442 (JNIEnv* env, jclass , jint roi1_x, jint roi1_y, jint roi1_width, jint roi1_height, jint roi2_x, jint roi2_y, jint roi2_width, jint roi2_height, jint minDisparity, jint numberOfDisparities, jint SADWindowSize) 3449 Rect _retval_ = cv::getValidDisparityROI( roi1, roi2, (int)minDisparity, (int)numberOfDisparities, (int)SADWindowSize ); 3463 // void validateDisparity(Mat& disparity, Mat cost, int minDisparity, int numberOfDisparities, int disp12MaxDisp = 1) 3469 (JNIEnv* env, jclass , jlong disparity_nativeObj, jlong cost_nativeObj, jint minDisparity, jint numberOfDisparities, jint disp12MaxDisp) 3476 cv::validateDisparity( disparity, cost, (int)minDisparity, (int)numberOfDisparities, (int)disp12MaxDisp ); 3491 (JNIEnv* env, jclass , jlong disparity_nativeObj, jlong cost_nativeObj, jint minDisparity, jint numberOfDisparities) 3498 cv::validateDisparity( disparity, cost, (int)minDisparity, (int)numberOfDisparities ); 3441 Java_org_opencv_calib3d_Calib3d_getValidDisparityROI_10(JNIEnv* env, jclass , jint roi1_x, jint roi1_y, jint roi1_width, jint roi1_height, jint roi2_x, jint roi2_y, jint roi2_width, jint roi2_height, jint minDisparity, jint numberOfDisparities, jint SADWindowSize) argument 3468 Java_org_opencv_calib3d_Calib3d_validateDisparity_10(JNIEnv* env, jclass , jlong disparity_nativeObj, jlong cost_nativeObj, jint minDisparity, jint numberOfDisparities, jint disp12MaxDisp) argument 3490 Java_org_opencv_calib3d_Calib3d_validateDisparity_11(JNIEnv* env, jclass , jlong disparity_nativeObj, jlong cost_nativeObj, jint minDisparity, jint numberOfDisparities) argument
|