A method of providing an all-in-focus video from a single captured video is disclosed. The method uses a processor to perform the steps of acquiring a single captured video of a scene such that during capture there are at least two differing focus settings by using the single captured video to provide a plurality of videos having at least a first video at the first focus setting and a second video at the second focus setting and providing an all-in-focus video from the plurality of videos.
展开▼