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.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Top
See Also