Searched refs:DIAG_DIST (Results 1 – 2 of 2) sorted by relevance
73 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT ); in icvDistanceTransform_3x3_C1R() local97 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() local175 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 …]
75 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], DIST_SHIFT ); in distanceTransform_3x3() local103 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() local182 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 …]