Description

Gets or sets the name of the spatial calibration unit.

Property type

A String value.  

Syntax

object.UnitName [= value]

The UnitName Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McSpatialCalib.
valueA String value.

Remarks

By default, the spatial calibration are expressed in pixel units. Spatial calibrations that are expressed in known physical units should have the unit specified using the Unit property. For unusual images where the physical dimensions of the image should be expressed in non-physical units (e.g. frequency for an FFT image), the units can be set by name (which will set the unit type to custom, preventing any conversion to the known physical units such as meters).