IMcSpatialCalib Methods |
![]() |
The IMcSpatialCalib type exposes the following members.
Name | Description | |
---|---|---|
![]() | CalibrateFloatPoints | Calibrates in place an array of Float (i.e., Single) X,Y points |
![]() | CalibratePoints | Convert pixel point coordinates into calibrated point coordinates |
![]() | ConvertToUnit | Convert the calibration from one unit to another. |
![]() | ConvertValueToUnit | Convert a distance in this calibration's units to another unit. |
![]() | GetDerivationInfo | Return the derivation values of a derived calibration. |
![]() | GetPolynomialMapping | Get the two polynomials that define the current spatial mapping |
![]() | IsEquivalent | Return whether the supplied calibration is equivalent to this calibration. |
![]() | IsLocked | Checks if the calibration is locked and returns the name of the owner. |
![]() | SetLock | Locks/unlocks calibration. |
![]() | SetPointMapping | Set a spatial calibration mapping via a set of points. A set of points, and their
corresponding calibrated values, are used to define a polynomial mapping of the
type described in SetPolynomialMapping. |
![]() | SetPolynomialMapping | Generic way to set a spatial calibration polynomial mapping of the type:
x' = (A00 + A01.y +...+ A0n.y^n) + (A10 + A11.y +...+ A1n.y^n).x +...+ (An0 + An1.y +...+ Ann.y^n).x^n
y' = (B00 + B01.y +...+ B0n.y^n) + (B10 + B11.y +...+ B1n.y^n).x +...+ (Bn0 + Bn1.y +...+ Bnn.y^n).x^n
where x',y' describe a point in calibrated space, x,y represent that same point in pixel coordinate space.
n = Degree of both y and x polynomials, and Coefficients = A00,..., Ann, B00,..., Bnn |
![]() | UnCalibrateFloatPoints | Un-calibrates in place an array of Float (i.e., Single) X,Y points |
![]() | UnCalibratePoints | Convert calibrated point coordinates into pixel-based point coordinates. |