Software for focus stacking reduces time and efforts that you spend on ordinary focus stacking process. All photos are aligned using the reference photo selected by the artist. The algorithm identifies key points and aligns the image according to those points. The image is divided into small tiles. Then stacking software looks for the most focused and unfocused tiles across different images. After it selects the most focused ones and combines them into one image.