http://www.emgu.com
Sample the pixel values on the specific line segment

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

Syntax

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

Parameters

line
Type: Emgu.CV.Structure..::..LineSegment2D
The line to obtain samples
type
Type: Emgu.CV.CvEnum..::..CONNECTIVITY
The sampling type

Return Value

The values on the line, the first dimension is the index of the point, the second dimension is the index of color channel

See Also