Sample the pixel values on the specific line segment

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public TDepth[,] Sample(
	LineSegment2D line
)
Public Function Sample ( _
	line As LineSegment2D _
) As TDepth(,)
public:
array<TDepth,2>^ Sample(
	LineSegment2D line
)

Parameters

line
LineSegment2D
The line to obtain samples

Return Value

The values on the (Eight-connected) line

See Also