Home
last modified time | relevance | path

Searched refs:imgSize (Results 1 – 25 of 28) sorted by relevance

12

/external/opencv/cvaux/src/
D_cvvm.h144 CvSize imgSize,
150 CvSize imgSize,
156 CvSize imgSize,
165 CvSize imgSize,
171 CvStatus icvGetCrossEpilineFrame( CvSize imgSize,
180 CvSize imgSize,
190 CvSize imgSize,
201 CvSize imgSize,
207 CvSize imgSize,
213 CvSize imgSize,
[all …]
Dcvscanlines.cpp153 CvSize imgSize, in icvMakeScanlines() argument
159 error = icvGetCoefficient( matrix, imgSize, scanlines_2, scanlines_1, numlines ); in icvMakeScanlines()
261 CvSize imgSize, int *scanlines_1, int *scanlines_2, int *numlines ) in icvGetCoefficient() argument
278 imgSize, scanlines_1, scanlines_2, numlines ); in icvGetCoefficient()
309 imgSize, in icvGetCoefficient()
320 imgSize, scanlines_1, scanlines_2, numlines ); in icvGetCoefficient()
327 error = icvGetCoefficientDefault( matrix, imgSize, scanlines_1, scanlines_2, numlines ); in icvGetCoefficient()
336 CvSize imgSize, int *scanlines_1, int *scanlines_2, int *numlines ) in icvGetCoefficientDefault() argument
341 *numlines = imgSize.height; in icvGetCoefficientDefault()
347 for( y = 0; y < imgSize.height; y++ ) in icvGetCoefficientDefault()
[all …]
Dcvcalibfilter.cpp74 imgSize = cvSize(0,0); in CvCalibFilter()
285 imgSize, points[i], buffer, in Stop()
290 cameraParams[i].imgSize[0] = (float)imgSize.width; in Stop()
291 cameraParams[i].imgSize[1] = (float)imgSize.height; in Stop()
321 imgSize, in Stop()
386 if( size.width != imgSize.width || size.height != imgSize.height ) in FindEtalon()
388 imgSize = size; in FindEtalon()
391 if( !grayImg || grayImg->width != imgSize.width || in FindEtalon()
392 grayImg->height != imgSize.height ) in FindEtalon()
396 grayImg = cvCreateMat( imgSize.height, imgSize.width, CV_8UC1 ); in FindEtalon()
[all …]
Dcvepilines.cpp1757 …mNew( cvSize(cvRound(stereoCamera->camera[0]->imgSize[0]),cvRound(stereoCamera->camera[0]->img… in icvGetQuadsTransformStruct()
3098 corns[1].x = (float)(stereoparams->camera[0]->imgSize[0]-1); in icvComputeRestStereoParams()
3101 corns[2].x = (float)(stereoparams->camera[0]->imgSize[0]-1); in icvComputeRestStereoParams()
3102 corns[2].y = (float)(stereoparams->camera[0]->imgSize[1]-1); in icvComputeRestStereoParams()
3105 corns[3].y = (float)(stereoparams->camera[0]->imgSize[1]-1); in icvComputeRestStereoParams()
3212 stereoparams->camera[0]->imgSize[0] = (float)imageSize.width; in icvStereoCalibration()
3213 stereoparams->camera[0]->imgSize[1] = (float)imageSize.height; in icvStereoCalibration()
3215 stereoparams->camera[1]->imgSize[0] = (float)imageSize.width; in icvStereoCalibration()
3216 stereoparams->camera[1]->imgSize[1] = (float)imageSize.height; in icvStereoCalibration()
/external/opencv3/modules/imgcodecs/test/
Dtest_drawing.cpp105 Size imgSize( 600, 400 ); in draw() local
106 img.create( imgSize, CV_8UC3 ); in draw()
110 polyline[1] = Point(imgSize.width, 0); in draw()
111 polyline[2] = Point(imgSize.width, imgSize.height); in draw()
112 polyline[3] = Point(0, imgSize.height); in draw()
118 if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) in draw()
121 p2 = Point(3,imgSize.height+1000); in draw()
122 if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) in draw()
125 p1 = Point(imgSize.width,1), p2 = Point(imgSize.width,3); in draw()
126 if( clipLine(Rect(0,0,imgSize.width,imgSize.height), p1, p2) && clipLine(imgSize, p1, p2) ) in draw()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_cvtyuv.cpp25 virtual Size size(Size imgSize) = 0;
76 virtual Size size(Size imgSize) = 0;
130 Size size(Size imgSize) { return Size(imgSize.width, imgSize.height + imgSize.height/2); } in size() argument
166 Size size(Size imgSize) { return Size(imgSize.width, imgSize.height * 3 / 2); } in size() argument
172 Size size(Size imgSize) { return imgSize; } in size() argument
271 Size size(Size imgSize) { return imgSize; } in size() argument
570 Size getSrcSize( const Size& imgSize ) in getSrcSize()
572 return (yuvReader_ != 0) ? yuvReader_->size(imgSize) : imgSize; in getSrcSize()
575 Size getDstSize( const Size& imgSize ) in getDstSize()
577 return (yuvWriter_ != 0) ? yuvWriter_->size(imgSize) : imgSize; in getDstSize()
/external/opencv3/modules/calib3d/test/
Dtest_cameracalibration_badarg.cpp54 CV_CameraCalibrationBadArgTest() : imgSize(800, 600) {} in CV_CameraCalibrationBadArgTest()
62 Size imgSize; member in CV_CameraCalibrationBadArgTest
93 camMat << 300.f, 0.f, imgSize.width/2.f, 0, 300.f, imgSize.height/2.f, 0.f, 0.f, 1.f; in run()
99 chessBoard = cbg(Mat(imgSize, CV_8U, Scalar(0)), camMat, distCoeffs0, exp_corn); in run()
106 caller.imageSize = imgSize; in run()
279 CM[0] = 500; CM[4] = 500; CM[2] = imgSize.width*2; //bad cx in run()
282 CM[0] = 500; CM[4] = 500; CM[2] = imgSize.width/2; CM[5] = -1; //bad cy in run()
285 CM[0] = 500; CM[4] = 500; CM[2] = imgSize.width/2; CM[5] = imgSize.height*2; //bad cy in run()
288 CM[0] = 500; CM[4] = 500; CM[2] = imgSize.width/2; CM[5] = imgSize.height/2; in run()
Dtest_cameracalibration.cpp1031 Size imgSize( 600, 800 ); in run() local
1038 cameraMatrix << 300.f, 0.f, imgSize.width/2.f, in run()
1039 0.f, 300.f, imgSize.height/2.f, in run()
1057 …point.at<float>(0,0) = (rng.uniform(2.f,(float)(imgSize.width-2)) - cameraMatrix(0,2)) / cameraMat… in run()
1058 …point.at<float>(0,1) = (rng.uniform(2.f,(float)(imgSize.height-2)) - cameraMatrix(1,2)) / cameraMa… in run()
1301 const Mat& points2, const Mat& F, Size imgSize,
1681 const Mat& points2, const Mat& F, Size imgSize,
1762 const Mat& points2, const Mat& F, Size imgSize, Mat& H1, Mat& H2, double threshold ) in rectifyUncalibrated() argument
1769 return cvStereoRectifyUncalibrated(&_pt1, &_pt2, pF, imgSize, &_H1, &_H2, threshold) > 0; in rectifyUncalibrated()
1814 const Mat& points2, const Mat& F, Size imgSize,
[all …]
Dtest_cameracalibration_artificial.cpp294 …void runTest(const Size& imgSize, const Mat_<double>& camMat, const Mat_<double>& distCoeffs, size… in runTest() argument
334 …double rep_error = calibrateCamera(objectPoints, imagePoints, imgSize, camMat_est, distCoeffs_est,… in runTest()
/external/opencv/cv/src/
Dcvlkpyramid.cpp46 intersect( CvPoint2D32f pt, CvSize win_size, CvSize imgSize, in intersect() argument
62 max_pt->x = MIN( win_size.width, imgSize.width - ipt.x ); in intersect()
63 max_pt->y = MIN( win_size.height, imgSize.height - ipt.y ); in intersect()
67 static int icvMinimalPyramidSize( CvSize imgSize ) in icvMinimalPyramidSize() argument
69 return cvAlign(imgSize.width,8) * imgSize.height / 3; in icvMinimalPyramidSize()
91 CvSize imgSize, levelSize; in icvInitPyramidalAlgorithm() local
128 imgSize = cvGetSize(imgA); in icvInitPyramidalAlgorithm()
130 levelSize = imgSize; in icvInitPyramidalAlgorithm()
141 assert( pyrBytes <= imgSize.width * imgSize.height * elem_size * 4 / 3 ); in icvInitPyramidalAlgorithm()
161 size[0][0] = imgSize; in icvInitPyramidalAlgorithm()
[all …]
Dcvoptflowhs.cpp89 CvSize imgSize, in icvCalcOpticalFlowHS_8u32fR() argument
107 int imageWidth = imgSize.width; in icvCalcOpticalFlowHS_8u32fR()
108 int imageHeight = imgSize.height; in icvCalcOpticalFlowHS_8u32fR()
141 if( imgSize.width <= 0 ) in icvCalcOpticalFlowHS_8u32fR()
143 if( imgSize.height <= 0 ) in icvCalcOpticalFlowHS_8u32fR()
145 if( imgSize.width > imgStep ) in icvCalcOpticalFlowHS_8u32fR()
158 MemX[k] = (float *) cvAlloc( (imgSize.height) * sizeof( float )); in icvCalcOpticalFlowHS_8u32fR()
162 MemY[k] = (float *) cvAlloc( (imgSize.width) * sizeof( float )); in icvCalcOpticalFlowHS_8u32fR()
Dcvoptflowbm.cpp105 int imgStep, CvSize imgSize, in icvCalcOpticalFlowBM_8u32fR() argument
311 NumberBlocksX = (int) imgSize.width / blockSize.width; in icvCalcOpticalFlowBM_8u32fR()
312 NumberBlocksY = (int) imgSize.height / blockSize.height; in icvCalcOpticalFlowBM_8u32fR()
315 BorderWidth = imgSize.width % blockSize.width; in icvCalcOpticalFlowBM_8u32fR()
321 BorderHeight = imgSize.height % blockSize.height; in icvCalcOpticalFlowBM_8u32fR()
442 if( Y2 + CurrentHeight >= imgSize.height ) in icvCalcOpticalFlowBM_8u32fR()
452 if( X2 + CurrentWidth >= imgSize.width ) in icvCalcOpticalFlowBM_8u32fR()
Dcvoptflowlk.cpp86 CvSize imgSize, in icvCalcOpticalFlowLK_8u32fR() argument
110 int imageWidth = imgSize.width; in icvCalcOpticalFlowLK_8u32fR()
111 int imageHeight = imgSize.height; in icvCalcOpticalFlowLK_8u32fR()
203 MemX[k] = (float *) cvAlloc( (imgSize.height) * sizeof( float )); in icvCalcOpticalFlowLK_8u32fR()
207 MemY[k] = (float *) cvAlloc( (imgSize.width) * sizeof( float )); in icvCalcOpticalFlowLK_8u32fR()
Dcvcalibration.cpp1756 void cvCalibrationMatrixValues( const CvMat *calibMatr, CvSize imgSize, in cvCalibrationMatrixValues() argument
1761 int imgWidth = imgSize.width, imgHeight = imgSize.height; in cvCalibrationMatrixValues()
2403 const CvMat* F0, CvSize imgSize, CvMat* _H1, CvMat* _H2, double threshold ) in cvStereoRectifyUncalibrated() argument
2451 cx = cvRound( (imgSize.width-1)*0.5 ); in cvStereoRectifyUncalibrated()
2452 cy = cvRound( (imgSize.height-1)*0.5 ); in cvStereoRectifyUncalibrated()
/external/opencv3/modules/objdetect/src/
Dhog.cpp1329 Size imgSize = _img.size(); in ocl_compute() local
1330 Size effect_size = imgSize; in ocl_compute()
1332 UMat grad(imgSize, CV_32FC2); in ocl_compute()
1334 UMat qangle(imgSize, qangle_type); in ocl_compute()
1337 const Size blocks_per_img = numPartsWithin(imgSize, blockSize, blockStride); in ocl_compute()
1340 Size wins_per_img = numPartsWithin(imgSize, winSize, win_stride); in ocl_compute()
1403 Size imgSize = _img.size(); in compute() local
1408 Size paddedImgSize(imgSize.width + padding.width*2, imgSize.height + padding.height*2); in compute()
1732 Size imgSize = img.size(); in ocl_detect() local
1733 Size effect_size = imgSize; in ocl_detect()
[all …]
/external/skia/third_party/ktx/
Dktx.cpp314 uint32_t imgSize = this->readInt(&buf, &bytesLeft); in readKTXFile() local
317 if (bytesLeft < imgSize) { in readKTXFile()
326 PixelData pd(buf, imgSize); in readKTXFile()
332 uint32_t imgSizePadded = (imgSize + 3) & ~3; in readKTXFile()
/external/opencv3/modules/imgproc/src/
Dgrabcut.cpp345 static void initMaskWithRect( Mat& mask, Size imgSize, Rect rect ) in initMaskWithRect() argument
347 mask.create( imgSize, CV_8UC1 ); in initMaskWithRect()
352 rect.width = std::min(rect.width, imgSize.width-rect.x); in initMaskWithRect()
353 rect.height = std::min(rect.height, imgSize.height-rect.y); in initMaskWithRect()
Dsmooth.cpp2591 Size imgSize = _src.size(); in ocl_medianFilter() local
2593 (size_t)imgSize.width >= localsize[0] * 8 && in ocl_medianFilter()
2594 (size_t)imgSize.height >= localsize[1] * 8 && in ocl_medianFilter()
2595 imgSize.width % 4 == 0 && in ocl_medianFilter()
2596 imgSize.height % 4 == 0 && in ocl_medianFilter()
/external/opencv3/modules/objdetect/test/
Dtest_cascadeandhog.cpp308 Size imgSize = images[imageIdx].size(); in validate() local
309 float dist = min(imgSize.height, imgSize.width) * eps.dist; in validate()
310 float wDiff = imgSize.width * eps.s; in validate()
311 float hDiff = imgSize.height * eps.s; in validate()
340 float minDist = (float)norm( Point(imgSize.width, imgSize.height) ); in validate()
/external/opencv3/modules/features2d/src/
Devaluation.cpp222 …filterEllipticKeyPointsByImageSize( std::vector<EllipticKeyPoint>& keypoints, const Size& imgSize ) in filterEllipticKeyPointsByImageSize() argument
231 if( it->center.x + it->boundingBox.width < imgSize.width && in filterEllipticKeyPointsByImageSize()
233 it->center.y + it->boundingBox.height < imgSize.height && in filterEllipticKeyPointsByImageSize()
/external/opencv3/modules/calib3d/src/
Dcalibration.cpp1565 void cvCalibrationMatrixValues( const CvMat *calibMatr, CvSize imgSize, in cvCalibrationMatrixValues() argument
1570 int imgWidth = imgSize.width, imgHeight = imgSize.height; in cvCalibrationMatrixValues()
2098 const CvMat* R, const CvMat* newCameraMatrix, CvSize imgSize, in icvGetRectangles() argument
2108 pts[k++] = cvPoint2D32f((float)x*imgSize.width/(N-1), in icvGetRectangles()
2109 (float)y*imgSize.height/(N-1)); in icvGetRectangles()
2351 CvSize imgSize, double alpha, in cvGetOptimalNewCameraMatrix() argument
2356 newImgSize = newImgSize.width*newImgSize.height != 0 ? newImgSize : imgSize; in cvGetOptimalNewCameraMatrix()
2369 icvGetRectangles( cameraMatrix, distCoeffs, 0, cameraMatrix, imgSize, inner, outer ); in cvGetOptimalNewCameraMatrix()
2398 icvGetRectangles( cameraMatrix, distCoeffs, 0, 0, imgSize, inner, outer ); in cvGetOptimalNewCameraMatrix()
2420 icvGetRectangles( cameraMatrix, distCoeffs, 0, &matM, imgSize, inner, outer ); in cvGetOptimalNewCameraMatrix()
[all …]
/external/opencv3/modules/java/src/
Dcalib3d+Calib3d.java760 …public static boolean stereoRectifyUncalibrated(Mat points1, Mat points2, Mat F, Size imgSize, Mat… in stereoRectifyUncalibrated() argument
763 …ncalibrated_0(points1.nativeObj, points2.nativeObj, F.nativeObj, imgSize.width, imgSize.height, H1… in stereoRectifyUncalibrated()
769 …public static boolean stereoRectifyUncalibrated(Mat points1, Mat points2, Mat F, Size imgSize, Mat… in stereoRectifyUncalibrated() argument
772 …ncalibrated_1(points1.nativeObj, points2.nativeObj, F.nativeObj, imgSize.width, imgSize.height, H1… in stereoRectifyUncalibrated()
/external/opencv3/modules/video/src/
Dlkpyramid.cpp1234 Size imgSize = prevPyr[level * lvlStep1].size(); in calcOpticalFlowPyrLK() local
1235 Mat _derivI( imgSize.height + winSize.height*2, in calcOpticalFlowPyrLK()
1236 imgSize.width + winSize.width*2, derivIBuf.type(), derivIBuf.ptr() ); in calcOpticalFlowPyrLK()
1237 derivI = _derivI(Rect(winSize.width, winSize.height, imgSize.width, imgSize.height)); in calcOpticalFlowPyrLK()
/external/opencv/cvaux/include/
Dcvaux.h511 float imgSize[2]; /* size of the camera view, used during calibration */ member
1542 CvSize imgSize; variable
/external/opencv3/modules/calib3d/include/opencv2/
Dcalib3d.hpp1040 InputArray F, Size imgSize,

12