/external/opencv/cv/src/ |
D | cvsumpixels.cpp | 50 sumtype* tilted, int tiltedstep,\ 71 if( tilted ) \ 73 memset( tilted, 0, (size.width+1)*sizeof(tilted[0])); \ 74 tiltedstep /= sizeof(tilted[0]); \ 75 tilted += tiltedstep + 1; \ 78 if( sqsum == 0 && tilted == 0 ) \ 92 else if( tilted == 0 ) \ 123 sum[-1] = tilted[-1] = 0; \ 131 buf[x] = tilted[x] = t; \ 150 tilted += tiltedstep; \ [all …]
|
D | mycvHaarDetectObjects.cpp | 107 CvMat sum, sqsum, tilted; member 221 int tilted = classifier->haar_feature[l].tilted; in myicvCreateHidHaarClassifierCascade() local 222 has_tilted_features |= tilted != 0; in myicvCreateHidHaarClassifierCascade() 226 (!tilted && in myicvCreateHidHaarClassifierCascade() 229 (tilted && (r.x - r.height < 0 || in myicvCreateHidHaarClassifierCascade() 639 CvMat tilted_stub, *tilted = (CvMat*)_tilted_sum; in mycvSetImagesForHaarClassifierCascade() local 673 CV_CALL( tilted = cvGetMat( tilted, &tilted_stub, &coi1 )); in mycvSetImagesForHaarClassifierCascade() 675 if( CV_MAT_TYPE(tilted->type) != CV_32SC1 ) in mycvSetImagesForHaarClassifierCascade() 679 if( sum->step != tilted->step ) in mycvSetImagesForHaarClassifierCascade() 683 if( !CV_ARE_SIZES_EQ( sum, tilted )) in mycvSetImagesForHaarClassifierCascade() [all …]
|
D | cvhaar.cpp | 107 CvMat sum, sqsum, tilted; member 239 int tilted = classifier->haar_feature[l].tilted; in icvCreateHidHaarClassifierCascade() local 240 has_tilted_features |= tilted != 0; in icvCreateHidHaarClassifierCascade() 244 (!tilted && in icvCreateHidHaarClassifierCascade() 247 (tilted && (r.x - r.height < 0 || in icvCreateHidHaarClassifierCascade() 440 CvMat tilted_stub, *tilted = (CvMat*)_tilted_sum; in cvSetImagesForHaarClassifierCascade() local 474 CV_CALL( tilted = cvGetMat( tilted, &tilted_stub, &coi1 )); in cvSetImagesForHaarClassifierCascade() 476 if( CV_MAT_TYPE(tilted->type) != CV_32SC1 ) in cvSetImagesForHaarClassifierCascade() 480 if( sum->step != tilted->step ) in cvSetImagesForHaarClassifierCascade() 484 if( !CV_ARE_SIZES_EQ( sum, tilted )) in cvSetImagesForHaarClassifierCascade() [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | sumpixels.cpp | 80 int * tilted, size_t, in operator ()() 83 if (sqsum || tilted || cn != 1 || !haveSSE2) in operator ()() 149 QT* sqsum, size_t _sqsumstep, ST* tilted, size_t _tiltedstep, in integral_() argument 157 tilted, _tiltedstep, in integral_() 177 if( tilted ) in integral_() 179 memset( tilted, 0, (size.width+cn)*sizeof(tilted[0])); in integral_() 180 tilted += tiltedstep + cn; in integral_() 183 if( sqsum == 0 && tilted == 0 ) in integral_() 198 else if( tilted == 0 ) in integral_() 226 for( k = 0; k < cn; k++, src++, sum++, tilted++, buf++ ) in integral_() [all …]
|
/external/opencv3/modules/imgproc/perf/ |
D | perf_integral.cpp | 74 Mat tilted(sz, sdepth); in PERF_TEST_P() local 76 declare.in(src, WARMUP_RNG).out(sum, sqsum, tilted); in PERF_TEST_P() 79 TEST_CYCLE() integral(src, sum, sqsum, tilted, sdepth); in PERF_TEST_P() 83 SANITY_CHECK(tilted, 1e-6, tilted.depth() > CV_32S ? ERROR_RELATIVE : ERROR_ABSOLUTE); in PERF_TEST_P()
|
/external/opencv3/apps/traincascade/ |
D | haarfeatures.h | 51 float calc( const cv::Mat &sum, const cv::Mat &tilted, size_t y) const; 54 bool tilted; variable 69 cv::Mat tilted; /* tilted sum images (each row represents image) */ variable 76 return !nf ? 0.0f : (features[featureIdx].calc( sum, tilted, sampleIdx)/nf); in operator() 81 const int* img = tilted ? _tilted.ptr<int>((int)y) : _sum.ptr<int>((int)y); in calc()
|
D | haarfeatures.cpp | 93 tilted.create((int)_maxSampleCount, cols, CV_32SC1); in init() 100 CV_DbgAssert( !sum.empty() && !tilted.empty() && !normfactor.empty() ); in setImage() 103 Mat innTilted(winSize.height + 1, winSize.width + 1, tilted.type(), tilted.ptr<int>((int)idx)); in setImage() 248 tilted = false; in Feature() 258 tilted = _tilted; in Feature() 278 if( !tilted ) in Feature() 306 fs << "]" << CC_TILTED << tilted; in write()
|
/external/opencv3/modules/objdetect/src/ |
D | cascadedetect.hpp | 283 #define CV_TILTED_PTRS( p0, p1, p2, p3, tilted, rect, step ) \ argument 285 (p0) = tilted + (rect).x + (step) * (rect).y, \ 287 (p1) = tilted + (rect).x - (rect).height + (step) * ((rect).y + (rect).height), \ 289 (p2) = tilted + (rect).x + (rect).width + (step) * ((rect).y + (rect).width), \ 291 (p3) = tilted + (rect).x + (rect).width - (rect).height \ 309 #define CV_TILTED_OFS( p0, p1, p2, p3, tilted, rect, step ) \ argument 311 (p0) = tilted + (rect).x + (step) * (rect).y, \ 313 (p1) = tilted + (rect).x - (rect).height + (step) * ((rect).y + (rect).height), \ 315 (p2) = tilted + (rect).x + (rect).width + (step) * ((rect).y + (rect).width), \ 317 (p3) = tilted + (rect).x + (rect).width - (rect).height \ [all …]
|
D | cascadedetect_convert.cpp | 76 tilted = false; in HaarFeature() 83 bool tilted; member 157 f.tilted = (int)fnode[ICV_HAAR_TILTED_NAME] != 0; in convert() 256 if( f.tilted ) in convert()
|
D | haar.cpp | 123 CvMat sum, sqsum, tilted; member 241 int tilted = classifier->haar_feature[l].tilted; in icvCreateHidHaarClassifierCascade() local 242 has_tilted_features |= tilted != 0; in icvCreateHidHaarClassifierCascade() 246 (!tilted && in icvCreateHidHaarClassifierCascade() 249 (tilted && (r.x - r.height < 0 || in icvCreateHidHaarClassifierCascade() 432 CvMat tilted_stub, *tilted = (CvMat*)_tilted_sum; in cvSetImagesForHaarClassifierCascade() local 466 tilted = cvGetMat( tilted, &tilted_stub, &coi1 ); in cvSetImagesForHaarClassifierCascade() 468 if( CV_MAT_TYPE(tilted->type) != CV_32SC1 ) in cvSetImagesForHaarClassifierCascade() 472 if( sum->step != tilted->step ) in cvSetImagesForHaarClassifierCascade() 476 if( !CV_ARE_SIZES_EQ( sum, tilted )) in cvSetImagesForHaarClassifierCascade() [all …]
|
D | cascadedetect.cpp | 592 tilted = (int)node[CC_TILTED] != 0; in read() 633 if( ff[i].tilted ) in read() 680 UMat tilted(usbuf, Rect(sx, sty, s.szi.width, s.szi.height)); in computeChannels() local 681 integral(img, sum, sqsum, tilted, CV_32S, CV_32S); in computeChannels() 697 Mat tilted(s.szi, CV_32S, sum.ptr<int>() + tofs, sbuf.step); in computeChannels() local 698 integral(img, sum, sqsum, tilted, CV_32S, CV_32S); in computeChannels() 763 if( _f.tilted ) in setOffsets()
|
/external/opencv3/modules/objdetect/include/opencv2/objdetect/ |
D | objdetect_c.h | 75 int tilted; member
|
/external/opencv3/modules/imgproc/test/ |
D | test_filter.cpp | 1660 static void test_integral( const Mat& img, Mat* sum, Mat* sqsum, Mat* tilted ) in test_integral() argument 1667 if( tilted ) in test_integral() 1668 tilted->create(img.rows+1, img.cols+1, CV_64F); in test_integral() 1673 double* tdata = tilted ? tilted->ptr<double>() : 0; in test_integral() 1677 int tstep = tilted ? (int)(tilted->step/sizeof(tdata[0])) : 0; in test_integral() 1683 if( tilted ) in test_integral()
|
/external/opencv/cv/include/ |
D | cvtypes.h | 329 int tilted; member
|
/external/opencv3/doc/py_tutorials/py_bindings/py_bindings_basics/ |
D | py_bindings_basics.markdown | 105 //! computes the integral image, integral for the squared image and the tilted integral image 107 OutputArray sqsum, OutputArray tilted,
|
/external/opencv3/modules/imgproc/misc/java/test/ |
D | ImgprocTest.java | 1241 Mat tilted = new Mat(); in testIntegral3MatMatMatMat() local 1252 Imgproc.integral3(src, sum, sqsum, tilted); in testIntegral3MatMatMatMat() 1256 assertMatEqual(expTilted, tilted, EPS); in testIntegral3MatMatMatMat() 1266 Mat tilted = new Mat(); in testIntegral3MatMatMatMatInt() local 1277 Imgproc.integral3(src, sum, sqsum, tilted, CvType.CV_64F, CvType.CV_64F); in testIntegral3MatMatMatMatInt() 1281 assertMatEqual(expTilted, tilted, EPS); in testIntegral3MatMatMatMatInt()
|
/external/opencv3/modules/java/src/ |
D | imgproc+Imgproc.java | 1482 public static void integral3(Mat src, Mat sum, Mat sqsum, Mat tilted, int sdepth, int sqdepth) in integral3() argument 1485 … integral3_0(src.nativeObj, sum.nativeObj, sqsum.nativeObj, tilted.nativeObj, sdepth, sqdepth); in integral3() 1491 public static void integral3(Mat src, Mat sum, Mat sqsum, Mat tilted) in integral3() argument 1494 integral3_1(src.nativeObj, sum.nativeObj, sqsum.nativeObj, tilted.nativeObj); in integral3()
|
D | imgproc.cpp | 3073 Mat& tilted = *((Mat*)tilted_nativeObj); in Java_org_opencv_imgproc_Imgproc_integral3_10() local 3074 cv::integral( src, sum, sqsum, tilted, (int)sdepth, (int)sqdepth ); in Java_org_opencv_imgproc_Imgproc_integral3_10() 3097 Mat& tilted = *((Mat*)tilted_nativeObj); in Java_org_opencv_imgproc_Imgproc_integral3_11() local 3098 cv::integral( src, sum, sqsum, tilted ); in Java_org_opencv_imgproc_Imgproc_integral3_11()
|
/external/opencv3/modules/imgproc/include/opencv2/ |
D | imgproc.hpp | 2280 OutputArray sqsum, OutputArray tilted,
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
D | NCVHaarObjectDetection.cu | 2207 Ncv32u tiltedVal = feature->tilted; in loadFromXML()
|