Home
last modified time | relevance | path

Searched refs:DIAG_DIST (Results 1 – 2 of 2) sorted by relevance

/external/opencv/cv/src/
Dcvdistransform.cpp73 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT ); in icvDistanceTransform_3x3_C1R() local
97 int t0 = tmp[j-step-1] + DIAG_DIST; in icvDistanceTransform_3x3_C1R()
100 t = tmp[j-step+1] + DIAG_DIST; in icvDistanceTransform_3x3_C1R()
120 int t = tmp[j+step+1] + DIAG_DIST; in icvDistanceTransform_3x3_C1R()
124 t = tmp[j+step-1] + DIAG_DIST; in icvDistanceTransform_3x3_C1R()
145 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT ); in icvDistanceTransform_5x5_C1R() local
175 t = tmp[j-step-1] + DIAG_DIST; in icvDistanceTransform_5x5_C1R()
179 t = tmp[j-step+1] + DIAG_DIST; in icvDistanceTransform_5x5_C1R()
207 t = tmp[j+step+1] + DIAG_DIST; in icvDistanceTransform_5x5_C1R()
211 t = tmp[j+step-1] + DIAG_DIST; in icvDistanceTransform_5x5_C1R()
[all …]
/external/opencv3/modules/imgproc/src/
Ddistransform.cpp75 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], DIST_SHIFT ); in distanceTransform_3x3() local
103 int t0 = tmp[j-step-1] + DIAG_DIST; in distanceTransform_3x3()
106 t = tmp[j-step+1] + DIAG_DIST; in distanceTransform_3x3()
126 int t = tmp[j+step+1] + DIAG_DIST; in distanceTransform_3x3()
130 t = tmp[j+step-1] + DIAG_DIST; in distanceTransform_3x3()
148 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], DIST_SHIFT ); in distanceTransform_5x5() local
182 t = tmp[j-step-1] + DIAG_DIST; in distanceTransform_5x5()
186 t = tmp[j-step+1] + DIAG_DIST; in distanceTransform_5x5()
214 t = tmp[j+step+1] + DIAG_DIST; in distanceTransform_5x5()
218 t = tmp[j+step-1] + DIAG_DIST; in distanceTransform_5x5()
[all …]