Interface to an object that provides direct pointer access to 8-bit image pixel memory.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
The IImage16PixelMemory type exposes the following members.
| Name | Description | |
|---|---|---|
| Height | Returns the height of the pixel data. | |
| Scan0 | Returns the address of the upper-left pixel. | |
| Stride | Returns the offset in pixels from one row to the next. May be positive or negative. | |
| Width | Returns the width of the pixel data. |
Use Get8GreyPixelMemory to get an IImage16PixelMemory object. IImage16PixelMemory objects are intended for temporary use within functions that read or write pixel data. Caching an IImage16PixelMemory object for long periods of time could lead to memory congestion. If you request read/write or write-only access to the pixel memory when you call Get8GreyPixelMemory, the pixel memory may be copied internally.