Focus stacking is similar in principle to HDR. However, with focus stacking, images are captured with different focus points, and later combined in software, to create an image with more DOF than would be possible with a single exposure.