I don't have a lot of time to put in this project right now. But, I now have a lytro illum I can use for test. I'm going to look into how to use the previously linked github with lytro images (the test images are not available anymore).
After having the depth map I'm thinking to generate an "ALL in focus" images using the depth map and the different focus generated by plenotpicam (
https://github.com/hahnec/plenopticam).
For the pipeline itself, I was thinking of maybe starting by doing a pre-processing node (generating all in focus image and depth map) and adapting the other step in the pipeline to use that.
The same logic could be used for "bokeh" images but with a specific node per type of images I guess.
I'll try to post test results here when I have the time to start working on it.