Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Invoking a depth mask from Lens Blur

From: Photoshop CS3 Channels & Masks: Advanced Techniques

Video: Invoking a depth mask from Lens Blur

In this exercise we are going to use the Depth Mask combined with the Lens Blur Filter in order to fashion a depth of field effect, in which we maintain the focus of the foreground image, and we blur away the focus of the background. If you would like to join me, I am working inside of a catchup document called Grass masks.tif that features the original photograph from iStockphoto.com, Bobby Osborn, as well as three variations on our depth mask. The rough version of the depth mask here inside of the rough alpha channel. We also have the field alpha channel. It's cleaned up version of the rough alpha channel.

Invoking a depth mask from Lens Blur

In this exercise we are going to use the Depth Mask combined with the Lens Blur Filter in order to fashion a depth of field effect, in which we maintain the focus of the foreground image, and we blur away the focus of the background. If you would like to join me, I am working inside of a catchup document called Grass masks.tif that features the original photograph from iStockphoto.com, Bobby Osborn, as well as three variations on our depth mask. The rough version of the depth mask here inside of the rough alpha channel. We also have the field alpha channel. It's cleaned up version of the rough alpha channel.

Then we have the depth mask, the actual, final depth mask in which I added a Black to Transparent gradient over top. Let's go back to the RGB image. Let's switch over to the layers palette here. I want you to go ahead and press Ctrl+Alt+J or Command+Option+J on the Mac in order to jump this image to a new layer. We also have the option of renaming this new layer of course, and I am going to call it Lens Blur, because we are going to be applying the Lens Blur filter. Now I will click OK in order to create that new layer. Then I want you to go up to the Filter menu, choose Blur, and then choose this guy right there, Lens Blur. Now I am choosing to approach the image in this way. That is to say, I am applying Lens Blur to an independent version of the image, for two reasons.

First of all, I want to effect the image while leaving the original intact, just in case I want to come back to the original image at some point in time. You might ask why am I not applying Lens Blur as a smart filter, however. The reason is that Lens Blur is the only true filter in Photoshop's arsenal that is not available to us as a smart filter. So we have to go the static route instead. Go ahead and choose the Lens Blur filter, and you will bring up this big dialog box that takes over your entire screen. Make sure that the preview function is set to Faster, otherwise it's going to take forever to preview the effect.

Then I want you to increase the Radius value from 15 to 45, which is going to blur the heck out of the image. You also have the option of changing the shape of the iris of the lens. So the Lens Blur filter is trying to simulate an actual defocused effect. So softly focused effect as per produced by an actual film or digital camera. So you have got a lot of options available to you, but I am going to suggest that we just go ahead and ignore these options down here, leave them set to their defaults, that is to say.

Just go ahead and increase the Radius value in order to increase the degree of blur. Here are the options up toward the top, these are the options that I am more concerned about, depth mask. Notice that you have the option of setting the masked area to one of your masks that are in here inside the image. So you can work with the Transparency Mask, which is of course the transparency that's associated with the selected layer. You can work from the layer mask, if you were to have one, we don't have one actually in this case, but we do have a series of alpha channels rough field and depth.

Let's go ahead and for the mean time and choose Depth in order to apply that final depth filter, and you can see what a terrific job it does of maintaining the focus of the foreground image, the model herself, as well as the grass toward the bottom of the image. And it also blurs away the grass toward the top of the image, and we have a gradual transition between the high focus and low focus grass as well. Thanks to the gradient that's inherent inside of that depth mask. Now a few other options that are going on here, notice that there is this Blur Focal Distance value that's set by default to 0, which is a luminance level. So what its saying is that where the luminance level is 0, i.e., black the image is highly focused. So if we were to change this, we are going to change the Blur Focal Distance to 255, then White would indicate high focus.

So toward the top of the image you may recall that's where we have white inside of the alpha channel, toward the top of the image it would be highly focused, and towards the bottom of the image down here where we have black would be out of focus. So you can turn that equation on its head if you want to. You can also specify that any other luminance level is sharply focused. So if I were to tweak this down to 48, I would say that this region right here, this little bit of grass down here is highly focused, everything else is in low focus to some degree or other, depending on how close it's luminance levels are, to 48.

