IImage8RootBuffer Initialize Method Cognex VisionPro 9.23

Initializes this IImage8RootBuffer. If scan0 and disposable are provided, it is initialized with the provided data. Otherwise, it is initialized with undefined data.

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

void Initialize(
	int width,
	int height,
	IntPtr scan0,
	int stride,
	IObject disposable
)

Parameters

width
Type: System Int32
The width of the data (in pixels)
height
Type: System Int32
The height of the data (in pixels)
scan0
Type: System IntPtr
A pointer to raw pixel data (optional)
stride
Type: System Int32
The stride of the image (in bytes)
disposable
Type: IObject
A pointer to an object that owns scan0 (optional)
See Also