Table of Contents

Method DrawSegments

Namespace
OpenCvSharp.XImgProc
Assembly
OpenCvSharp.dll

DrawSegments(InputOutputArray, InputArray, bool)

Draws the line segments on a given image.

public virtual void DrawSegments(InputOutputArray image, InputArray lines, bool drawArrow = false)

Parameters

image InputOutputArray

The image, where the lines will be drawn. Should be bigger or equal to the image, where the lines were found.

lines InputArray

A vector of the lines that needed to be drawn.

drawArrow bool

If true, arrow heads will be drawn.

DrawSegments(InputOutputArray, IEnumerable<Vec4f>, bool)

Draws the line segments on a given image.

public virtual void DrawSegments(InputOutputArray image, IEnumerable<Vec4f> lines, bool drawArrow = false)

Parameters

image InputOutputArray

The image, where the lines will be drawn. Should be bigger or equal to the image, where the lines were found.

lines IEnumerable<Vec4f>

A vector of the lines that needed to be drawn.

drawArrow bool

If true, arrow heads will be drawn.