/external/opencv/cv/src/ |
H A 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[ 324 CvMat tilted_stub, *tilted = (CvMat*)tiltedSumImage; local [all...] |
H A D | mycvHaarDetectObjects.cpp | 107 CvMat sum, sqsum, tilted; member in struct:MyCvHidHaarClassifierCascade 221 int tilted = classifier->haar_feature[l].tilted; local 222 has_tilted_features |= tilted != 0; 226 (!tilted && 229 (tilted && (r.x - r.height < 0 || 639 CvMat tilted_stub, *tilted = (CvMat*)_tilted_sum; local 673 CV_CALL( tilted = cvGetMat( tilted, &tilted_stub, &coi1 )); 675 if( CV_MAT_TYPE(tilted 880 CvMat *tilted = 0, *norm_img = 0, *sumcanny = 0, *img_small = 0; local [all...] |
H A D | cvhaar.cpp | 107 CvMat sum, sqsum, tilted; member in struct:CvHidHaarClassifierCascade 239 int tilted = classifier->haar_feature[l].tilted; local 240 has_tilted_features |= tilted != 0; 244 (!tilted && 247 (tilted && (r.x - r.height < 0 || 440 CvMat tilted_stub, *tilted = (CvMat*)_tilted_sum; local 474 CV_CALL( tilted = cvGetMat( tilted, &tilted_stub, &coi1 )); 476 if( CV_MAT_TYPE(tilted 864 CvMat *temp = 0, *sum = 0, *tilted = 0, *sqsum = 0, *norm_img = 0, *sumcanny = 0, *img_small = 0; local [all...] |
/external/opencv3/modules/imgproc/perf/ |
H A D | perf_integral.cpp | 74 Mat tilted(sz, sdepth); 76 declare.in(src, WARMUP_RNG).out(sum, sqsum, tilted); 79 TEST_CYCLE() integral(src, sum, sqsum, tilted, sdepth); 83 SANITY_CHECK(tilted, 1e-6, tilted.depth() > CV_32S ? ERROR_RELATIVE : ERROR_ABSOLUTE);
|
/external/opencv3/modules/imgproc/src/ |
H A D | sumpixels.cpp | 80 int * tilted, size_t, 83 if (sqsum || tilted || cn != 1 || !haveSSE2) 149 QT* sqsum, size_t _sqsumstep, ST* tilted, size_t _tiltedstep, 157 tilted, _tiltedstep, 177 if( tilted ) 179 memset( tilted, 0, (size.width+cn)*sizeof(tilted[0])); 180 tilted += tiltedstep + cn; 183 if( sqsum == 0 && tilted == 0 ) 198 else if( tilted 77 operator ()(const uchar * src, size_t _srcstep, int * sum, size_t _sumstep, double * sqsum, size_t, int * tilted, size_t, Size size, int cn) const argument 148 integral_( const T* src, size_t _srcstep, ST* sum, size_t _sumstep, QT* sqsum, size_t _sqsumstep, ST* tilted, size_t _tiltedstep, Size size, int cn ) argument 451 Mat src = _src.getMat(), sum =_sum.getMat(), sqsum, tilted; local 552 cv::Mat sqsum0, sqsum, tilted0, tilted; local [all...] |
/external/opencv3/apps/traincascade/ |
H A D | haarfeatures.h | 51 float calc( const cv::Mat &sum, const cv::Mat &tilted, size_t y) const; 54 bool tilted; member in class:CvHaarEvaluator::Feature 69 cv::Mat tilted; /* tilted sum images (each row represents image) */ member in class:CvHaarEvaluator 76 return !nf ? 0.0f : (features[featureIdx].calc( sum, tilted, sampleIdx)/nf); 81 const int* img = tilted ? _tilted.ptr<int>((int)y) : _sum.ptr<int>((int)y);
|
H A D | haarfeatures.cpp | 93 tilted.create((int)_maxSampleCount, cols, CV_32SC1); 100 CV_DbgAssert( !sum.empty() && !tilted.empty() && !normfactor.empty() ); 103 Mat innTilted(winSize.height + 1, winSize.width + 1, tilted.type(), tilted.ptr<int>((int)idx)); 196 // tilted haar_x2 203 // tilted haar_y2 210 // tilted haar_x3 217 // tilted haar_y3 224 // tilted haar_x4 231 // tilted haar_y [all...] |
/external/opencv3/modules/objdetect/src/ |
H A D | cascadedetect_convert.cpp | 57 #define ICV_HAAR_TILTED_NAME "tilted" 76 tilted = false; 83 bool tilted; member in struct:cv::haar_cvt::HaarFeature 157 f.tilted = (int)fnode[ICV_HAAR_TILTED_NAME] != 0; 256 if( f.tilted ) 257 newfs << "tilted" << 1;
|
H A D | cascadedetect.hpp | 266 #define CC_TILTED "tilted" 283 #define CV_TILTED_PTRS( p0, p1, p2, p3, tilted, rect, step ) \ 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 ) \ 311 (p0) = tilted + (rect).x + (step) * (rect).y, \ 313 (p1) = tilted + (rect).x - (rect).height + (step) * ((rect).y + (rect).height), \ 315 (p2) = tilted 339 bool tilted; member in struct:cv::HaarEvaluator::Feature [all...] |
H A D | haar.cpp | 123 CvMat sum, sqsum, tilted; member in struct:CvHidHaarClassifierCascade 241 int tilted = classifier->haar_feature[l].tilted; local 242 has_tilted_features |= tilted != 0; 246 (!tilted && 249 (tilted && (r.x - r.height < 0 || 432 CvMat tilted_stub, *tilted = (CvMat*)_tilted_sum; local 466 tilted = cvGetMat( tilted, &tilted_stub, &coi1 ); 468 if( CV_MAT_TYPE(tilted 1501 cv::Ptr<CvMat> temp, sum, tilted, sqsum, normImg, sumcanny, imgSmall; local [all...] |
H A D | cascadedetect.cpp | 592 tilted = (int)node[CC_TILTED] != 0; 633 if( ff[i].tilted ) 680 UMat tilted(usbuf, Rect(sx, sty, s.szi.width, s.szi.height)); 681 integral(img, sum, sqsum, tilted, CV_32S, CV_32S); 697 Mat tilted(s.szi, CV_32S, sum.ptr<int>() + tofs, sbuf.step); 698 integral(img, sum, sqsum, tilted, CV_32S, CV_32S); 763 if( _f.tilted )
|
/external/opencv3/modules/objdetect/include/opencv2/objdetect/ |
H A D | objdetect_c.h | 75 int tilted; member in struct:CvHaarFeature
|
/external/opencv/cv/include/ |
H A D | cvtypes.h | 329 int tilted; member in struct:CvHaarFeature
|
/external/opencv3/modules/imgproc/test/ |
H A D | test_filter.cpp | 1660 static void test_integral( const Mat& img, Mat* sum, Mat* sqsum, Mat* tilted ) 1667 if( tilted ) 1668 tilted->create(img.rows+1, img.cols+1, CV_64F); 1673 double* tdata = tilted ? tilted->ptr<double>() : 0; 1677 int tstep = tilted ? (int)(tilted->step/sizeof(tdata[0])) : 0; 1683 if( tilted )
|
/external/opencv3/modules/imgproc/misc/java/test/ |
H A D | ImgprocTest.java | 1241 Mat tilted = new Mat(); 1252 Imgproc.integral3(src, sum, sqsum, tilted); 1256 assertMatEqual(expTilted, tilted, EPS); 1266 Mat tilted = new Mat(); 1277 Imgproc.integral3(src, sum, sqsum, tilted, CvType.CV_64F, CvType.CV_64F); 1281 assertMatEqual(expTilted, tilted, EPS);
|
/external/opencv3/modules/java/src/ |
H A D | imgproc+Imgproc.java | 1478 // C++: void integral(Mat src, Mat& sum, Mat& sqsum, Mat& tilted, int sdepth = -1, int sqdepth = -1) 1481 //javadoc: integral(src, sum, sqsum, tilted, sdepth, sqdepth) 1482 public static void integral3(Mat src, Mat sum, Mat sqsum, Mat tilted, int sdepth, int sqdepth) argument 1485 integral3_0(src.nativeObj, sum.nativeObj, sqsum.nativeObj, tilted.nativeObj, sdepth, sqdepth); 1490 //javadoc: integral(src, sum, sqsum, tilted) 1491 public static void integral3(Mat src, Mat sum, Mat sqsum, Mat tilted) argument 1494 integral3_1(src.nativeObj, sum.nativeObj, sqsum.nativeObj, tilted.nativeObj); 3048 // C++: void integral(Mat src, Mat& sum, Mat& sqsum, Mat& tilted, int sdepth = -1, int sqdepth = -1)
|
H A D | imgproc.cpp | 3059 // void integral(Mat src, Mat& sum, Mat& sqsum, Mat& tilted, int sdepth = -1, int sqdepth = -1) 3073 Mat& tilted = *((Mat*)tilted_nativeObj); local 3074 cv::integral( src, sum, sqsum, tilted, (int)sdepth, (int)sqdepth ); 3097 Mat& tilted = *((Mat*)tilted_nativeObj); local 3098 cv::integral( src, sum, sqsum, tilted );
|
/external/opencv3/modules/imgproc/include/opencv2/ |
H A D | imgproc.hpp | 2253 \f[\texttt{tilted} (X,Y) = \sum _{y<Y,abs(x-X+1) \leq Y-y-1} \texttt{image} (x,y)\f] 2264 rectangle Rect(3,3,3,2) and of a tilted rectangle Rect(5,1,2,3) . The selected pixels in the 2265 original image are shown, as well as the relative pixels in the integral images sum and tilted . 2273 @param tilted integral for the image rotated by 45 degrees; it is \f$(W+1)\times (H+1)\f$ array with 2275 @param sdepth desired depth of the integral and the tilted integral images, CV_32S, CV_32F, or 2280 OutputArray sqsum, OutputArray tilted,
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
H A D | NCVHaarObjectDetection.cu | 2207 Ncv32u tiltedVal = feature->tilted;
|