You can acquire EDF (Extended Depth of Focus) images using one of the EDF acquisition workbenches. Depending on your microscope/license you can perform the focusing manually or by the help of the software semi-automatically.