So I want to go ahead and switch this back to 0, so that the black portions of the mask are highly focused, and the white portions are out of focus. I could of course also invert that mask if I wanted to, in order to reverse which portion are focused or out of focus. You get the idea. Anyway, I am just going to leave the default settings intact. So Invert is turned off, Blur Focal Distance is set to 0, Source is set to depth. Now if I wanted to, that's all I'd have to do. I can click OK, and be done with it, or I could tell you, there is a better way to work, and that is to say we could be effecting the depth and the model independently of each other, using a Knockout Mask.

So here is what I want you to do instead. Rather than going with depth, rather than having the Source set to depth, which does go ahead and apply a depth to field effect, let's go ahead and give ourselves a little more control over the effect by switching the mask to field. So that she is sharply focused, the grass is out of focus, and will effect the grass independently using a Knockout layer. After you select field here, so set the Source to Field, set Radius to 45, and then go ahead and click OK in order to create this effect right here. Now we will take a moment to go ahead and apply the Lens Blur filter, but once it's finished, we should see this effect on screen. And notice it's not a particularly realistic effect. It is pretty nifty, and that it's done a good job of preserving the model protecting her from harm.

The background, the grass that is to say, is uniformly out of focus. So it's Lens Blur to throughout, but where things kind of breakdown is down here in the foreground grass, even though the grass is out of focus, the edge of the grass blades are in sharp focus. So they are masked very nicely here, which looks completely ridiculous, and of course, the dandelion are in focus in various locations as well. We are going to go ahead and fix that. So you can create a really great looking depth of focus effect that's also very flexible, in the next exercise using a Knockout Mask.

Show transcript

This video is part of

Image for Photoshop CS3 Channels & Masks: Advanced Techniques
Photoshop CS3 Channels & Masks: Advanced Techniques

190 video lessons · 26381 viewers

