Searched refs:inv_r2 (Results 1 – 2 of 2) sorted by relevance
386 double inv_r2 = 0; in init_binary_element() local418 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()
1032 double inv_r2 = 0; in getStructuringElement() local1045 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()