All-in-focus
If you only want to produce an all-focus image, there
are simpler alternatives
E.g.,
Wavefront coding [Dowsky 1995]
Coded aperture [Levin SIGGRAPH 2007],  [Raskar
SIGGRAPH 2007]
can also produce change in focus (ala Ng’s light field camera)