A conversion is performed on the background image so that it has the same type as the source image. The conversion rules are defined by the value of the Conversion property.
The background image is the image of the background lighting. An example is the image taken with a camera mounted on a microscope when the slide to be analyzed is removed. It is assumed to have the same lighting conditions as the image to be corrected.
For color images, each channel has its own BlackLevel value.
The algorithm is based on the following formula:
CI(x,y) = ( ((I(x,y)-BL) / (BI(x,y)-BL)) * (M-BL) ) + BL
where:
This function is meant to be used in transmitted light experiments, and is especially important when measuring optical densities. Use Sub if the goal is to flatten the background of an image prior to counting or measuring objects.