Figure 6.6 Algorithm for the optional pre-processes. Note that for a ‘save-as’ format of ‘Intensity’ this is
treated as a colour image all the way to the end and only at the saving step is the intensity component
calculated from the resulting R,G,B channel buffers and saved to disc. This means that if you want to do
dark field or flat field correction with a ‘save-as’ format of ‘Intensity’ then you must supply an RGB format
image as the master dark or master flat image even though the output will be monochrome.
Regardless of image save-as type (whether colour or monochrome) only one identical
mask is applied to all colour channels. For this reason, if a colour format mask image was
chosen the data in the three colour channels is reduced to a single channel by extracting
intensity component of an HSI and using that for the following processes. The formula is
I=(R+G+B)/3.
OptArc AF51 Camera Page 83 of 99 User Guide v1.02