Skip to content

Commit afce16a

Browse files
authored
Removed square function from the public header
1 parent e5e6be1 commit afce16a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

modules/ximgproc/include/opencv2/ximgproc/globalmatting.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ class CV_EXPORTS GlobalMatting
2323
{
2424
private:
2525

26-
template <typename T>
27-
inline T sqr(T a)
28-
{
29-
return a * a;
30-
}
31-
32-
33-
3426
std::vector<cv::Point> findBoundaryPixels(const cv::Mat_<uchar> &trimap, int a, int b);
3527

3628
// Eq. 2

0 commit comments

Comments
 (0)