Confocal Tracks are also suitable as reference Channels for the Software Autofocus. As LSM acquisition is by design slower compared to Camera acquisition, some optimizations are done in the background in order to speed up the focusing action.
The typical measure for the correct focus position in confocal images is the intensity. Hence the aim of the SWAF is here not to generate images of a certain quality, but only to evaluate relative image intensities along the z-stack. This allows us to use very coarse scanning parameters.
Generally, the SWAF for LSM uses a fixed Frame Size of 64*64 pixels in combination with the fastest possible scan speed at the currently configured zoom. To further speed up the acquisition, bidirectional scanning is used. Whatever Laser power you specify in the Channels tool window for this Track is used during the SWAF action. Of note, while you assign a reference Channel, the corresponding Track with all its channels will be active during the focusing.
Some behavior depends on the selected Search Mode Full or Smart.
In the Full search, the system will use the detector gain as configured in the Channels tool window.
In contrast, the Smart search aims to start close to the likely intensity maximum of the z-Stack. This focus position is approximated by a fast line z-stack in the center of the image frame. As the line scan generates less pixels and a higher noise level, a useful dynamic range needs to be ensured. To this end, the fast line z-stack is repeated several times with increasing PMT gain. After the line scan, regardless if an intensity peak was found or not, a frame wise autofocus will follow.
In case no peak could be identified, e.g. because of a sparsely distributed sample, the Smart search will start at the original z-position and not optimization of the starting position will take place. Essentially, the Smart search will outperform the Full search on high Search Ranges and a highly varying effective focus position.
If the focus fluctuations are predictably small, a narrow Search Range in combination with a Full search might be faster. As a final remark, Camera-based Autofocus can be time-saving, especially when the search range needs to be large and a Full Search is required. While Camera and LSM cannot be combined into one image document, the deactivated camera Track may be still be used as a reference Track.