CogPMAlignResult UnwarpedInputImage Property Cognex VisionPro
Gets run-time input image unwarped by the flex deformation found for this result. Returns Nothing (NULL) if PatFlex was not run or SaveDeformationInfo was not set to cogPMAlignFlexDeformationInfoTransformAndUnwarpData on last run.

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

public ICogImage UnwarpedInputImage { get; }

Property Value

Type: ICogImage
Remarks

Gets a run-time input image unwarped by the flex deformation found for this result. Returns Nothing (NULL) if RunAlgorithm was not PatFlex or SaveDeformationInfo was not TransformAndUnwarpData on the last run.

The unwarped image will only be accurate near the location of the found pattern in the input image. The unwarped image will include all pixel data from the input image, but some of the unwarped image may not have corresponding pixel data in the training image.

The root space of the output image's coordinate space tree is equivalent to the root space of the training image as well as an additional space that is equivalent to the selected space of the training image (if it is different than the training image's root space).

Note: Because of the nonlinear nature of the deformation used to produce the unwarped output image, the root space of the output image is not equivalent to the root space of the run-time input image.

See Also