Table of Contents

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

image InputArray

input image, could be gray or color.

ellipses OutputArray

output vector of found ellipses. each vector is encoded as five float x, y, a, b, radius, score.

scoreThreshold float

the threshold of ellipse score.

reliabilityThreshold float

the threshold of reliability.

centerDistanceThreshold float

the threshold of center distance.