spaceCal
Top  Previous  Next

spaceCal ( integer Image )

Use this function to open the Spatial Calibration dialog box. Equivalent to selecting the Spatial Calibration command in the Measure menu. Spatial calibration supplies a scale for establishing a size relationship for objects in an image. The dialog lets the user edit and/or apply an existing spatial calibration scale to an image or create a new scale.

Parameters
 
Image  
 
An integer between 1 and 99 specifying the frame number of an image for which the spatial calibration will be performed.  
 
Error flags
 
ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
The flag set if failed.  

Example

setCurDir ("samples")  
 
loadIm (1,"sample8.iwd")  
 
spaceCal(1)  
 
Remark

For more information on the Spatial Calibration dialog box refer to ImageWarp User's Guide.