Class LineSegmentDetector
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Line segment detector class
public class LineSegmentDetector : Algorithm, IDisposable
- Inheritance
-
LineSegmentDetector
- Implements
- Inherited Members
Methods
- CompareSegments(Size, InputArray, InputArray, InputOutputArray)
Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels.
- Create(LineSegmentDetectorModes, double, double, double, double, double, double, int)
Creates a smart pointer to a LineSegmentDetector object and initializes it.
- Detect(InputArray, OutputArray, OutputArray, OutputArray, OutputArray)
Finds lines in the input image. This is the output of the default parameters of the algorithm on the above shown image.
- Detect(InputArray, out Vec4f[], out double[], out double[], out double[])
Finds lines in the input image. This is the output of the default parameters of the algorithm on the above shown image.
- DrawSegments(InputOutputArray, InputArray)
Draws the line segments on a given image.