ImageTColor, TDepthSample Method (LineSegment2D, Connectivity) |
http://www.emgu.com
Sample the pixel values on the specific line segment
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic TDepth[,] Sample(
LineSegment2D line,
Connectivity type
)
Public Function Sample (
line As LineSegment2D,
type As Connectivity
) As TDepth(,)
public:
array<TDepth,2>^ Sample(
LineSegment2D line,
Connectivity type
)
member Sample :
line : LineSegment2D *
type : Connectivity -> 'TDepth[,]
Parameters
- line
- Type: Emgu.CV.StructureLineSegment2D
The line to obtain samples - type
- Type: Emgu.CV.CvEnumConnectivity
The sampling type
Return Value
Type:
TDepthThe values on the line, the first dimension is the index of the point, the second dimension is the index of color channel
See Also