now this is very tedious for most of use mere mortals so in 2015, Olympus kindly automated this procedure in-camera for their latest OM-D cameras as well as their Stylus TG-3 and TG-4 Tough cameras by including automatic focus bracketing and taking this a step further to automate the post-processing of these images in camera as
"focus stacking" mode