Yes. Duplicate the background layer, and use the lens blur filter on the new layer. Then create a layer mask and use the gradient tool on it. You’ll see that the layer mask is active because it will get a black frame around its icon in the layers palette. You can create a custom gradient is you need to blur both the foreground and the background of the image.
J
IMO, it’s better to apply a Depth of Field mask on the Lens blur itself rather than on a layer that’s already been lens blurred.
With this Depth Map (in the lens blur dialog) the magnitude of the lens bokeh gradually changes, while with a layer mask gradient it simply gets fainter.
Create a new channel, make the gradient mask on that, and call it up from the Depth Map in the lens blur interface.
Rob
I don’t think that’s your opinion Rob. 😉
Thanks for pointing out how to properly use the filter. Time to dig into RealWorldPSCS3.
J
J,
I learned this from Martin Evening’s book Adobe Photoshop CS for Photographers
Rob