How is Nokia Refocus similar or different to this? It allows refocusing a part of the image which blurs out the rest.(Not a pro)
https://refocus.nokia.com/
Refocus is a set of photos with different focal lengths, and a look up table.
For each "pixel" (The look up table isn't full resolution) the look up table tells which of the photos has the most variance (i.e., is the most focused) at that point, and the viewer simply switches the photo that's shown.