Typed linear access properties with coordinate pixel access. More...
Properties | |
IntPtr | BasePtr [get] |
Linear access base pointer as returned by ImagePlane.GetLinearAccess and ImagePlane.TryGetLinearAccess. | |
IntPtr | XInc [get] |
X-increment for linear access. | |
IntPtr | YInc [get] |
Y-increment for linear access. | |
T | this[int x, int y] [get, set] |
Gets or sets the the pixel value at [x ,y ]. | |
Typed linear access properties with coordinate pixel access.
T | Pixel type to use.Attention: Do not use reference types in T as this will leak memory! |
T | : | struct |
|
get |
Linear access base pointer as returned by ImagePlane.GetLinearAccess and ImagePlane.TryGetLinearAccess.
Remember that the increments to be added to the base pointer are given in bytes, not in pixels. BasePtr by design points to the pixel at location (0,0).
|
getset |
Gets or sets the the pixel value at [x ,y ].
This is convenience functionality and not fast as this requires generic marshaling.
Attention: This access is unchecked regarding out-of-range violations!
x | X component of coordinate. |
y | Y component of coordinate. |
|
get |
X-increment for linear access.
Remember that the increment is given in bytes, not in pixels.
|
get |
Y-increment for linear access.
Remember that the increment is given in bytes, not in pixels.