Table of Contents

Method DetectLines

Namespace
OpenCvSharp.XImgProc
Assembly
OpenCvSharp.dll

DetectLines(OutputArray)

Detects lines and writes them into an OutputArray. Call DetectEdges(InputArray) before calling this function.

public virtual void DetectLines(OutputArray lines)

Parameters

lines OutputArray

Output Vec4f array: start point (x1,y1) and end point (x2,y2) of each line.

DetectLines()

Detects lines and returns them as a managed array. Call DetectEdges(InputArray) before calling this function.

public virtual Vec4f[] DetectLines()

Returns

Vec4f[]

Vec4f array: start point (x1,y1) and end point (x2,y2) of each line.