Click or drag to resize

PixelMemory Methods

The PixelMemory type exposes the following members.

Methods
  NameDescription
Public methodAcquirePixelAccessor
Returns an object that inherits from PixelAccessor that is used to get to an image's pixel data.
Public methodClone
Creates a deep copy of this image and its memory.
Public methodDispose
Disposes this PixelMemory and all its managed and unmanaged resources.
Protected methodDispose(Boolean)
Disposes this PixelMemory and all its managed and unmanaged resources.
Protected methodDisposeManagedResources
Disposes any unmanaged resources that implement IDisposable
Protected methodDisposeUnmanagedResources
Disposes and unmanaged resources, such as memory not claimed by the garbage collector.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the PixelMemory class.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLLClone
Subclasses of PixelMemory implement this method to create a deep copy of the object.
Protected methodLLGetHeight
Subclasses of PixelMemory implement this method to return the height of the image.
Protected methodLLGetPixelAccessor
Subclasses of PixelMemory implement this method to return a new PixelAccessor object suitable for their particular version of PixelMemory.
Protected methodLLGetRowStride
Subclasses of PixelMemory implement this method to return the number of bytes necessary for a row of pixels. This number should be rounded up to the next multiple of 4 bytes.
Protected methodLLLock
Subclasses of PixelMemory implement this method to lock the memory.
Protected methodLLUnlock
Subclasses of PixelMemory implement this method to unlock the memory.
Public methodLock
Locks this instance of PixelMemory. For memory objects that are movable, this will prevent the PixelMemory from moving. Client code rarely needs to use this method.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberPixelDataFromPixelMemory(AtalaImage)
Returns an IntPtr to the first scanline of an image if this version of PixelMemory supports that operation, IntPtr.Zero is returned otherwise.
Public methodStatic memberPixelDataFromPixelMemory(PixelMemory)
Returns an IntPtr to the first scanline of an image if this version of PixelMemory supports that operation, IntPtr.Zero is returned otherwise.
Public methodStatic memberPointerSum
Returns an IntPtr that is offset by the provided amount.
Public methodStatic memberThrowOnNonContiguous(AtalaImage)
This is a utility method to throw an exception if a PixelMemory object is not represented by a single contiguous block of memory.
Public methodStatic memberThrowOnNonContiguous(PixelMemory)
This is a utility method to throw an exception if a PixelMemory object is not represented by a single contiguous block of memory.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodCode exampleUnlock
Top
See Also