Home
last modified time | relevance | path

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

/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()
Dcvadapthresh.cpp54 int idelta = type == CV_THRESH_BINARY ? cvCeil(delta) : cvFloor(delta); in icvAdaptiveThreshold_MeanC()
Dcvcanny.cpp121 low = cvFloor( low_thresh ); in cvCanny()
122 high = cvFloor( high_thresh ); in cvCanny()
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()
Dcvundistort.cpp71 int ix = cvFloor(_x), iy = cvFloor(_y); in icvUnDistort_8u_CnR()
Dcvsurf.cpp435 x = cvFloor(xf); patch_rect0.x = MIN(patch_rect0.x, x); in cvExtractSURF()
436 y = cvFloor(yf); patch_rect0.y = MIN(patch_rect0.y, y); in cvExtractSURF()
Dcvsmooth.cpp252 int iscale = cvFloor(scale*(1 << BLUR_SHIFT)); in icvSumCol_32s8u()
1248 int idx = cvFloor(alpha); in icvBilateralFiltering_32f()
1269 int idx = cvFloor(alpha); in icvBilateralFiltering_32f()
Dcvfloodfill.cpp1137 int t = cvFloor(lo_diff.val[i]); in cvFloodFill()
1139 t = cvFloor(up_diff.val[i]); in cvFloodFill()
Dcvlkpyramid.cpp51 ipt.x = cvFloor( pt.x ); in intersect()
52 ipt.y = cvFloor( pt.y ); in intersect()
Dcvcolor.cpp1331 sector = cvFloor(h); in icvHSV2BGRx_32f_C3CnR()
1575 sector = cvFloor(h); in icvHLS2BGRx_32f_C3CnR()
/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/opencv/cxcore/include/
Dcxtypes.h237 CV_INLINE int cvFloor( double value ) in cvFloor() function
/external/opencv/cvaux/src/
Dcvlee.cpp1681 pNode->node.x = (float)cvFloor(pNode->node.x) + rand()*rnd_const; in _cvRandomModification()
1682 pNode->node.y = (float)cvFloor(pNode->node.y) + rand()*rnd_const; in _cvRandomModification()
1690 pHole->site_top->node1->node.x = (float)cvFloor(pHole->site_top->node1->node.x); in _cvRandomModification()
/external/opencv/ml/src/
Dmltree.cpp2064 int worst_val = cvFloor(node->maxlr), _best_val = worst_val; in find_surrogate_split_ord()