HomeSort by relevance Sort by last modified time
    Searched refs:cvRound (Results 1 - 25 of 234) sorted by null

1 2 3 4 5 6 7 8 910

  /external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/
calcHist_Demo.cpp 51 int bin_w = cvRound( (double) hist_w/histSize );
63 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(b_hist.at<float>(i-1)) ) ,
64 Point( bin_w*(i), hist_h - cvRound(b_hist.at<float>(i)) ),
66 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(g_hist.at<float>(i-1)) ) ,
67 Point( bin_w*(i), hist_h - cvRound(g_hist.at<float>(i)) ),
69 line( histImage, Point( bin_w*(i-1), hist_h - cvRound(r_hist.at<float>(i-1)) ) ,
70 Point( bin_w*(i), hist_h - cvRound(r_hist.at<float>(i)) ),
calcBackProject_Demo1.cpp 78 int bin_w = cvRound( (double) w / histSize );
82 { rectangle( histImg, Point( i*bin_w, h ), Point( (i+1)*bin_w, h - cvRound( hist.at<float>(i)*h/255.0 ) ), Scalar( 0, 0, 255 ), -1 ); }
  /external/opencv3/samples/cpp/
houghlines.cpp 43 pt1.x = cvRound(x0 + 1000*(-b));
44 pt1.y = cvRound(y0 + 1000*(a));
45 pt2.x = cvRound(x0 - 1000*(-b));
46 pt2.y = cvRound(y0 - 1000*(a));
delaunay2.cpp 34 pt[0] = Point(cvRound(t[0]), cvRound(t[1]));
35 pt[1] = Point(cvRound(t[2]), cvRound(t[3]));
36 pt[2] = Point(cvRound(t[4]), cvRound(t[5]));
47 Point pt0 = Point(cvRound(e[0]), cvRound(e[1]));
48 Point pt1 = Point(cvRound(e[2]), cvRound(e[3]))
    [all...]
smiledetect.cpp 171 Mat gray, smallImg( cvRound (img.rows/scale), cvRound(img.cols/scale), CV_8UC1 );
211 center.x = cvRound((r->x + r->width*0.5)*scale);
212 center.y = cvRound((r->y + r->height*0.5)*scale);
213 radius = cvRound((r->width + r->height)*0.25*scale);
217 rectangle( img, cvPoint(cvRound(r->x*scale), cvRound(r->y*scale)),
218 cvPoint(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)),
221 const int half_height=cvRound((float)r->height/2)
    [all...]
em.cpp 52 int response = cvRound(em_model->predict2( sample, noArray() )[1]);
62 Point pt(cvRound(samples.at<float>(i, 0)), cvRound(samples.at<float>(i, 1)));
facedetect.cpp 213 Mat gray, smallImg( cvRound (img.rows/scale), cvRound(img.cols/scale), CV_8UC1 );
255 center.x = cvRound((r->x + r->width*0.5)*scale);
256 center.y = cvRound((r->y + r->height*0.5)*scale);
257 radius = cvRound((r->width + r->height)*0.25*scale);
261 rectangle( img, cvPoint(cvRound(r->x*scale), cvRound(r->y*scale)),
262 cvPoint(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)),
277 center.x = cvRound((r->x + nr->x + nr->width*0.5)*scale)
    [all...]
contours2.cpp 57 line(img, Point(cvRound(dx+100+j*10-80*cos(angle)),
58 cvRound(dy+100-90*sin(angle))),
59 Point(cvRound(dx+100+j*10-30*cos(angle)),
60 cvRound(dy+100-30*sin(angle))), white, 1, 8, 0);
fback.cpp 27 line(cflowmap, Point(x,y), Point(cvRound(x+fxy.x), cvRound(y+fxy.y)),
ufacedetect.cpp 255 center.x = cvRound((r->x + r->width*0.5)*scale);
256 center.y = cvRound((r->y + r->height*0.5)*scale);
257 radius = cvRound((r->width + r->height)*0.25*scale);
261 rectangle( canvas, Point(cvRound(r->x*scale), cvRound(r->y*scale)),
262 Point(cvRound((r->x + r->width-1)*scale), cvRound((r->y + r->height-1)*scale)),
277 center.x = cvRound((r->x + nr->x + nr->width*0.5)*scale);
278 center.y = cvRound((r->y + nr->y + nr->height*0.5)*scale);
279 radius = cvRound((nr->width + nr->height)*0.25*scale)
    [all...]
demhist.cpp 51 int binW = cvRound((double)histImage.cols/histSize);
55 Point((i+1)*binW, histImage.rows - cvRound(hist.at<float>(i))),
distrans.cpp 77 int b = cvRound(colors[idx][0]*scale);
78 int g = cvRound(colors[idx][1]*scale);
79 int r = cvRound(colors[idx][2]*scale);
  /external/opencv3/modules/video/src/
camshift.cpp 67 eps = cvRound(eps*eps);
87 int dx = cvRound( m.m10/m.m00 - window.width*0.5 );
88 int dy = cvRound( m.m01/m.m00 - window.height*0.5 );
150 int xc = cvRound( m10 * inv_m00 + window.x );
151 int yc = cvRound( m01 * inv_m00 + window.y );
178 int _xc = cvRound( xc );
179 int _yc = cvRound( yc );
181 int t0 = cvRound( fabs( length * cs ));
182 int t1 = cvRound( fabs( width * sn ));
187 t0 = cvRound( fabs( length * sn ))
    [all...]
  /external/opencv3/samples/cpp/tutorial_code/ImgTrans/
HoughCircle_Demo.cpp 40 Point center(cvRound(circles[i][0]), cvRound(circles[i][1]));
41 int radius = cvRound(circles[i][2]);
HoughLines_Demo.cpp 102 Point pt1( cvRound(x0 + alpha*(-sin_t)), cvRound(y0 + alpha*cos_t) );
103 Point pt2( cvRound(x0 - alpha*(-sin_t)), cvRound(y0 - alpha*cos_t) );
  /external/opencv/cv/src/
cvcamshift.cpp 93 eps = cvRound( criteria.epsilon * criteria.epsilon );
108 dx = cvRound( moments.m10 * inv_m00 - windowIn.width*0.5 );
109 dy = cvRound( moments.m01 * inv_m00 - windowIn.height*0.5 );
225 xc = cvRound( m10 * inv_m00 + windowIn.x );
226 yc = cvRound( m01 * inv_m00 + windowIn.y );
260 int _xc = cvRound( xc );
261 int _yc = cvRound( yc );
263 t0 = cvRound( fabs( length * cs ));
264 t1 = cvRound( fabs( width * sn ));
269 t0 = cvRound( fabs( length * sn ))
    [all...]
  /external/opencv/cvaux/src/
_cvfacedetection.h 148 CvRect LeftEyeRect = cvRect(cvRound(rect.x - (dEyeWidth + dDistanceBetweenEye/(double)2 - (double)rect.width/(double)2)),
149 cvRound(rect.y - dDistanceEyeAboveMouth - dEyeHeight),
150 cvRound(dEyeWidth),
151 cvRound(dEyeHeight) );
153 CvRect RightEyeRect = cvRect(cvRound(rect.x + (double)rect.width/(double)2 + dDistanceBetweenEye/(double)2),
154 cvRound(rect.y - dDistanceEyeAboveMouth - dEyeHeight),
155 cvRound(dEyeWidth),
156 cvRound(dEyeHeight) );
158 // CvRect NoseRect = cvRect(cvRound(rect.x + (double)rect.width/(double)4),
159 // cvRound(rect.y - (double)rect.width/(double)2 - (double)rect.height/(double)4)
    [all...]
cvsubdiv2.cpp 136 buf[i] = cvPoint( cvRound( pt->pt.x ), cvRound( pt->pt.y ));
143 CvPoint ip = cvPoint( cvRound( pt->pt.x ), cvRound( pt->pt.y ));
cvcalibfilter.cpp 116 if( !params || cvRound(params[0]) != params[0] || params[0] < 3 ||
117 cvRound(params[1]) != params[1] || params[1] < 3 || params[2] <= 0 )
123 pointCount = cvRound((params[0] - 1)*(params[1] - 1));
160 int etalonWidth = cvRound( params[0] ) - 1;
161 int etalonHeight = cvRound( params[1] ) - 1;
411 cvSize( cvRound(etalonParams[0]),
412 cvRound(etalonParams[1])),
553 pt.x = cvRound(pts[j].x);
554 pt.y = cvRound(pts[j].y);
559 color = line_colors[(j/cvRound(etalonParams[0]))%colorCount]
    [all...]
  /external/opencv3/modules/features2d/test/
test_orb.cpp 71 int x = cvRound(kp->pt.x);
72 int y = cvRound(kp->pt.y);
test_agast.cpp 85 cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0));
91 cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0));
  /external/opencv3/modules/hal/include/opencv2/hal/
