Class EdgeDrawing
- Namespace
- OpenCvSharp.XImgProc
- Assembly
- OpenCvSharp.dll
Class implementing the ED (EdgeDrawing), EDLines, EDPF, EDCircles and ColorED algorithms.
public class EdgeDrawing : Algorithm, IDisposable
- Inheritance
-
EdgeDrawing
- Implements
- Inherited Members
Methods
- Create()
Creates a smart pointer to an EdgeDrawing object and initializes it.
- DetectEdges(InputArray)
Detects edges in a grayscale or color image and prepares them to detect lines and ellipses.
- DetectEllipses()
Detects circles and ellipses and returns them as a managed array. Call DetectEdges(InputArray) before calling this function.
- DetectEllipses(OutputArray)
Detects circles and ellipses and writes them into an OutputArray. Call DetectEdges(InputArray) before calling this function.
- DetectLines()
Detects lines and returns them as a managed array. Call DetectEdges(InputArray) before calling this function.
- DetectLines(OutputArray)
Detects lines and writes them into an OutputArray. Call DetectEdges(InputArray) before calling this function.
- GetEdgeImage(OutputArray)
Returns the edge image prepared by DetectEdges(InputArray).
- GetGradientImage(OutputArray)
Returns the gradient image prepared by DetectEdges(InputArray).
- GetParams()
Returns the current algorithm parameters.
- GetSegmentIndicesOfLines()
Returns for each line found in DetectLines(OutputArray) its edge segment index in GetSegments().
- GetSegments()
Returns detected edge segments. Call DetectEdges(InputArray) first.
- SetParams(EdgeDrawingParams)
Sets algorithm parameters.