Back to Aurora Vision Library website
You are here: Start » Function Reference » Computer Vision » Shape Fitting » DetectSegments_LSD
DetectSegments_LSD
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationPro |
Finds segments in an image using Line Segment Detection method.
Syntax
C++
C#
void avl::DetectSegments_LSD ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, avl::GaussKernel::Type inSmoothing, float inEdgeThreshold, int inMinLength, atl::Array<avl::Segment2D>& outSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | const Image& | Image to fit the segments 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 | |
inMinLength | int | 0 - | 10 | Minimum length of output segments | |
outSegments | Array<Segment2D>& | Found segments |