bkGet
Top  Previous  Next

val = bkGet ( integer Input )

Use this function to retrieve the background value assigned to an image. Transmission and OD measurements use the value of the average intensity of the background bright field, which is usually established during the background correction (see bkCorrect) or assigned directly by bkAssign.

Parameters

Input  
 
An integer between 1 and 116 specifying the frame number of the image. Values in the range of 100-116 correspond to hidden frames.  

Return value
 
The background value currently assigned to the image.  
 
Error flags

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

Example

The following operator sets the background of an image to the maximum intensity found in the image, retrieves the assigned background and prints its value.  
 
grabIm(1)  
bkAssign(1)  
Print bkGet(1)