defs.h 364 cvRound( double value )
412 int i = cvRound(value);
435 int i = cvRound(value);
472 CV_INLINE int cvRound(float value)
503 CV_INLINE int cvRound( int value )
519 int i = cvRound(value);
542 int i = cvRound(value);
628 template<> inline uchar saturate_cast<uchar>(float v) { int iv = cvRound(v); return saturate_cast<uchar>(iv); }
629 template<> inline uchar saturate_cast<uchar>(double v) { int iv = cvRound(v); return saturate_cast<uchar>(iv); }
638 template<> inline schar saturate_cast<schar>(float v) { int iv = cvRound(v); return saturate_cast<schar>(iv);
    [all...]
  /external/opencv3/modules/features2d/src/
draw.cpp 56 Point center( cvRound(p.pt.x * draw_multiplier), cvRound(p.pt.y * draw_multiplier) );
60 int radius = cvRound(p.size/2 * draw_multiplier); // KeyPoint::size is a diameter
69 Point orient( cvRound(cos(srcAngleRad)*radius ),
70 cvRound(sin(srcAngleRad)*radius )
184 Point(cvRound(pt1.x*draw_multiplier), cvRound(pt1.y*draw_multiplier)),
185 Point(cvRound(dpt2.x*draw_multiplier), cvRound(dpt2.y*draw_multiplier)),
  /external/opencv3/modules/imgproc/src/
gabor.cpp 63 xmax = cvRound(std::max(fabs(nstds*sigma_x*c), fabs(nstds*sigma_y*s)));
68 ymax = cvRound(std::max(fabs(nstds*sigma_x*s), fabs(nstds*sigma_y*c)));
  /external/opencv/cxcore/src/
cxconvert.cpp     [all...]

Completed in 121 milliseconds

1 2 3 4 5 6 7 8 910