Deke McClelland
Author

 
Expand all | Collapse all
  1. 2h 13m
    1. The Odyssey Continues
      2m 39s
    2. Mapping one image onto another
      7m 12s
    3. Making a custom contrast mode
      7m 10s
    4. Luminance blending
      8m 40s
    5. Forcing the visibility of underlying layers
      4m 4s
    6. Adjusting the appearance of clipped layers
      4m 34s
    7. Selecting a Blend If channel
      6m 12s
    8. Enhancing highlights by hiding them
      5m 9s
    9. Smart Object first, layer mask second
      7m 22s
    10. The Fill Opacity Eight
      4m 30s
    11. Blending Smart Filters
      7m 24s
    12. Cleaning up edges
      7m 39s
    13. More fun with luminance blending
      6m 22s
    14. A first peek at the Calculations command
      12m 11s
    15. Masking a softly focused model
      11m 46s
    16. Moving layers and masks between images
      7m 35s
    17. Matching colors
      9m 13s
    18. Building transitional blended layers
      6m 33s
    19. Restoring normal colors
      6m 50s
  2. 2h 33m
    1. Layer masks, clipping masks, and knockouts
      1m 20s
    2. Rotating and stretching
      7m 54s
    3. A jet of motion blur
      9m 18s
    4. Keyboard tricks
      5m 4s
    5. Merging sky and landscape
      6m 3s
    6. Masking an adjustment layer
      6m 37s
    7. Creating two windows into an image
      7m 42s
    8. Whitening teeth and adding other highlights
      3m 46s
    9. Mapping a texture onto an image
      4m 1s
    10. Isolating a texture with a layer mask
      6m 44s
    11. Welcome to the glass composition
      3m 18s
    12. Balancing shadows and highlights
      5m 51s
    13. Masking the glass
      7m 24s
    14. Masking the text
      9m 23s
    15. Adding and blending the goldfish
      8m 45s
    16. Assembling the perfect group photo
      5m 12s
    17. Aligning photographs automatically
      5m 26s
    18. Masking in each person's best shot
      5m 18s
    19. Masking densely packed people
      6m 17s
    20. Crafting the perfect final poster
      5m 16s
    21. From the improbable to the impossible
      1m 56s
    22. The fantastical "world of clones" effect
      10m 0s
    23. Upsampling and blurring a background
      8m 39s
    24. Adding a knockout mask
      8m 3s
    25. Choking edges with Gaussian Blur and Levels
      3m 46s
  3. 2h 27m
    1. The corrective power of masking
      1m 6s
    2. The amazing luminance mask
      7m 22s
    3. Brightening and neutralizing the eyes
      8m 22s
    4. Adjusting a nondestructive composition
      5m 52s
    5. Creating a corrective mask
      6m 4s
    6. Averaging away irregular flesh tones
      3m 52s
    7. Modifying specific colors
      7m 46s
    8. Initiating the color mask
      6m 0s
    9. Refining the color mask
      6m 40s
    10. Adjusting the edges around fabric
      7m 56s
    11. Perfecting hair
      9m 35s
    12. Sharpening with a High Pass layer
      10m 12s
    13. The also-amazing density mask
      4m 48s
    14. Adjusting the knockout depth
      8m 48s
    15. Fashioning a depth map
      6m 12s
    16. Invoking a depth mask from Lens Blur
      6m 38s
    17. The perfect depth-of-field effect
      6m 25s
    18. Sharpening an archival photograph
      7m 7s
    19. Creating an edge mask
      8m 29s
    20. Making a High Pass sandwich
      7m 46s
    21. Applying the edge mask
      6m 2s
    22. Customizing your sharpening effect
      4m 6s
  4. 2h 3m
    1. Channel Mixer, I am your father!
      1m 39s
    2. Three ways to gray
      7m 49s
    3. Meet the Channel Mixer
      8m 26s
    4. Mixing a custom black-and-white image
      7m 10s
    5. Creating a professional-level sepia tone
      5m 36s
    6. Employing the Black & White command
      8m 1s
    7. Extreme channel mixing
      4m 50s
    8. The infrared photography effect
      6m 43s
    9. Taking shadows to the brink of black
      3m 56s
    10. Elevating highlights, leeching saturation
      5m 58s
    11. Deepening a black-and-white sky
      5m 49s
    12. Infusing luminance levels with color
      5m 44s
    13. Creating an opposing colorization scheme
      4m 58s
    14. Bolstering contrast with the Green channel
      5m 37s
    15. A tiny improvement to a terrific technique
      7m 39s
    16. The simple (but wrong) approach to red-eye correction
      6m 39s
    17. Channel-mixing red pupils
      9m 18s
    18. The expert approach to red-eye correction
      5m 20s
    19. Fixing problem coronas (pupil edges)
      8m 9s
    20. Making pupils match
      4m 8s
  5. 2h 33m
    1. Chops are dead; long live maskops
      1m 37s
    2. The Calculations command
      8m 16s
    3. Blue Screen blending
      7m 40s
    4. Refining the Blue Screen mask
      5m 53s
    5. Brushing away color fringing
      7m 24s
    6. Locking the transparency of a layer
      6m 22s
    7. Nondestructive layer painting
      7m 36s
    8. How the Add blend mode works
      8m 40s
    9. How the Subtract blend mode works
      6m 43s
    10. Focus, noise, and other masking challenges
      5m 33s
    11. The Add mode in action
      7m 51s
    12. The Subtract mode in action
      8m 25s
    13. Comparing two channels with Difference
      5m 24s
    14. Enhancing the contrast with Curves
      9m 11s
    15. Gathering details with Apply Image
      9m 43s
    16. Dodge highlights, burn shadows
      6m 6s
    17. Dodge and Burn in action
      8m 24s
    18. Painting in the scalp
      10m 1s
    19. Painting away the face and chin
      4m 53s
    20. Compositing complementary images
      4m 13s
    21. Multiply, Minimum, Blur, and Apply Image
      6m 40s
    22. Crafting the final composition
      7m 7s
  6. 1h 57m
    1. Mark of the Pen tool
      1m 35s
    2. The big paths project overview
      6m 51s
    3. How to make a path
      8m 25s
    4. Corner points and freeform polygons
      8m 6s
    5. Editing paths with the arrow tools
      5m 2s
    6. Adding and deleting endpoints
      5m 15s
    7. Adding and deleting interior points
      6m 6s
    8. Converting a path to a selection
      3m 35s
    9. Converting a path to a mask
      6m 38s
    10. Smooth points and control handles
      8m 57s
    11. Making cusp points
      6m 0s
    12. Combining paths in a vector mask
      7m 55s
    13. Turning a path into a shape layer
      8m 57s
    14. Combining paths to make a layer mask
      7m 52s
    15. Mixing layer and vector masks
      10m 14s
    16. Editing character outlines as paths
      8m 39s
    17. Using the Convert Point tool
      7m 8s
  7. 3h 17m
    1. Where there's a will, there's a way
      1m 18s
    2. Masking natural cast shadows
      4m 10s
    3. Applying the cast show
      4m 2s
    4. Creating a difference mask
      3m 7s
    5. Applying an arbitrary map
      3m 50s
    6. Making the flesh mask
      7m 17s
    7. Roughing in an object mask
      6m 49s
    8. Drawing missing details with the Lasso tool
      4m 7s
    9. Combining flesh and object masks
      3m 53s
    10. Amplifying the cast shadow
      4m 10s
    11. Selectively choking edges
      3m 58s
    12. Power duplication in Photoshop
      7m 9s
    13. Masking blond hair
      5m 48s
    14. Using Levels to mask iterations
      3m 14s
    15. Drawing an iteration boundary
      4m 55s
    16. Merging the best of two Levels iterations
      4m 4s
    17. More fun with Dodge and Burn
      6m 14s
    18. Fixing edges with the Pen and Stamp tools
      7m 29s
    19. Pulling from another file with Apply Image
      4m 52s
    20. Blending clipped layers independently
      5m 43s
    21. Building the flame mask
      9m 22s
    22. Amplifying the flame
      3m 53s
    23. Masking an image against a busy background
      5m 15s
    24. The Freeform and Magnetic Pen tools
      6m 52s
    25. Masking with arbitrary maps
      9m 32s
    26. A more deliberate approach to arb maps
      10m 51s
    27. Combining arb maps with paths
      9m 28s
    28. Masking with the help of the History brush
      11m 38s
    29. Creating a High Pass mask
      7m 25s
    30. Coloring in the outlines
      8m 31s
    31. Mastering Calculations
      7m 29s
    32. Subtracting and merging the beak
      11m 6s
  8. 1h 33m
    1. The meaning of bit depth (and why you care)
      2m 50s
    2. Scanning line art in 8-bit and 16-bit
      5m 9s
    3. Measuring the 16-bit difference
      8m 9s
    4. Correcting 8-bit images in the 16-bit space
      9m 31s
    5. Opening a raw image directly in 16-bit
      6m 13s
    6. Editing in Camera Raw, opening in 16-bit
      8m 22s
    7. 16-Bit/channel vs. 32-bit/channel (HDR)
      8m 18s
    8. Working with auto-bracketed photographs
      5m 6s
    9. Using the Merge to HDR command
      6m 0s
    10. Adjusting the HDR preview
      6m 0s
    11. Building a 32-bit sky mask
      6m 29s
    12. Properly exposing land and sky
      4m 25s
    13. Modifying a layer mask in 32-bit
      4m 56s
    14. Converting to and correcting in 16-bit Lab
      12m 7s
  9. 2h 8m
    1. Photoshop flirts with the third dimension
      1m 13s
    2. The displacement map
      8m 24s
    3. Making custom waves
      7m 14s
    4. Creating a Gaussian distribution
      4m 32s
    5. Using a two-channel displacement map
      6m 28s
    6. Creating a rustic edge effect
      8m 21s
    7. Distorting and shading with a DMap
      6m 34s
    8. Moonlight reflecting off water
      8m 48s
    9. Mapping the reflection onto the water
      7m 7s
    10. Dipping the moon into the water
      6m 18s
    11. Turning flesh into stone
      7m 55s
    12. Wrapping the stone around the face
      7m 27s
    13. Softening a displacement map
      8m 5s
    14. Making a repeating watermark pattern
      9m 22s
    15. 3D embossing with Lighting Effects
      10m 48s
    16. The amazing credit card type effect
      6m 56s
    17. Lightening the credit card letters
      6m 16s
    18. Wrapping the background around the text
      6m 27s
  10. 1m 43s
    1. Goodbye
      1m 43s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Photoshop CS3 Channels & Masks: Advanced Techniques.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.