Learn how to apply a Lens Blur in Photoshop with a 3D rendered Z-depth pass.
The 32-bit EXR format is used for this purpose.
The function Stamp all Visiable Layers is applied on the original layers to avoid having two PhotoShop files (Ctrl+Shift+Alt+E)
Image adjustment HDR Toning with method Equalize Histogram.
Lens Blur with Alpha channel as source.
Good Luck Tomas L :)