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
imageInputOutputArrayThe image, where the lines will be drawn. Should be bigger or equal to the image, where the lines were found.
linesInputArrayA vector of the lines that needed to be drawn.
drawArrowboolIf 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
imageInputOutputArrayThe image, where the lines will be drawn. Should be bigger or equal to the image, where the lines were found.
linesIEnumerable<Vec4f>A vector of the lines that needed to be drawn.
drawArrowboolIf true, arrow heads will be drawn.