Home
last modified time | relevance | path

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

/external/opencv3/modules/features2d/src/
Dfeature2d.cpp79 size_t i, nimages = images.size(); in detect() local
84 CV_Assert(masks.size() == nimages); in detect()
87 keypoints.resize(nimages); in detect()
89 for( i = 0; i < nimages; i++ ) in detect()
123 size_t i, nimages = images.size(); in compute() local
125 CV_Assert( keypoints.size() == nimages ); in compute()
129 descriptors.resize(nimages); in compute()
131 for( i = 0; i < nimages; i++ ) in compute()
/external/opencv3/samples/cpp/
Dstereo_calib.cpp76 int i, j, k, nimages = (int)imagelist.size()/2; in StereoCalib() local
78 imagePoints[0].resize(nimages); in StereoCalib()
79 imagePoints[1].resize(nimages); in StereoCalib()
82 for( i = j = 0; i < nimages; i++ ) in StereoCalib()
147 nimages = j; in StereoCalib()
148 if( nimages < 2 ) in StereoCalib()
154 imagePoints[0].resize(nimages); in StereoCalib()
155 imagePoints[1].resize(nimages); in StereoCalib()
156 objectPoints.resize(nimages); in StereoCalib()
158 for( i = 0; i < nimages; i++ ) in StereoCalib()
[all …]
/external/opencv/cv/src/
Dcvcalibration.cpp1349 int i, j, pos, nimages, total, ni = 0; in cvInitIntrinsicParams2D() local
1358 nimages = npoints->rows + npoints->cols - 1; in cvInitIntrinsicParams2D()
1369 _A = cvCreateMat( 2*nimages, 2, CV_64F ); in cvInitIntrinsicParams2D()
1370 _b = cvCreateMat( 2*nimages, 1, CV_64F ); in cvInitIntrinsicParams2D()
1373 _allH = cvCreateMat( nimages, 9, CV_64F ); in cvInitIntrinsicParams2D()
1378 for( i = 0, pos = 0; i < nimages; i++, pos += ni ) in cvInitIntrinsicParams2D()
1461 int i, nimages, maxPoints = 0, ni = 0, pos, total = 0, nparams, npstep, cn; in cvCalibrateCamera2() local
1477 nimages = npoints->rows*npoints->cols; in cvCalibrateCamera2()
1485 ((rvecs->rows != nimages || (rvecs->cols*cn != 3 && rvecs->cols*cn != 9)) && in cvCalibrateCamera2()
1486 (rvecs->rows != 1 || rvecs->cols != nimages || cn != 3)) ) in cvCalibrateCamera2()
[all …]
/external/opencv3/modules/calib3d/src/
Dcalibration.cpp1145 int i, j, pos, nimages, ni = 0; in cvInitIntrinsicParams2D() local
1154 nimages = npoints->rows + npoints->cols - 1; in cvInitIntrinsicParams2D()
1165 matA.reset(cvCreateMat( 2*nimages, 2, CV_64F )); in cvInitIntrinsicParams2D()
1166 _b.reset(cvCreateMat( 2*nimages, 1, CV_64F )); in cvInitIntrinsicParams2D()
1169 _allH.reset(cvCreateMat( nimages, 9, CV_64F )); in cvInitIntrinsicParams2D()
1172 for( i = 0, pos = 0; i < nimages; i++, pos += ni ) in cvInitIntrinsicParams2D()
1241 int i, nimages, maxPoints = 0, ni = 0, pos, total = 0, nparams, npstep, cn; in cvCalibrateCamera2() local
1260 nimages = npoints->rows*npoints->cols; in cvCalibrateCamera2()
1268 ((rvecs->rows != nimages || (rvecs->cols*cn != 3 && rvecs->cols*cn != 9)) && in cvCalibrateCamera2()
1269 (rvecs->rows != 1 || rvecs->cols != nimages || cn != 3)) ) in cvCalibrateCamera2()
[all …]
/external/opencv3/modules/videoio/src/
Dcap_dc1394_v2.cpp242 int nimages; member in CvCaptureCAM_DC1394_v2_CPP
294 nimages = 1; in CvCaptureCAM_DC1394_v2_CPP()
445 nimages = 2; in startCapture()
562 if (nimages == 2) in grabFrame()
577 for (i = 0; i < nimages; i++) in grabFrame()
581 f.size[1] /= nimages; in grabFrame()
588 if (nimages == 1) in grabFrame()
610 if( rectify && cameraId == VIDERE && nimages == 2 ) in grabFrame()
653 return 0 <= idx && idx < nimages ? img[idx] : 0; in retrieveFrame()
/external/opencv3/modules/python/test/
Dcamera_calibration.py223 def mk_object_points(nimages, squaresize = 1): argument
224 opts = cv.CreateMat(nimages * num_pts, 3, cv.CV_32FC1)
225 for i in range(nimages):
240 def mk_point_counts(nimages): argument
241 npts = cv.CreateMat(nimages, 1, cv.CV_32SC1)
242 for i in range(nimages):
/external/opencv3/modules/imgproc/src/
Dhistogram.cpp115 static void histPrepareImages( const Mat* images, int nimages, const int* channels, in histPrepareImages() argument
122 CV_Assert( channels != 0 || nimages == dims ); in histPrepareImages()
143 for( j = 0; j < nimages; c -= images[j].channels(), j++ ) in histPrepareImages()
146 CV_Assert( j < nimages ); in histPrepareImages()
1223 void cv::calcHist( const Mat* images, int nimages, const int* channels, in calcHist() argument
1239 if (nimages == 1 && images[0].type() == CV_8UC1 && dims == 1 && channels && in calcHist()
1278 histPrepareImages( images, nimages, channels, mask, dims, hist.size, ranges, in calcHist()
1427 static void calcHist( const Mat* images, int nimages, const int* channels, in calcHist() argument
1451 histPrepareImages( images, nimages, channels, mask, dims, hist.hdr->size, ranges, in calcHist()
1537 void cv::calcHist( const Mat* images, int nimages, const int* channels, in calcHist() argument
[all …]
/external/opencv3/modules/imgproc/include/opencv2/
Dimgproc.hpp2799 CV_EXPORTS void calcHist( const Mat* images, int nimages,
2808 CV_EXPORTS void calcHist( const Mat* images, int nimages,
2861 CV_EXPORTS void calcBackProject( const Mat* images, int nimages,
2867 CV_EXPORTS void calcBackProject( const Mat* images, int nimages,
/external/opencv3/modules/imgproc/src/opencl/
Dcalc_back_project.cl137 #error "(nimages <= 2) should be true"
/external/opencv3/modules/calib3d/test/
Dtest_cameracalibration.cpp1708 int nimages = (int)objectPoints.size(), total = 0; in calibrateStereoCamera() local
1709 for( int i = 0; i < nimages; i++ ) in calibrateStereoCamera()
1714 Mat npoints( 1, nimages, CV_32S ), in calibrateStereoCamera()
1722 for( int i = 0, ni = 0, j = 0; i < nimages; i++, j += ni ) in calibrateStereoCamera()