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

Method fitEllipse

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

Source from the content-addressed store, hash-verified

2018}
2019
2020cv::RotatedRect cv::fitEllipse( InputArray _points )
2021{
2022 Mat points = _points.getMat();
2023 CV_Assert(points.checkVector(2) >= 0 &&
2024 (points.depth() == CV_32F || points.depth() == CV_32S));
2025 CvMat _cpoints = points;
2026 return cvFitEllipse2(&_cpoints);
2027}
2028
2029
2030void cv::fitLine( InputArray _points, OutputArray _line, int distType,

Callers

nothing calls this directly

Calls 4

cvFitEllipse2Function · 0.85
checkVectorMethod · 0.80
getMatMethod · 0.45
depthMethod · 0.45

Tested by

no test coverage detected