Home
last modified time | relevance | path

Searched refs:cvFloor (Results 1 – 25 of 63) sorted by relevance

123

/external/opencv/cv/src/
Dcvsamplers.cpp159 ip.x = cvFloor( center.x ); \
160 ip.y = cvFloor( center.y ); \
277 ip.x = cvFloor( center.x ); \
278 ip.y = cvFloor( center.y ); \
405 ip.x = cvFloor( center.x ); in icvGetRectSubPix_8u32f_C1R()
406 ip.y = cvFloor( center.y ); in icvGetRectSubPix_8u32f_C1R()
623 if( (unsigned)(cvFloor(xs)-1) < (unsigned)(src_size.width - 3) && \
624 (unsigned)(cvFloor(ys)-1) < (unsigned)(src_size.height - 3) && \
625 (unsigned)(cvFloor(xe)-1) < (unsigned)(src_size.width - 3) && \
626 (unsigned)(cvFloor(ye)-1) < (unsigned)(src_size.height - 3)) \
[all …]
Dcvhistogram.cpp816 int idx = cvFloor((j - a)*scale); in icvCalcHistLookupTables8u()
1168 int v0 = cvFloor(ptr[x]*a + b); in icvCalcHist_32f_C1R()
1169 int v1 = cvFloor(ptr[x+1]*a + b); in icvCalcHist_32f_C1R()
1176 v0 = cvFloor(ptr[x+2]*a + b); in icvCalcHist_32f_C1R()
1177 v1 = cvFloor(ptr[x+3]*a + b); in icvCalcHist_32f_C1R()
1187 int v0 = cvFloor(ptr[x]*a + b); in icvCalcHist_32f_C1R()
1197 int v0 = cvFloor(ptr[x]*a + b); in icvCalcHist_32f_C1R()
1222 int v0 = cvFloor( ptr0[x]*a0 + b0 ); in icvCalcHist_32f_C1R()
1223 int v1 = cvFloor( ptr1[x]*a1 + b1 ); in icvCalcHist_32f_C1R()
1236 int v0 = cvFloor( ptr0[x]*a0 + b0 ); in icvCalcHist_32f_C1R()
[all …]
Dcvhough.cpp163 int n = cvFloor(idx*scale) - 1; in CV_IMPLEMENT_QSORT_EX()
254 rn = cvFloor( sqrt( (double)w * w + (double)h * h ) * irho ); in IMPLEMENT_LIST()
255 tn = cvFloor( 2 * Pi * itheta ); in IMPLEMENT_LIST()
308 ti0 = cvFloor( (t + Pi / 2) * itheta ); in IMPLEMENT_LIST()
315 halftn = cvFloor( Pi / theta_it ); in IMPLEMENT_LIST()
320 i = cvFloor( rv ) * tn; in IMPLEMENT_LIST()
321 i += cvFloor( phi1 ); in IMPLEMENT_LIST()
376 ti0 = cvFloor( (t + Pi * 0.5f) * istheta ); in IMPLEMENT_LIST()
385 i = cvFloor( rv ) * stn + ti1; in IMPLEMENT_LIST()
Dcvthresh.cpp345 thresh = cvFloor(icvGetThreshVal_Otsu( hist )); in cvThreshold()
391 ithresh = cvFloor(thresh); in cvThreshold()
446 ithresh = cvFloor(thresh+1.); in cvThreshold()
Dcvcanny.cpp121 low = cvFloor( low_thresh ); in cvCanny()
122 high = cvFloor( high_thresh ); in cvCanny()
Dcvadapthresh.cpp54 int idelta = type == CV_THRESH_BINARY ? cvCeil(delta) : cvFloor(delta); in icvAdaptiveThreshold_MeanC()
Dcvimgwarp.cpp441 sy = cvFloor(fy); \
762 int sx1 = cvCeil(fsx1), sx2 = cvFloor(fsx2); in cvResize()
830 sx = cvFloor(fx); in cvResize()
835 sx = cvFloor(dx*scale_x); in cvResize()
837 fx = fx <= 0 ? 0.f : fx - cvFloor(fx); in cvResize()
864 sy = cvFloor(fy); in cvResize()
871 sy = cvFloor(dy*scale_y); in cvResize()
873 fy = fy <= 0 ? 0.f : fy - cvFloor(fy); in cvResize()
913 sx = cvFloor(fx); in cvResize()
1252 int ixs = cvFloor(xs); \
[all …]
Dcvshapedescr.cpp1331 v.i = CV_TOGGLE_FLT(xmin); xmin = cvFloor(v.f); in cvBoundingRect()
1332 v.i = CV_TOGGLE_FLT(ymin); ymin = cvFloor(v.f); in cvBoundingRect()
1337 v.i = CV_TOGGLE_FLT(xmax); xmax = cvFloor(v.f); in cvBoundingRect()
1338 v.i = CV_TOGGLE_FLT(ymax); ymax = cvFloor(v.f); in cvBoundingRect()
/external/opencv3/modules/imgproc/src/
Dsamplers.cpp143 ip.x = cvFloor( center.x ); in getRectSubPix_Cn_()
144 ip.y = cvFloor( center.y ); in getRectSubPix_Cn_()
229 ip.x = cvFloor( center.x ); in getRectSubPix_8u32f()
230 ip.y = cvFloor( center.y ); in getRectSubPix_8u32f()
289 if( (unsigned)(cvFloor(xs)-1) < (unsigned)(src_size.width - 3) && in getQuadrangleSubPix_8u32f_CnR()
290 (unsigned)(cvFloor(ys)-1) < (unsigned)(src_size.height - 3) && in getQuadrangleSubPix_8u32f_CnR()
291 (unsigned)(cvFloor(xe)-1) < (unsigned)(src_size.width - 3) && in getQuadrangleSubPix_8u32f_CnR()
292 (unsigned)(cvFloor(ye)-1) < (unsigned)(src_size.height - 3)) in getQuadrangleSubPix_8u32f_CnR()
296 int ixs = cvFloor( xs ); in getQuadrangleSubPix_8u32f_CnR()
297 int iys = cvFloor( ys ); in getQuadrangleSubPix_8u32f_CnR()
[all …]
Dhistogram.cpp73 int idx = cvFloor(j*a + b); in calcHistLookupTables_8u()
245 int idx = cvFloor(*p0*a_[0] + b_[0]); in operator ()()
258 int idx = cvFloor(*p0*a_[0] + b_[0]); in operator ()()
321 int idx0 = cvFloor(*p0*a_[0] + b_[0]); in operator ()()
322 int idx1 = cvFloor(*p1*a_[1] + b_[1]); in operator ()()
333 int idx0 = cvFloor(*p0*a_[0] + b_[0]); in operator ()()
334 int idx1 = cvFloor(*p1*a_[1] + b_[1]); in operator ()()
397 int idx0 = cvFloor(*p0*a_[0] + b_[0]); in operator ()()
398 int idx1 = cvFloor(*p1*a_[1] + b_[1]); in operator ()()
399 int idx2 = cvFloor(*p2*a_[2] + b_[2]); in operator ()()
[all …]
Dshapedescr.cpp533 xmin = cvFloor(xyminf[0]); in pointSetBoundingRect()
534 ymin = cvFloor(xyminf[1]); in pointSetBoundingRect()
535 xmax = cvFloor(xymaxf[0]); in pointSetBoundingRect()
536 ymax = cvFloor(xymaxf[1]); in pointSetBoundingRect()
590 v.i = CV_TOGGLE_FLT(xmin); xmin = cvFloor(v.f); in pointSetBoundingRect()
591 v.i = CV_TOGGLE_FLT(ymin); ymin = cvFloor(v.f); in pointSetBoundingRect()
594 v.i = CV_TOGGLE_FLT(xmax); xmax = cvFloor(v.f); in pointSetBoundingRect()
595 v.i = CV_TOGGLE_FLT(ymax); ymax = cvFloor(v.f); in pointSetBoundingRect()
Dhough.cpp175 int n = cvFloor(idx*scale) - 1; in HoughLinesStandard()
241 int rn = cvFloor( std::sqrt( (double)w * w + (double)h * h ) * irho ); in HoughLinesSDiv()
242 int tn = cvFloor( 2 * CV_PI * itheta ); in HoughLinesSDiv()
291 ti0 = cvFloor( (t + CV_PI*0.5) * itheta ); in HoughLinesSDiv()
298 halftn = cvFloor( CV_PI / theta_it ); in HoughLinesSDiv()
304 i += cvFloor( phi1 ); in HoughLinesSDiv()
358 ti0 = cvFloor( (t + CV_PI * 0.5) * istheta ); in HoughLinesSDiv()
365 i = cvFloor( rv ) * stn + ti1; in HoughLinesSDiv()
Dcanny.cpp129 int low = cvFloor(low_thresh), high = cvFloor(high_thresh); in ocl_Canny()
638 int low = cvFloor(low_thresh); in Canny()
639 int high = cvFloor(high_thresh); in Canny()
705 int low = cvFloor(low_thresh); in Canny()
706 int high = cvFloor(high_thresh); in Canny()
Dfloodfill.cpp569 ld_buf.b[i] = saturate_cast<uchar>(cvFloor(loDiff[i])); in floodFill()
570 ud_buf.b[i] = saturate_cast<uchar>(cvFloor(upDiff[i])); in floodFill()
575 ld_buf.i[i] = cvFloor(loDiff[i]); in floodFill()
576 ud_buf.i[i] = cvFloor(upDiff[i]); in floodFill()
Dclahe.cpp250 int tx1 = cvFloor(txf); in CLAHE_Interpolation_Body()
292 int ty1 = cvFloor(tyf); in operator ()()
/external/opencv3/modules/cudawarping/test/
Dinterpolation.hpp69 int x1 = cvFloor(x); in getValue()
70 int y1 = cvFloor(y); in getValue()
/external/opencv/cxcore/src/
Dcxrand.cpp400 ICV_IMPL_RAND( 8u, uchar, int, cvFloor, CV_CAST_8U )
401 ICV_IMPL_RAND( 16u, ushort, int, cvFloor, CV_CAST_16U )
402 ICV_IMPL_RAND( 16s, short, int, cvFloor, CV_CAST_16S )
403 ICV_IMPL_RAND( 32s, int, int, cvFloor, CV_CAST_32S )
516 int t1 = iparam[1][i] = cvFloor( param2.val[i] ) - t0; in cvRandArr()
/external/opencv3/modules/imgproc/test/
Dtest_imgwarp_strict.cpp470 int isy0 = cvFloor(fsy0), isy1 = std::min(cvFloor(fsy1), ssize.height - 1); in resize_area()
478 int isx0 = cvFloor(fsx0), isx1 = std::min(ssize.width - 1, cvFloor(fsx1)); in resize_area()
580 int isx = cvFloor(fsx); in generate_buffer()
594 dims[0][dx].first = std::min(cvFloor(dx * scale_x), ssize.width - 1); in resize_generic()
596 dims[1][dy].first = std::min(cvFloor(dy * scale_y), ssize.height - 1); in resize_generic()
906 int isx = cvFloor(sx), isy = cvFloor(sy); in remap_generic()
Dtest_bilateral_filter.cpp196 int idx = cvFloor(alpha); in reference_bilateral_filter()
218 int idx = cvFloor(alpha); in reference_bilateral_filter()
/external/opencv3/modules/video/test/
Dtest_camshift.cpp242 init_rect.x = cvFloor(box0.center.x - m*(0.45 + cvtest::randReal(rng)*0.2)); in prepare_test_case()
243 init_rect.y = cvFloor(box0.center.y - m*(0.45 + cvtest::randReal(rng)*0.2)); in prepare_test_case()
409 init_rect.x = cvFloor(box0.center.x - m*(0.4 + cvtest::randReal(rng)*0.2)); in prepare_test_case()
410 init_rect.y = cvFloor(box0.center.y - m*(0.4 + cvtest::randReal(rng)*0.2)); in prepare_test_case()
/external/opencv3/apps/traincascade/
Dold_ml_data.cpp560 avcount = cvFloor( cvNorm( var_idx_mask, 0, CV_L1 ) ); in get_var_types()
644 train_sample_count = std::max(1, cvFloor( train_sample_portion * sample_count )); in set_train_test_split()
738 avcount = cvFloor( cvNorm( var_idx_mask, 0, CV_L1 ) ); in get_var_idx()
/external/opencv3/modules/hal/include/opencv2/hal/
Ddefs.h402 CV_INLINE int cvFloor( double value ) in cvFloor() function
509 CV_INLINE int cvFloor( float value ) in cvFloor() function
526 CV_INLINE int cvFloor( int value ) in cvFloor() function
/external/opencv3/modules/cudaarithm/src/cuda/
Dthreshold.cu139 thresh = cvFloor(thresh); in threshold()
/external/opencv3/modules/ml/test/
Dtest_gbttest.cpp125 int train_sample_count = cvFloor(_get_len(data->get_responses())*0.5f);
/external/opencv3/modules/video/src/
Dlkpyramid.cpp255 iprevPt.x = cvFloor(prevPt.x); in operator ()()
256 iprevPt.y = cvFloor(prevPt.y); in operator ()()
507 inextPt.x = cvFloor(nextPt.x); in operator ()()
508 inextPt.y = cvFloor(nextPt.y); in operator ()()
707 inextPoint.x = cvFloor(nextPoint.x); in operator ()()
708 inextPoint.y = cvFloor(nextPoint.y); in operator ()()

123