IImage8PixelMemory InterfaceCognex VisionPro 9.22 SR1

Interface to an object that provides direct pointer access to 8-bit image pixel memory.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public interface IImage8PixelMemory : IObject

The IImage8PixelMemory type exposes the following members.

Properties

  NameDescription
Public propertyHeight

Returns the height of the pixel data.

Public propertyScan0

Returns the address of the upper-left pixel.

Public propertyStride

Returns the offset in pixels from one row to the next. May be positive or negative.

Public propertyWidth

Returns the width of the pixel data.

Top
Remarks

Use Get8GreyPixelMemory to get an IImage8PixelMemory object. IImage8PixelMemory objects are intended for temporary use within functions that read or write pixel data. Caching an IImage8PixelMemory 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.

See Also