Click or drag to resize

PixelAccessor Class

This is an abstract object that is used to get direct access to the pixels of an image.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.MemoryPixelAccessor

Namespace:  Atalasoft.Imaging.Memory
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public abstract class PixelAccessor : IDisposable

The PixelAccessor type exposes the following members.

Constructors
  NameDescription
Protected methodPixelAccessor
Initializes a new instance of the PixelAccessor class attached to the given owner.
Top
Properties
  NameDescription
Public propertyHeight
Returns the height of the image in scanlines.
Protected propertyOwner
Returns the PixelMemory object that created this PixelAccessor.
Protected propertyOwnerValid
Indicates whether or not the PixelMemory which created this PixelAccessor is still valid.
Public propertyRowStride
The number of bytes contained in a scanline, rounded up to the next multiple of 4.
Public propertyValid
Returns true if this PixelAccessor is still valid.
Top
Methods
  NameDescription
Public methodAcquireNextScanline
Acquires the next scanline in sequence for this image.
Public methodAcquirePreviousScanline
Acquires the previous scanline in the image.
Public methodAcquireScanline
Aquires a scanline of data for accessing.
Public methodDispose
Disposes this PixelAccessor and all its managed and unmanaged resources.
Protected methodDispose(Boolean)
Disposes this PixelAccessor and all its managed and unmanaged resources.
Protected methodDisposeManagedResources
Disposed any managed objects that implement IDisposable
Protected methodDisposeUnmanagedResources
Disposes any unmanaged resources such as memory.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the PixelAccessor class.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetReadOnlyColumn
Gets the read only column.
Public methodGetReadOnlyColumnSection
Gets the read only column section.
Public methodGetReadOnlyScanline(Int32)
Gets the contents of a scanline, allocating memory for the data.
Public methodGetReadOnlyScanline(Int32, Byte)
Copies the contents of a scanline into the supplied array
Public methodGetReadOnlyScanlineSection
Gets the read only scanline section.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLLAcquireScanline
Subclasses of PixelAccessor implement this method to acquire a pointer to a scanline.
Protected methodLLReleaseScanline
Subclasses of PixelAccessor implement this method to release a previously acquired scanline
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotifyAccessorReleased
This method is called whenever an accessor has been released.
Protected methodNotifyAccessorReleasing
This method is called when a PixelAccessor is about to be released.
Public methodRelease
Releases a PixelAccessor back to the PixelMemory object that owns it.
Public methodReleaseScanline
Releases the last scanline acquired.
Public methodReset
Resets the pixel accessor so that AcquireNextScanline will acquire the first scanline in the image.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteColumn
Writes the column.
Public methodWriteColumnSection
Writes the column section.
Public methodWriteToScanline
Writes to scanline.
Top
See Also