Cog3DRangeImageCrossSectionProfile GetProfileData Method Cognex VisionPro 9.7
Gets the profile height data in pixels. Returns null if the ProfileRoot is null.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 73.0.0.0
Syntax

public double[] GetProfileData()

Return Value

Type:  Double 
Remarks

The user should rely on the weights array (returned by GetWeights()) to determine what action to take with regards to non-visible pixels. The weights array is of the same size as the profile data array, and should be used to determine which points in the profile data are "missing". Any point whose weight is zero is considered "missing", and should not be examined: its height (y-value) is meaningless.
See Also