Returns the root image object that contains the raw pixel data.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
Syntax
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