Click or drag to resize

LineIterator Class

http://www.emgu.com
The class is used to iterate over all the pixels on the raster line segment connecting two specified points.
Inheritance Hierarchy

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public class LineIterator : UnmanagedObject

The LineIterator type exposes the following members.

Constructors
  NameDescription
Public methodLineIterator
Create a LineIterator that can be used to get each pixel of a raster line. The line will be clipped on the image boundaries
Top
Properties
  NameDescription
Public propertyCount
The total number of pixels in the line
Public propertyData
Get or set the pixel data in the current position
Public propertyDataPtr
Native pointer to the pixel data at the current position
Public propertyPos
returns the current position in the image
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
Methods
  NameDescription
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release unmanaged resources
(Overrides DisposableObjectDisposeObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMoveNext
Move to the next point
Protected methodReleaseManagedResources
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
Public methodStatic memberSampleLine
Copy the pixel data in the line to a new Mat that is of the same type.
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
See Also