Home
last modified time | relevance | path

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

/external/opencv/cv/src/
Dcvmorph.cpp386 double inv_r2 = 0; in init_binary_element() local
418 inv_r2 = r ? 1./((double)r*r) : 0; in init_binary_element()
435 int dx = cvRound(c*sqrt(((double)r*r - dy*dy)*inv_r2)); in init_binary_element()
/external/opencv3/modules/imgproc/src/
Dmorph.cpp1032 double inv_r2 = 0; in getStructuringElement() local
1045 inv_r2 = r ? 1./((double)r*r) : 0; in getStructuringElement()
1064 int dx = saturate_cast<int>(c*std::sqrt((r*r - dy*dy)*inv_r2)); in getStructuringElement()