I wrote a Python script to do the necessary calculations for "A Multifocus Method for Controlling Depth of Field", described at Grafica Obscura.

These results are poor, probably because the camera shifted between images.

The script is available here. It requires Python with the Python Imaging Library ("PIL") installed.

Input Images

p8274760p8274760
p8274761p8274761
p8274762p8274762
p8274763p8274763
p8274764p8274764
p8274765p8274765
p8274766p8274766
p8274767p8274767
p8274768p8274768
ResultResult

List of albums

Selected items available as posters