Image8Grey GetRoot Method Cognex VisionPro 9.10

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

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

public void GetRoot(
	out IImage8Root root
)

Parameters

root
Type: Cognex.Vision IImage8Root 
(output param) The image data.
Remarks

This function is not recommended to access raw pixel data. Use Get8GreyPixelMemory to directly access this 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.

See Also