/external/opencv/cv/src/ |
D | cvcamshift.cpp | 93 eps = cvRound( criteria.epsilon * criteria.epsilon ); in cvMeanShift() 108 dx = cvRound( moments.m10 * inv_m00 - windowIn.width*0.5 ); in cvMeanShift() 109 dy = cvRound( moments.m01 * inv_m00 - windowIn.height*0.5 ); in cvMeanShift() 225 xc = cvRound( m10 * inv_m00 + windowIn.x ); in cvCamShift() 226 yc = cvRound( m01 * inv_m00 + windowIn.y ); in cvCamShift() 260 int _xc = cvRound( xc ); in cvCamShift() 261 int _yc = cvRound( yc ); in cvCamShift() 263 t0 = cvRound( fabs( length * cs )); in cvCamShift() 264 t1 = cvRound( fabs( width * sn )); in cvCamShift() 269 t0 = cvRound( fabs( length * sn )); in cvCamShift() [all …]
|
D | mycvHaarDetectObjects.cpp | 123 int distance = cvRound(r1->width*0.2); in myis_equal() 129 r2->width <= cvRound( r1->width * 1.2 ) && in myis_equal() 130 cvRound( r2->width * 1.2 ) >= r1->width; in myis_equal() 689 _cascade->real_window_size.width = cvRound( _cascade->orig_window_size.width * scale ); in mycvSetImagesForHaarClassifierCascade() 690 _cascade->real_window_size.height = cvRound( _cascade->orig_window_size.height * scale ); in mycvSetImagesForHaarClassifierCascade() 695 equ_rect.x = equ_rect.y = cvRound(scale); in mycvSetImagesForHaarClassifierCascade() 696 equ_rect.width = cvRound((_cascade->orig_window_size.width-2)*scale); in mycvSetImagesForHaarClassifierCascade() 697 equ_rect.height = cvRound((_cascade->orig_window_size.height-2)*scale); in mycvSetImagesForHaarClassifierCascade() 769 new_base_w = cvRound( r[0].width * scale ) / kx; in mycvSetImagesForHaarClassifierCascade() 770 x0 = cvRound( r[0].x * scale ); in mycvSetImagesForHaarClassifierCascade() [all …]
|
D | cvsegmentation.cpp | 349 int isr2 = cvRound(sr2), isr22 = MAX(isr2,16); in cvPyrMeanShiftFiltering() 464 minx = cvRound(x0 - sp); minx = MAX(minx, 0); in cvPyrMeanShiftFiltering() 465 miny = cvRound(y0 - sp); miny = MAX(miny, 0); in cvPyrMeanShiftFiltering() 466 maxx = cvRound(x0 + sp); maxx = MIN(maxx, size.width-1); in cvPyrMeanShiftFiltering() 467 maxy = cvRound(y0 + sp); maxy = MIN(maxy, size.height-1); in cvPyrMeanShiftFiltering() 519 x1 = cvRound(sx*icount); in cvPyrMeanShiftFiltering() 520 y1 = cvRound(sy*icount); in cvPyrMeanShiftFiltering() 521 s0 = cvRound(s0*icount); in cvPyrMeanShiftFiltering() 522 s1 = cvRound(s1*icount); in cvPyrMeanShiftFiltering() 523 s2 = cvRound(s2*icount); in cvPyrMeanShiftFiltering()
|
D | cvpgh.cpp | 251 dp = cvRound( dp * angle_coeff * buffer[j] ) + in icvCalcPGH() 256 cvRound( icv_acos_table[dp] * angle_scale ); in icvCalcPGH() 258 d1 = cvRound( d1 * dist_coeff ); in icvCalcPGH() 259 d2 = cvRound( d2 * dist_coeff ); in icvCalcPGH()
|
D | cvhaar.cpp | 490 _cascade->real_window_size.width = cvRound( _cascade->orig_window_size.width * scale ); in cvSetImagesForHaarClassifierCascade() 491 _cascade->real_window_size.height = cvRound( _cascade->orig_window_size.height * scale ); in cvSetImagesForHaarClassifierCascade() 496 equ_rect.x = equ_rect.y = cvRound(scale); in cvSetImagesForHaarClassifierCascade() 497 equ_rect.width = cvRound((_cascade->orig_window_size.width-2)*scale); in cvSetImagesForHaarClassifierCascade() 498 equ_rect.height = cvRound((_cascade->orig_window_size.height-2)*scale); in cvSetImagesForHaarClassifierCascade() 570 new_base_w = cvRound( r[0].width * scale ) / kx; in cvSetImagesForHaarClassifierCascade() 571 x0 = cvRound( r[0].x * scale ); in cvSetImagesForHaarClassifierCascade() 577 new_base_h = cvRound( r[0].height * scale ) / ky; in cvSetImagesForHaarClassifierCascade() 578 y0 = cvRound( r[0].y * scale ); in cvSetImagesForHaarClassifierCascade() 596 tr.x = cvRound( r[k].x * scale ); in cvSetImagesForHaarClassifierCascade() [all …]
|
D | cvhough.cpp | 114 numangle = cvRound(CV_PI / theta); in CV_IMPLEMENT_QSORT_EX() 115 numrho = cvRound(((width + height) * 2 + 1) / rho); in CV_IMPLEMENT_QSORT_EX() 136 r = cvRound( j * tabCos[n] + i * tabSin[n] ); in CV_IMPLEMENT_QSORT_EX() 514 numangle = cvRound(CV_PI / theta); in icvHoughLinesProbabalistic() 515 numrho = cvRound(((width + height) * 2 + 1) / rho); in icvHoughLinesProbabalistic() 581 r = cvRound( j * ttab[n*2] + i * ttab[n*2+1] ); in icvHoughLinesProbabalistic() 605 dy0 = cvRound( b*(1 << shift)/fabs(a) ); in icvHoughLinesProbabalistic() 612 dx0 = cvRound( a*(1 << shift)/fabs(b) ); in icvHoughLinesProbabalistic() 702 r = cvRound( j1 * ttab[n*2] + i1 * ttab[n*2+1] ); in icvHoughLinesProbabalistic() 807 iparam1 = cvRound(param1); in cvHoughLines2() [all …]
|
D | cvdominants.cpp | 380 int dmin = cvRound(parameter1); in cvFindDominantPoints() 381 int dmax = cvRound(parameter2); in cvFindDominantPoints() 382 int dneigh = cvRound(parameter3); in cvFindDominantPoints() 383 int amax = cvRound(parameter4); in cvFindDominantPoints()
|
D | cvpyrsegmentation.cpp | 1439 _c.i = cvRound( cmp->c ); in icvSegmentClusterC1() 1530 c = cvRound( temp_cmp.c / temp_cmp.a ); in icvSegmentClusterC1() 1534 c = cvRound( c0 ); in icvSegmentClusterC1() 1618 c_blue = cvRound( cmp->c.blue ); in icvSegmentClusterC3() 1619 c_green = cvRound( cmp->c.green ); in icvSegmentClusterC3() 1620 c_red = cvRound( cmp->c.red ); in icvSegmentClusterC3() 1717 c_blue = cvRound( temp_cmp.c.blue / temp_cmp.a ); in icvSegmentClusterC3() 1718 c_green = cvRound( temp_cmp.c.green / temp_cmp.a ); in icvSegmentClusterC3() 1719 c_red = cvRound( temp_cmp.c.red / temp_cmp.a ); in icvSegmentClusterC3() 1723 c_blue = cvRound( c0.blue ); in icvSegmentClusterC3() [all …]
|
D | cvimgwarp.cpp | 443 ify = cvRound(fy*ICV_CUBIC_TAB_SIZE); \ 541 ICV_DEF_RESIZE_BILINEAR_FUNC( 16u, ushort, float, alpha, CV_NOP, cvRound ) 544 ICV_DEF_RESIZE_BICUBIC_FUNC( 8u, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U ) 545 ICV_DEF_RESIZE_BICUBIC_FUNC( 16u, ushort, int, CV_NOP, cvRound, CV_CAST_16U ) 548 ICV_DEF_RESIZE_AREA_FAST_FUNC( 8u, uchar, int, cvRound ) 549 ICV_DEF_RESIZE_AREA_FAST_FUNC( 16u, ushort, int, cvRound ) 552 ICV_DEF_RESIZE_AREA_FUNC( 8u, uchar, CV_8TO32F, cvRound ) 553 ICV_DEF_RESIZE_AREA_FUNC( 16u, ushort, CV_NOP, cvRound ) 711 int iscale_x = cvRound(scale_x); in cvResize() 712 int iscale_y = cvRound(scale_y); in cvResize() [all …]
|
D | cvcalccontrasthistogram.cpp | 111 array[i] = cvRound( hist->array[i] ); 226 array[i] = cvRound( hist->array[i] );
|
/external/opencv/cvaux/src/ |
D | _cvfacedetection.h | 148 …CvRect LeftEyeRect = cvRect(cvRound(rect.x - (dEyeWidth + dDistanceBetweenEye/(double)2 - (double)… in MouthFaceTemplate() 149 cvRound(rect.y - dDistanceEyeAboveMouth - dEyeHeight), in MouthFaceTemplate() 150 cvRound(dEyeWidth), in MouthFaceTemplate() 151 cvRound(dEyeHeight) ); in MouthFaceTemplate() 153 …CvRect RightEyeRect = cvRect(cvRound(rect.x + (double)rect.width/(double)2 + dDistanceBetweenEye/(… in MouthFaceTemplate() 154 cvRound(rect.y - dDistanceEyeAboveMouth - dEyeHeight), in MouthFaceTemplate() 155 cvRound(dEyeWidth), in MouthFaceTemplate() 156 cvRound(dEyeHeight) ); in MouthFaceTemplate()
|
D | cvcalibfilter.cpp | 116 if( !params || cvRound(params[0]) != params[0] || params[0] < 3 || in SetEtalon() 117 cvRound(params[1]) != params[1] || params[1] < 3 || params[2] <= 0 ) in SetEtalon() 123 pointCount = cvRound((params[0] - 1)*(params[1] - 1)); in SetEtalon() 160 int etalonWidth = cvRound( params[0] ) - 1; in SetEtalon() 161 int etalonHeight = cvRound( params[1] ) - 1; in SetEtalon() 411 cvSize( cvRound(etalonParams[0]), in FindEtalon() 412 cvRound(etalonParams[1])), in FindEtalon() 555 pt.x = cvRound(pts[j].x); in DrawPoints() 556 pt.y = cvRound(pts[j].y); in DrawPoints() 561 color = line_colors[(j/cvRound(etalonParams[0]))%colorCount]; in DrawPoints() [all …]
|
D | cvsubdiv2.cpp | 136 buf[i] = cvPoint( cvRound( pt->pt.x ), cvRound( pt->pt.y )); in draw_subdiv_facet() 143 CvPoint ip = cvPoint( cvRound( pt->pt.x ), cvRound( pt->pt.y )); in draw_subdiv_facet()
|
D | cvmat.cpp | 85 i = cvRound(d); 89 i = cvRound(d); 93 i = cvRound(d); 97 i = cvRound(d); 145 i = cvRound(d); 151 i = cvRound(d); 157 i = cvRound(d); 163 i = cvRound(d);
|
D | cvdpstereo.cpp | 99 int param1 = cvRound(_param1); in icvFindStereoCorrespondenceByBirchfieldDP() 100 int param2 = cvRound(_param2); in icvFindStereoCorrespondenceByBirchfieldDP() 101 int param3 = cvRound(_param3); in icvFindStereoCorrespondenceByBirchfieldDP() 102 int param4 = cvRound(_param4); in icvFindStereoCorrespondenceByBirchfieldDP() 103 int param5 = cvRound(_param5); in icvFindStereoCorrespondenceByBirchfieldDP()
|
D | cvsegment.cpp | 191 newVal[0] = cvRound( sum[0] * inv_area ); in icvSegmFloodFill_Stage1() 192 newVal[1] = cvRound( sum[1] * inv_area ); in icvSegmFloodFill_Stage1() 193 newVal[2] = cvRound( sum[2] * inv_area ); in icvSegmFloodFill_Stage1() 497 int ffill_lw_up = cvRound( fabs(ffill_threshold) ); in cvSegmentImage()
|
/external/opencv/cxcore/src/ |
D | cxconvert.cpp | 972 int t = cvRound(fabs(val)); in icvCvtScaleAbsTo_8u_C1R() 981 int t = cvRound(fabs(val)); in icvCvtScaleAbsTo_8u_C1R() 992 int iscale = cvRound(scale*(1 << ICV_FIX_SHIFT)); in icvCvtScaleAbsTo_8u_C1R() 1007 ICV_DEF_CVT_SCALE_ABS_CASE( ushort, int, cvRound, CV_IABS, in icvCvtScaleAbsTo_8u_C1R() 1015 int iscale = cvRound(scale*(1 << ICV_FIX_SHIFT)); in icvCvtScaleAbsTo_8u_C1R() 1016 int ishift = cvRound(shift*(1 << ICV_FIX_SHIFT)); in icvCvtScaleAbsTo_8u_C1R() 1031 ICV_DEF_CVT_SCALE_ABS_CASE( short, int, cvRound, CV_IABS, in icvCvtScaleAbsTo_8u_C1R() 1036 ICV_DEF_CVT_SCALE_ABS_CASE( int, int, cvRound, CV_IABS, in icvCvtScaleAbsTo_8u_C1R() 1040 ICV_DEF_CVT_SCALE_ABS_CASE( float, int, cvRound, CV_IABS, in icvCvtScaleAbsTo_8u_C1R() 1044 ICV_DEF_CVT_SCALE_ABS_CASE( double, int, cvRound, CV_IABS, in icvCvtScaleAbsTo_8u_C1R() [all …]
|
D | cxdrawing.cpp | 899 pts->x = cvRound( cx + x * alpha - y * beta ); in cvEllipse2Poly() 900 pts->y = cvRound( cy - x * beta - y * alpha ); in cvEllipse2Poly() 1183 pt0.x = cvRound((x.f + offset.x) * XY_ONE); in icvCollectPolyEdges() 1184 pt0.y = cvRound(y.f + offset.y); in icvCollectPolyEdges() 1186 pt1.x = cvRound((x.f + offset.x) * XY_ONE); in icvCollectPolyEdges() 1187 pt1.y = cvRound(y.f + offset.y); in icvCollectPolyEdges() 1596 dp.x = cvRound( dy * r ); in icvThickLine() 1597 dp.y = cvRound( dx * r ); in icvThickLine() 1678 int icolor = cvRound( packed_color ); in cvColorToScalar() 1694 int icolor = cvRound( packed_color ); in cvColorToScalar() [all …]
|
D | cxarithm.cpp | 1292 ICV_DEF_MUL_OP_CASE( 8u, uchar, int, cvRound, CV_CAST_8U, CV_8TO32F ) 1293 ICV_DEF_MUL_OP_CASE( 16u, ushort, int, cvRound, CV_CAST_16U, CV_NOP ) 1294 ICV_DEF_MUL_OP_CASE( 16s, short, int, cvRound, CV_CAST_16S, CV_NOP ) 1295 ICV_DEF_MUL_OP_CASE( 32s, int, int, cvRound, CV_CAST_32S, CV_NOP ) 1616 cvRound, CV_CAST_8U, CV_8TO32F, CV_NONZERO, src2 ) 1624 cvRound, CV_CAST_16U, CV_CAST_64F, CV_NONZERO, src2 ) 1626 cvRound, CV_CAST_16S, CV_NOP, CV_NONZERO, src2 ) 1628 cvRound, CV_CAST_32S, CV_CAST_64F, CV_NONZERO, src2 ) 1635 cvRound, CV_CAST_8U, CV_8TO32F, CV_NONZERO, src ) 1637 cvRound, CV_CAST_16U, CV_CAST_64F, CV_NONZERO, src ) [all …]
|
D | cxmatmul.cpp | 1481 ICV_DEF_TRANSFORM_FUNC( 8u_C1R, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U, 1 ) 1482 ICV_DEF_TRANSFORM_FUNC( 8u_C2R, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U, 2 ) 1483 ICV_DEF_TRANSFORM_FUNC( 8u_C3R, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U, 3 ) 1484 ICV_DEF_TRANSFORM_FUNC( 8u_C4R, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U, 4 ) 1486 ICV_DEF_TRANSFORM_FUNC( 16u_C1R, ushort, int, CV_NOP, cvRound, CV_CAST_16U, 1 ) 1487 ICV_DEF_TRANSFORM_FUNC( 16u_C2R, ushort, int, CV_NOP, cvRound, CV_CAST_16U, 2 ) 1488 ICV_DEF_TRANSFORM_FUNC( 16u_C3R, ushort, int, CV_NOP, cvRound, CV_CAST_16U, 3 ) 1489 ICV_DEF_TRANSFORM_FUNC( 16u_C4R, ushort, int, CV_NOP, cvRound, CV_CAST_16U, 4 ) 1491 ICV_DEF_TRANSFORM_FUNC( 16s_C1R, short, int, CV_NOP, cvRound, CV_CAST_16S, 1 ) 1492 ICV_DEF_TRANSFORM_FUNC( 16s_C2R, short, int, CV_NOP, cvRound, CV_CAST_16S, 2 ) [all …]
|
D | cxmathfuncs.cpp | 536 int it = cvRound(t); in icvSinCos_32f() 843 val0 = cvRound(x0); 844 val1 = cvRound(x1); 845 val2 = cvRound(x2); 846 val3 = cvRound(x3); 890 val0 = cvRound(x0); 954 val0 = cvRound(x0); 955 val1 = cvRound(x1); 956 val2 = cvRound(x2); 957 val3 = cvRound(x3); [all …]
|
D | cxrand.cpp | 406 ICV_IMPL_RANDN( 8u, uchar, int, cvRound, CV_CAST_8U ) 407 ICV_IMPL_RANDN( 16u, ushort, int, cvRound, CV_CAST_16U ) 408 ICV_IMPL_RANDN( 16s, short, int, cvRound, CV_CAST_16S ) 409 ICV_IMPL_RANDN( 32s, int, int, cvRound, CV_CAST_32S )
|
/external/opencv/cvaux/include/ |
D | cvmat.hpp | 262 int t0 = cvRound(a.val[0]) & cvRound(b.val[0]); 263 int t1 = cvRound(a.val[1]) & cvRound(b.val[1]); 267 t0 = cvRound(a.val[2]) & cvRound(b.val[2]); 268 t1 = cvRound(a.val[3]) & cvRound(b.val[3]); 278 int t0 = cvRound(a.val[0]) | cvRound(b.val[0]); 279 int t1 = cvRound(a.val[1]) | cvRound(b.val[1]); 283 t0 = cvRound(a.val[2]) | cvRound(b.val[2]); 284 t1 = cvRound(a.val[3]) | cvRound(b.val[3]); 294 int t0 = cvRound(a.val[0]) ^ cvRound(b.val[0]); 295 int t1 = cvRound(a.val[1]) ^ cvRound(b.val[1]); [all …]
|
/external/opencv/otherlibs/highgui/ |
D | grfmt_exr.cpp | 359 int t = cvRound(fi[x]*5); in ReadData() 500 int t = cvRound(b); in ChromaToBGR() 502 t = cvRound(Y); in ChromaToBGR() 504 t = cvRound(r); in ChromaToBGR() 515 int t = cvRound(b); in ChromaToBGR() 517 t = cvRound(Y); in ChromaToBGR() 519 t = cvRound(r); in ChromaToBGR()
|
/external/opencv/ml/src/ |
D | mlestimate.cpp | 258 if (cvRound (responses_result[*data]) == cvRound (responses_fl[*data * step])) 269 if (cvRound (responses_result[*data]) == responses_i[*data * step]) 583 *folds++ = cvRound (i * s_len * 1. / k_fold);
|