Click or drag to resize

LineIterator Constructor
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.World (in Emgu.CV.World.dll) Version: (
public LineIterator(
	Mat img,
	Point p1,
	Point p2,
	int connectivity = 8,
	bool leftToRight = false


Type: Emgu.CVMat
The image
Type: System.DrawingPoint
The first point
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