Method FindEllipses
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
FindEllipses(InputArray, OutputArray, float, float, float)
Finds ellipses fastly in an image using projective invariant pruning.
public static void FindEllipses(InputArray image, OutputArray ellipses, float scoreThreshold = 0.7, float reliabilityThreshold = 0.5, float centerDistanceThreshold = 0.05)
Parameters
imageInputArrayinput image, could be gray or color.
ellipsesOutputArrayoutput vector of found ellipses. each vector is encoded as five float x, y, a, b, radius, score.
scoreThresholdfloatthe threshold of ellipse score.
reliabilityThresholdfloatthe threshold of reliability.
centerDistanceThresholdfloatthe threshold of center distance.