defSpaceCal
Top  Previous  Next

defSpaceCal ( string Name )

Use this function to assign a default spatial calibration scale. Spatial calibration supplies a scale for establishing a size relationship for objects in an image and affects the results of measurements. A default calibration scale is automatically applied to images acquired with the current video device.
.
Parameters

Name  
 
A string specifying the name of a previously saved calibration scale that will be used as the default scale.  
 
Error flags
 
ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  

Example
 
defSpaceCal("scale_x20")  
 
Remark

To create and store calibration scales, use the with spaceCal function or the Spatial Calibration command from the Measure menu. For more information refer to ImageWarp User's Guide.