http://www.emgu.com
Create a LineIterator that can be used to get each pixel of a raster line. The line will be clipped on the image boundaries
Namespace:
Emgu.CV
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic LineIterator(
Mat img,
Point p1,
Point p2,
int connectivity = 8,
bool leftToRight = false
)
Public Sub New (
img As Mat,
p1 As Point,
p2 As Point,
Optional connectivity As Integer = 8,
Optional leftToRight As Boolean = false
)
public:
LineIterator(
Mat^ img,
Point p1,
Point p2,
int connectivity = 8,
bool leftToRight = false
)
new :
img : Mat *
p1 : Point *
p2 : Point *
?connectivity : int *
?leftToRight : bool
(* Defaults:
let _connectivity = defaultArg connectivity 8
let _leftToRight = defaultArg leftToRight false
*)
-> LineIterator
Parameters
- img
- Type: Emgu.CVMat
The image - p1
- Type: System.DrawingPoint
The first point - p2
- Type: System.DrawingPoint
The second point - connectivity (Optional)
- Type: SystemInt32
8-connected or 4-connected - leftToRight (Optional)
- Type: SystemBoolean
If true, then the iteration is always done from the left-most point to the right most, not to depend on the ordering of pt1 and pt2 parameters
See Also