Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » Shape Fitting » DetectCircle_LSD
DetectCircle_LSD
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Finds circles in the input image using Line Segment Detection method.
Syntax
C++
C#
void fil::DetectCircle_LSD ( const fil::Image& inImage, ftl::Optional<const fil::Region&> inRoi, fil::GaussKernel::Type inSmoothing, float inEdgeThreshold, float inToleranceCircle, int inMinRadius, ftl::Array<fil::Circle2D>& outCircles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | const Image& | Image to fit the circles to | |||
inRoi | Optional<const Region&> | NIL | Input region of interest | ||
inSmoothing | GaussKernel::Type | _5x5 | Predefined Gauss kernel | ||
inEdgeThreshold | float | 0.1 - | 4.0f | Minimum accepted edge magnitude | |
inToleranceCircle | float | 0.001 - | 0.6f | Maximum accepted defects in output circles | |
inMinRadius | int | 0 - | 10 | Minimum radius of output circles | |
outCircles | Array<Circle2D>& | Found circles |