IMcSpatialCalibCalibratePoints Method
|
|
Convert pixel point coordinates into calibrated point coordinates
Namespace:
MediaCy.IQL.Calibrations
Assembly:
MediaCy.IQL.Calibrations (in MediaCy.IQL.Calibrations.dll) Version: 10.0.6912.0
SyntaxSub CalibratePoints (
InPoints As Object,
<OutAttribute> ByRef pOutPoints As Object,
Optional NumPoints As Integer = 0
)
Parameters
- InPoints
- Type: SystemObject
Array of points in pixel coordinates. Array can be of
type LONGPOINT, SINGLEPOINT, DOUBLEPOINT, short, long, float, or double. - pOutPoints
- Type: SystemObject
Array of float, double, SINGLEPOINT, DOUBLEPOINT, or empty VARIANT,
receiving the calibrated values. - NumPoints (Optional)
- Type: SystemInt32
Number of points to convert, if null all the points in InPoints will be converted if possible.
RemarksThis function uses the calibration mapping to convert non-calibrated
point locations into calibrated coordinates.
The CalibrateFloatPoints method will calibrate an array of Single type points
in place. It should be used when possible, as it is substantially faster than
this more-general method.
Note |
---|
Scalar LONGPOINT, SINGLEPOINT, and DOUBLEPOINT are also supported. |
See Also