CogVisionDataContainer GetRangeGreyImagePairs Method ( CogImage16Range  ,  CogImage16Grey  ,  String  )Cognex VisionPro
This method steps through the top level elements in the container. For every element that is itself a container holding exactly one CogImage16Range and exactly one CogImage16Grey (and possibly some other objects), copy a reference to that range image into the output array of CogImage16Range references. And copy a reference to the grey image into the output array of CogImage16Grey. And copy the associated top level dictionary key string into the output array of string references. The output arrays may be empty. This method ignores top level elements that are not of type CogVisionDataContainer. This method ignores top level elements that contain more than one CogImage16Range or more than one CogImage16Grey.

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

public void GetRangeGreyImagePairs(
	out CogImage16Range[] rangeImages,
	out CogImage16Grey[] greyImages,
	out string[] identifiers
)

Parameters

rangeImages
Type:  Cognex.VisionPro CogImage16Range  
The output array of CogImage16Range references. This output array is always allocated by this method, but the resultant array may be empty.
greyImages
Type:  Cognex.VisionPro CogImage16Grey  
The output array of CogImage16Grey references. This output array is always allocated by this method, but the resultant array may be empty.
identifiers
Type:  System String  
The output array of string references. This output array is always allocated by this method, but the resultant array may be empty.
See Also