Adobe / background / color / Colour / Eric Renno / Greenscreen / LAB / mask / photography / Photoshop / portrait / RGB / Software, / Technique & Tutorials

Extracting From A Green Screen – The LAB Trick

If you’re shooting in a studio for compositing with Photoshop then you may be using a grey or green backdrop. I was spending a long time making masks until I saw this cool tip from Photoshop trainer Dave Cross, the time it’s saved me, thanks Dave!

Open the images

For this example I’ve got two images, one of a wall and then one of a young lady listening to music, if you’d like to work along they’re both available from Fotolia.

The wall is a black and white image, but I’m looking to have the image in greyscale so this shouldn’t be an issue. It should be mentioned that if the final piece was going to be in colour I would choose a background with a little more colour in it.

Making the Mask

A Brief Visit To LAB

I saw Dave Cross do this a couple of years ago and its one of those tips that will alter your workflow once you know it.

With both layers in the same document hide the background by clicking on the eye icon next to it;

photofocus_greenscreen_01

then head up to the menu and choose Image > Mode > LAB Color

photofocus_greenscreen_02

This may not be a colour space that you’re comfortable with but hang in there, we’re just briefly visiting. When you’ve got more than one layer Photoshop will ask if you want to merge them, we’ll keep then un merged.

In the Channels panel we now have our Lab, a, b and Lightness channels. If you’re unfamiliar with this don’t worry I think I’ve got an idea for my next post!

All we need here is a copy of the a channel, so select it, right click it, and choose Duplicate Channel;

photofocus_greenscreen_03

and rename it Mask

photofocus_greenscreen_04

(You could drag it to the New Channel icon but you’d get a an ‘a Copy’ channel, good housekeeping is to name your layers and channels)

Back to RGB

We’re done in LAB now so back to the menu and choose Image > Mode > RGB Color;

photofocus_greenscreen_05

Again, we don’t want to merge

We’re now back in familiar territory with a Red, Green and Blue channel, plus our Mask channel.

photofocus_greenscreen_06

Lighten the Lights and Darken the Darks

We have a great starting point for the mask now but it needs a little refining.

With the Mask channel selected press Shift + Backspace to bring up the Fill dialogue box;

Choose White and Overlay from the drop down menus;

photofocus_greenscreen_07

And press OK

Already you can see we’re getting a great mask!

Next press Shift + Backspace to bring up the Fill dialogue box again, this time choose black and Overlay from the drop down menus

photofocus_greenscreen_08

Repeat the black one or two more times to get a good black and white mask.

Select the Mask

Once you’re happy put your mouse over the thumbnail of the Mask channel and press the Ctrl (Pc) or Cmd (Mac) key. This will change the pointer to a finger with a dotted square and indicates that you’re about to select the pixels on this channel.

photofocus_greenscreen_09

Click to load the selection.

Add The Mask

To apply this to the image first click the RGB channel to bring the RGB layer back into play;

photofocus_greenscreen_10

The Mask channel should be deselected, if it doesn’t you may need to manually do this.

Head back to the Layers panel and with the layer selected click the New Layer Mask icon at the bottom of the Layer panel;

photofocus_greenscreen_11

photofocus_greenscreen_12

Turning on the visibility of the Background layer shows us how well this worked, but there’s still a little to do. I have some colour spill on her hair from the green screen, but thats where Mask Edge (just another name for Refine Edge) comes into play.

photofocus_greenscreen_12_1

To access Mask Edge / Refine Edge open the Properties panel;

photofocus_greenscreen_13

And click the Mask Edge button. (Double clicking the mask will bring the Properties Panel Up)

photofocus_greenscreen_14

So there we are, a really quick and helpful LAB masking trick. Again, thanks to Dave Cross for first introducing me to this.

Finishing off

photofocus_greenscreen_15

To finish this image I’ve converted both layers to Smart Objects, I ran a Field Blur on the background to defocus it a little. For Layer 1 I ran Camera Raw filter to adjust the Exposure, Contrast and Highlights then tweaked this a little with a Levels Smart Filter.

Finally I added a 50% grey layer in Overlay and added a transparent to black radial gradient to make a vignette.


This Post Sponsored by:

Perfectly Clear for Photoshop or Lightroom is all about saving you time so you can focus on doing what you love best. Get a free trial of the award winning plug-in here.

The HDR Learning Center. Check out new ways to use High Dynamic Range photography to make compelling images. Free tutorials and posts to get results. Produced in partnership with HDRsoft

Arizona Highways Photo Workshops. For more than 30 years, Arizona Highway Photo Workshops has been committed to helping photographers find inspiring destinations, quality education and spectacular images. Get more information (and enter our contest) at http://www.ahpw.org/FindIt/

lynda.com Learn photography anytime, anywhere, and at your own pace—from bite-sized tutorials to comprehensive courses. Try lynda.com free for 10 days by visiting lynda.com/Photofocus

Filed under: Adobe, Photography, Portrait, Software, Technique & Tutorials Tagged: Adobe, background, color, Colour, Eric Renno, Greenscreen, LAB, mask, photography, Photoshop, RGB