Refocusing

The focal stack lens block includes a linear actuator that physically sweeps the lens to capture a set of images that correspond to different focus settings. This focal stack is processed using a refocusing algorithm to generate an interactive image where the user can simply click on any part of the image to bring it into focus.