The command you are seeking are:
Number ImageGetDimensionScale( BasicImage, Number dimension )
Number ImageGetDimensionOrigin( BasicImage, Number dimension )
String ImageGetDimensionUnitString( BasicImage, Number dimension )
Number ImageGetIntensityScale( BasicImage )
Number ImageGetIntensityOrigin( BasicImage )
String ImageGetIntensityUnitString( Number dimension )
These will give you the calibrations as shown in the image-display.

In order to convert calibrated and uncalibrated units, you have to do the accordign maths yourself.
And yes, each of the "Get" commands has an according "Set" command as well, if you need it.
One thing to watch out for is:
Do you really look at your image, or at a copy of it?
In particular, makes sure that you use := and not = when assigning image variables to images.
Example:
This will work:
Image img := GetFrontImage()
number scale_x = img.ImageGetDimensionScale(0)
Result("\n Scale X:" + scale_x )
This will not work:
Image img = GetFrontImage()
number scale_x = img.ImageGetDimensionScale(0)
Result("\n Scale X:" + scale_x )
In the second case, one gets the refernece to the front-most image, but the = will just copy the values (and not the calibrations or other meta data) into a new image.