Description

McSpatialCalib Class

Remarks

interface McSpatialCalib

Members

Methods
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.

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.


Properties
AngularOffsetRead-write property

Get the angular offset

AspectRatioRead-only property

Get the aspect ratio of a linear, uniform, spatial calibration.

ChangeCountRead-only property

A count of changes to image properties.

ConversionFactorRead-write property

Gets or sets the unit conversion factor

FlagsRead-write property

Gets or sets the spatial calibration status flags.

IsInUseRead-only property

This property indicates whether the calibration is in use on an open image.

ModifiedRead-only property

This property indicates whether the calibration has been modified and should be saved.

NameRead-write property

Gets or sets the name of the spatial calibration.

PixelOriginXRead-write property

Gets or sets the X axis coordinate of the origin

PixelOriginYRead-write property

Gets or sets the Y axis coordinate of the origin

PixelSizeXRead-write property

Get the calibrated width of a pixel. I.e. the number of calibrated units per pixel

PixelSizeYRead-write property

Get the calibrated height of a pixel. I.e. the number of calibrated units per pixel

PolynomialDegreeRead-only property

Get the maximum degree of the mapping polynomials

UnitRead-write property

Get the calibration unit type.

UnitAbbrevRead-write property

Gets or sets the abbreviation for the spatial calibration unit.

UnitNameRead-write property

Gets or sets the name of the spatial calibration unit.