|
|
|
Decreasing DOF in Photoshop by Paul Jaruszewski The attempt to perform a Gaussian blur on the background of a photo can be frustrating. It can be very difficult, to isolate the foreground from the background with selection tools, and once the background is isolated, the Gaussian blur filter doesn't seem to work the way many new users of Photoshop would expect. I originally expected that if you had a region selected and performed a Gaussian blur, the selected portion of the image would be blurred and the apparent depth of field would be reduced. This does happen, but the color of the region outside of the selected area gets pulled into the area you want blurred and the overall effect is poor with a "halo" around the edge of the area you want sharp. This I did not expect, and from the number of images I see on the internet where a background has been blurred, I can see that I was not alone. This "halo" is a dead giveaway that the photo was altered and not acceptable for most uses. If you want to cut to the chase, view the last two pictures in this series as the earlier images illustrate the reason why this technique is needed. Test Image This is the image that will be used in the tutorial. Assume that you want treat the text as the foreground and the black grid as the background.
Simple selection and Gaussian Blur - Poor Results If you tried to select the text then invert your selection and apply a Gaussian blur to the background, your results would be like this. What you want to observe is the extent of the red bleed into the background. Only the background was selected. The picture after this one uses the same technique, but a 20 pixel blur.
Using Layers - Poor Results If you cut the foreground from the background, then select the background and perform the blur, you will prevent the pulling in of the colors from the foreground, but will cause the background to have transparent pixels introduced. In Photoshop, the presence of transparent areas of an image are shown with a white and gray checkerboard pattern. I have placed a blue layer under the image for this tutorial to represent what may be seen when transparent pixels are in the image. Where the blue image shows through, the images were made partially transparent. The image below is a 5 pixel Gaussian blur, the one below that a 20 pixel blur.
Using Layers and Lock Transparency - Eureka! If you cut the foreground from the background, select transparency lock then select the background and perform the blur, you will prevent introduction of transparent pixels into the background. A solution to the problem. The image below is a 5 pixel Gaussian blur, the one below that a 20 pixel blur.
Step by Step Recap
Thanks and consideration to Vernon Rainwater and Thomas Marsh. Vernon is a real nice guy, a pleasure to meet as I did on the telephone. Thomas was the one who actually pointed me in the right direction as a result of Vernon's coordination. Thanks to both of you! - PJ Original DP Review thread discussing this technique.
|
|
|