CorrectionScalingMode Property

NI Vision for Visual Basic

CorrectionScalingMode Property

Syntax

CWIMAQSimpleCalibrationOptions.CorrectionScalingMode

Data Type

CWIMAQCorrectionScalingModes

You can use the following constants with this data type:

  • cwimaqScaleToFit—The corrected image is scaled to be the same size as the input image.
  • cwimaqScaleToPreserveArea—The corrected image is scaled such that the features in the image have the same size as the input image.

Purpose

Scaling to be used in the corrected image. The default is cwimaqScaleToPreserveArea.

Remarks

If the image has been calibrated previously using the CWIMAQVision.LearnCalibrationGrid or CWIMAQVision.LearnCalibrationPoints method, this input is ignored and the previously defined scaling is used. This is an optional input.

See Also

CWIMAQVision.LearnCalibrationGrid

CWIMAQVision.LearnCalibrationPoints