MCPcopy Create free account
hub / github.com/creatale/node-dv / minAreaRect

Method minAreaRect

deps/opencv/modules/imgproc/src/contours.cpp:1915–1921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1913
1914
1915cv::RotatedRect cv::minAreaRect( InputArray _points )
1916{
1917 Mat points = _points.getMat();
1918 CV_Assert(points.checkVector(2) >= 0 && (points.depth() == CV_32F || points.depth() == CV_32S));
1919 CvMat _cpoints = points;
1920 return cvMinAreaRect2(&_cpoints, 0);
1921}
1922
1923
1924void cv::minEnclosingCircle( InputArray _points,

Callers

nothing calls this directly

Calls 4

cvMinAreaRect2Function · 0.85
checkVectorMethod · 0.80
getMatMethod · 0.45
depthMethod · 0.45

Tested by

no test coverage detected