Using depth map image for DOF blur

Hi folks,
how to use depthmap image in Blender compositor? I have a depth pass rendered in another software. (B & W sequences). I tried defocus node, but it does not work. In this case I want to use Blender as a compositor, so I do not have Z-Buffer. I am unable to create depth of field.

Thank you!

Hi, try these settings: