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

Method boundingRect

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

Source from the content-addressed store, hash-verified

1895
1896
1897cv::Rect cv::boundingRect( InputArray _points )
1898{
1899 Mat points = _points.getMat();
1900 CV_Assert(points.checkVector(2) >= 0 && (points.depth() == CV_32F || points.depth() == CV_32S));
1901 CvMat _cpoints = points;
1902 return cvBoundingRect(&_cpoints, 0);
1903}
1904
1905
1906double cv::contourArea( InputArray _contour, bool oriented )

Callers

nothing calls this directly

Calls 4

cvBoundingRectFunction · 0.85
checkVectorMethod · 0.80
getMatMethod · 0.45
depthMethod · 0.45

Tested by

no test coverage detected