loadIntCal
Top  Previous  Next

loadIntCal ( integer Image, string Name )

Use this function to apply an existing intensity calibration scale to an image. Intensity calibration supplies a scale for pixel values to establish intensity units of physical world used in intensity measurements.
.
Parameters

Image  
 
An integer between 1 and 116 specifying the frame number of the image to which the calibration scale will be applied. Values in the range of 100-116 correspond to hidden frames.  
 
Name  
 
A string specifying the name of a previously saved calibration scale that must be applied to the image.  
 
Error flags

ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  

Example
 
This set of statements loads the existing intensity calibration scale "scalexOD" to a sample image:  
 
setCurDir ("samples")  
loadIm (1,"sample8.iwd")  
loadIntCal(1, "scale_OD")  
 
Remark

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