ICogCalibCheckerboardWarpParams InterfaceCognex VisionPro
Interface containing the nonlinear warping parameters needed for checkerboard calibration. It also provides the warping results that are available prior to runtime.

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

public interface ICogCalibCheckerboardWarpParams

The ICogCalibCheckerboardWarpParams type exposes the following members.

Methods

  NameDescription
Public methodGetInputPixelFromOutputPixelTransform
Returns a 2-D warping transform that maps points from pixel space of an output image - one created by calling Execute with the current params - into pixel space of the given input image. Returns Nothing if this object is uncalibrated or in linear mode.
Public methodGetOutputImageRootFromCalibratedTransform
Returns the 2-D linear transformation that maps points from calibrated space into the root (@) space of the output image, if it has been computed. Otherwise, returns Nothing. The transform is computed by calling Calibrate.
Top
Properties

  NameDescription
Public propertyOutputImageMask
Returns the output image mask, if it has been computed and contains any 'Don't Care' pixels. Otherwise, returns Nothing. 'Don't Care' pixels (value = 0) in this mask identify unfilled locations in the runtime output image.
Public propertyUndistortedCalibrationImage
Returns the undistorted calibration image, if it has been computed. Otherwise, returns Nothing. This image is produced by warping the entire calibration image (ignoring the WarpDestinationRectangle).
Public propertyUndistortedCalibrationImageMask
Returns the undistorted calibration image mask, if it has been computed and contains any 'Don't Care' pixels. Otherwise, returns Nothing. 'Don't Care' pixels (value = 0) in this mask identify unfilled locations in the undistorted calibration image.
Public propertyWarpDestinationRectangle
Rectangle of the undistorted calibration image that specifies what pixels will be present in the warped (runtime) output image. If the rectangle is Nothing, all the pixels of the undistorted image will be output. It must be in '.', '@', or '#' space.
Public propertyWarpMaxErrorInPixels
The maximum error allowed during image warping, measured in pixels of the calibration image. It limits the error between a mathematically perfect warping and the (much faster) one implemented by this object. Smaller values yield more accurate warping.
Public propertyWarpRotation
Specifies the rotation, in radians, of the output image. It is the pixel-space angle from the x-axis of the output image to the x-axis of raw calibrated space. This property allows you to rotate the image during warping.
Public propertyWarpScaling
Specifies an additional scaling factor to be applied during warping. For example, a value of 2 means that the undistorted image will be approximately twice as high and twice as wide as the input image.
Top
Remarks

Interface containing the nonlinear warping parameters needed for checkerboard calibration. It also provides the warping results that are available prior to runtime. The methods and properties in this interface are only used if ComputationMode is PerspectiveAndRadialWarp.

See Also