CogImage8Grey GetRoot Method Cognex VisionPro
Returns the root image object that contains the raw pixel data.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

public void GetRoot(
	out ICogImage8Root root
)

Parameters

root
Type: Cognex.VisionPro ICogImage8Root 

The image data.

Remarks

Returns the root image object that contains the raw pixel data.

Note: This function is not recommended to access raw pixel data. Use CogImage8Grey to directly access the image's pixel data.

This function is useful in cases where you want two images to share the same pixel data. For example, you can pass the result of this function to SetRoot(ICogImage8Root).

See Also