/external/opencv/cv/src/ |
cvsumpixels.cpp | 49 sqsumtype* sqsum, int sqsumstep,\ 64 if( sqsum ) \ 66 memset( sqsum, 0, (size.width+1)*sizeof(sqsum[0])); \ 67 sqsumstep /= sizeof(sqsum[0]); \ 68 sqsum += sqsumstep + 1; \ 78 if( sqsum == 0 && tilted == 0 ) \ 95 sum += sumstep, sqsum += sqsumstep ) \ 98 sqsum[-1] = 0; \ 108 tq = sqsum[x - sqsumstep] + sq; 323 CvMat sqsum_stub, *sqsum = (CvMat*)sumSqImage; local [all...] |
mycvHaarDetectObjects.cpp | 107 CvMat sum, sqsum, tilted; member in struct:MyCvHidHaarClassifierCascade 503 pq_offset = pt.y * (cascade->sqsum.step/sizeof(sqsumtype)) + pt.x; 622 #define sqsum_elem_ptr(sqsum,row,col) \ 623 ((sqsumtype*)CV_MAT_ELEM_PTR_FAST((sqsum),(row),(col),sizeof(sqsumtype))) 638 CvMat sqsum_stub, *sqsum = (CvMat*)_sqsum; local 653 CV_CALL( sqsum = cvGetMat( sqsum, &sqsum_stub, &coi1 )); 658 if( !CV_ARE_SIZES_EQ( sum, sqsum )) 661 if( CV_MAT_TYPE(sqsum->type) != CV_64FC1 || 664 "Only (32s, 64f, 32s) combination of (sum,sqsum,tilted_sum) formats is allowed" ) 868 CvMat *temp = 0, *sum = 0, *sqsum = 0; variable [all...] |
cvtemplmatch.cpp | 327 CvMat* sqsum = 0; local 436 CV_CALL( sqsum = cvCreateMat( img->rows + 1, img->cols + 1, 438 CV_CALL( cvIntegral( img, sum, sqsum, 0 )); 464 q0 = (double*)sqsum->data.ptr; 466 q2 = (double*)(sqsum->data.ptr + templ->rows*sqsum->step); 476 sqsum_step = sqsum ? sqsum->step / sizeof(double) : 0; 533 cvReleaseMat( &sqsum );
|
cvhaar.cpp | 107 CvMat sum, sqsum, tilted; member in struct:CvHidHaarClassifierCascade 420 #define sqsum_elem_ptr(sqsum,row,col) \ 421 ((sqsumtype*)CV_MAT_ELEM_PTR_FAST((sqsum),(row),(col),sizeof(sqsumtype))) 439 CvMat sqsum_stub, *sqsum = (CvMat*)_sqsum; local 454 CV_CALL( sqsum = cvGetMat( sqsum, &sqsum_stub, &coi1 )); 459 if( !CV_ARE_SIZES_EQ( sum, sqsum )) 462 if( CV_MAT_TYPE(sqsum->type) != CV_64FC1 || 465 "Only (32s, 64f, 32s) combination of (sum,sqsum,tilted_sum) formats is allowed" ); 478 "Only (32s, 64f, 32s) combination of (sum,sqsum,tilted_sum) formats is allowed" ) 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/ |
perf_integral.cpp | 48 Mat sqsum(sz, sdepth); 50 declare.in(src, WARMUP_RNG).out(sum, sqsum); 53 TEST_CYCLE() integral(src, sum, sqsum, sdepth); 56 SANITY_CHECK(sqsum, 1e-6); 73 Mat sqsum(sz, sdepth); 76 declare.in(src, WARMUP_RNG).out(sum, sqsum, tilted); 79 TEST_CYCLE() integral(src, sum, sqsum, tilted, sdepth); 82 SANITY_CHECK(sqsum, 1e-6);
|
/external/opencv3/modules/imgproc/src/ |
sumpixels.cpp | 79 double * sqsum, size_t, 83 if (sqsum || tilted || cn != 1 || !haveSSE2) 149 QT* sqsum, size_t _sqsumstep, ST* tilted, size_t _tiltedstep, 156 sqsum, _sqsumstep, 171 if( sqsum ) 173 memset( sqsum, 0, (size.width+cn)*sizeof(sqsum[0])); 174 sqsum += sqsumstep + cn; 183 if( sqsum == 0 && tilted == 0 ) 201 sum += sumstep - cn, sqsum += sqsumstep - cn 451 Mat src = _src.getMat(), sum =_sum.getMat(), sqsum, tilted; local 552 cv::Mat sqsum0, sqsum, tilted0, tilted; local [all...] |
templmatch.cpp | [all...] |
/external/opencv3/modules/imgproc/src/opencl/ |
match_template.cl | 252 __global const float * sqsum = (__global const float *)(src_sqsums); 256 float image_sqsum_ = (float)(sqsum[SQSUMS_PTR(template_cols, template_rows)] - sqsum[SQSUMS_PTR(template_cols, 0)] - 257 sqsum[SQSUMS_PTR(0, template_rows)] + sqsum[SQSUMS_PTR(0, 0)]); 310 __global const float * sqsum = (__global const float *)(src_sqsums); 312 (sqsum[SQSUMS_PTR(template_cols, template_rows)] - sqsum[SQSUMS_PTR(template_cols, 0)]) - 313 (sqsum[SQSUMS_PTR(0, template_rows)] - sqsum[SQSUMS_PTR(0, 0)])) [all...] |
/external/opencv3/apps/traincascade/ |
features.cpp | 9 float calcNormFactor( const Mat& sum, const Mat& sqSum ) 11 CV_DbgAssert( sum.cols > 3 && sqSum.rows > 3 ); 18 const double *sqp = sqSum.ptr<double>();
|
traincascade_features.h | 30 float calcNormFactor( const cv::Mat& sum, const cv::Mat& sqSum );
|
/external/opencv3/modules/core/src/ |
stat.cpp | 753 int operator () (const uchar * src0, const uchar * mask, int * sum, int * sqsum, int len, int cn) const 802 sqsum[j] += ar[4 + j + i]; 812 int operator () (const schar * src0, const uchar * mask, int * sum, int * sqsum, int len, int cn) const 861 sqsum[j] += ar[4 + j + i]; 871 static int sumsqr_(const T* src0, const uchar* mask, ST* sum, SQT* sqsum, int len, int cn ) 878 int i = vop(src0, mask, sum, sqsum, len, cn), k = cn % 4; 884 SQT sq0 = sqsum[0]; 891 sqsum[0] = sq0; 896 SQT sq0 = sqsum[0], sq1 = sqsum[1] [all...] |
/external/opencv3/modules/imgproc/perf/opencl/ |
perf_imgproc.cpp | 245 UMat src(srcSize, CV_8UC1), sum(srcSize + Size(1, 1), ddepth), sqsum(srcSize + Size(1, 1), CV_32F); 246 declare.in(src, WARMUP_RNG).out(sum, sqsum); 248 OCL_TEST_CYCLE() cv::integral(src, sum, sqsum, ddepth, CV_32F); 251 SANITY_CHECK(sqsum, 5e-5, ERROR_RELATIVE);
|
/external/opencv3/modules/cudalegacy/src/ |
fgd.cpp | 185 Vec3d sqsum(0.0, 0.0, 0.0); 191 sqsum[0] += static_cast<double>(j * j) * hist[j]; 195 sqsum[1] += static_cast<double>(j * j) * hist[j + 256]; 199 sqsum[2] += static_cast<double>(j * j) * hist[j + 512]; 213 relativeVariance[0][thres] = std::sqrt(sqsum[0] / count[0] - my[0] * my[0]); 214 relativeVariance[1][thres] = std::sqrt(sqsum[1] / count[1] - my[1] * my[1]); 215 relativeVariance[2][thres] = std::sqrt(sqsum[2] / count[2] - my[2] * my[2]);
|
/external/opencv3/modules/objdetect/include/opencv2/objdetect/ |
objdetect_c.h | 143 const CvArr* sum, const CvArr* sqsum,
|
/external/opencv3/modules/objdetect/src/ |
haar.cpp | 123 CvMat sum, sqsum, tilted; member in struct:CvHidHaarClassifierCascade 413 #define sqsum_elem_ptr(sqsum,row,col) \ 414 ((sqsumtype*)CV_MAT_ELEM_PTR_FAST((sqsum),(row),(col),sizeof(sqsumtype))) 431 CvMat sqsum_stub, *sqsum = (CvMat*)_sqsum; local 446 sqsum = cvGetMat( sqsum, &sqsum_stub, &coi1 ); 451 if( !CV_ARE_SIZES_EQ( sum, sqsum )) 454 if( CV_MAT_TYPE(sqsum->type) != CV_64FC1 || 457 "Only (32s, 64f, 32s) combination of (sum,sqsum,tilted_sum) formats is allowed" ); 470 "Only (32s, 64f, 32s) combination of (sum,sqsum,tilted_sum) formats is allowed" ) 1501 cv::Ptr<CvMat> temp, sum, tilted, sqsum, normImg, sumcanny, imgSmall; local [all...] |
cascadedetect.cpp | 674 UMat sqsum(usbuf, Rect(sx, sqy, s.szi.width, s.szi.height)); 675 sqsum.flags = (sqsum.flags & ~UMat::DEPTH_MASK) | CV_32S; 681 integral(img, sum, sqsum, tilted, CV_32S, CV_32S); 685 UMatData* u = sqsum.u; 686 integral(img, sum, sqsum, noArray(), CV_32S, CV_32S); 687 CV_Assert(sqsum.u == u && sqsum.size() == s.szi && sqsum.type()==CV_32S); 693 Mat sqsum(s.szi, CV_32S, sum.ptr<int>() + sqofs, sbuf.step) [all...] |
/external/opencv/cvaux/src/ |
cvbgfg_acmmm2003.cpp | 270 double sqsum=0; local 275 sqsum += double(j*j)*double(HISTOGRAM[j]); 281 double sigma = sqrt( sqsum/count - my*my); 282 // fprintf(stderr, "Iter %d sum=%g sqsum=%g count=%d sigma = %g\n", thres, sum, sqsum, count, sigma);
|
/external/opencv3/modules/imgproc/misc/java/test/ |
ImgprocTest.java | 1193 Mat sqsum = new Mat(); local 1216 Mat sqsum = new Mat(); local 1240 Mat sqsum = new Mat(); local 1265 Mat sqsum = new Mat(); local [all...] |
/external/opencv3/doc/py_tutorials/py_bindings/py_bindings_basics/ |
py_bindings_basics.markdown | 103 OutputArray sqsum, int sdepth = -1, int sqdepth = -1 ); 107 OutputArray sqsum, OutputArray tilted,
|
/external/opencv/cxcore/src/ |
cxmeansdv.cpp | 404 ICV_MEAN_SDV_EXIT_C##cn( sum, sqsum ); \ 464 ICV_MEAN_SDV_EXIT_C1( sum, sqsum ); \ 523 ICV_MEAN_SDV_EXIT_C##cn( sum, sqsum ); \ 583 ICV_MEAN_SDV_EXIT_C1( sum, sqsum ); \ [all...] |
/external/opencv3/modules/imgproc/test/ |
test_filter.cpp | [all...] |
/external/opencv3/modules/java/src/ |
imgproc+Imgproc.java | [all...] |
/external/deqp/framework/common/ |
tcuVectorUtil.hpp | 137 T sqSum = T(); 139 sqSum += a.m_data[i] * a.m_data[i]; 140 return sqSum;
|
/external/opencv/cv/include/ |
cv.h | 94 CvArr* sqsum CV_DEFAULT(NULL), 558 CVAPI(void) cvSquareAcc( const CvArr* image, CvArr* sqsum, [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
random.py | 837 sqsum = 0.0 844 sqsum = sqsum + x*x 850 stddev = _sqrt(sqsum/n - avg*avg)
|