Click or drag to resize
ImageTColor, TDepthSample Method (LineSegment2D, Connectivity)
http://www.emgu.com
Sample the pixel values on the specific line segment

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public TDepth[,] Sample(
	LineSegment2D line,
	Connectivity type
)

Parameters

line
Type: Emgu.CV.StructureLineSegment2D
The line to obtain samples
type
Type: Emgu.CV.CvEnumConnectivity
The sampling type

Return Value

Type: TDepth
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