Archive for June, 2009

Fixing a white balance problem with Photoshop layers

Monday, June 15th, 2009

Generally, the Auto-White Balance function on the Sony Alpha dSLR family does an excellent job of matching the white balance of the sensor to the color temperature of the subject. Occasionally, however, you encounter situations that the auto WB setting just cannot handle.

White balance comparison

Complex White Balance dilemma: The wall of the house on the left appears correct, but the girl’s bonnet and clothing look cyan blue. Correcting the blue color (right) yields a raw yellow outer wall.



Last week, I was shooting at the Schiele Museum’s “Inspired by Nature” 18th century crafts program. One of the first things I saw was a woman in a mob cap, seated in the window of the museum’s log farmhouse. I thought it would make a great photo, so I shot several images.

I was pleased with the final results, except for one problem. Although the girl was well lit, the white balance inside the window was off. The outside of the farmhouse looked great, but the girl’s clothing had a distinct blue cast to it.

Because I shot the image in RAW, it was trivial to adjust the WB of the girl’s clothing. I process my RAW images in Adobe Lightroom, so all I had to do is use the white balance eye dropper in the develop module. I clicked on the girl’s mob cap and it instantly corrected the blue cast.

While Miss Mob Cap now looked natural, the exterior of the farm house took on a strange yellow hue. Fixing the white balance of the girl in the window ruined the WB of the rest of the image.

I tried manually tweaking the image with Lightroom’s white balance sliders, but the story was the same. I couldn’t balance both the girl and house and make the image look natural.

There are several ways I could have corrected the problem. I decided on an approach using the layers in Adobe Photoshop.

Localized correction to the rescue

The easiest solution was to just ignore the blue cast. The image would still look good, and the blue cast might even add some mystery to the final image.

A second approach would be to convert the image to black and white. In grayscale, there are no white balance issues. It might also add a historical feel to the image.

The third approach was to manipulate the image so both the girl and the house looked correct. This was the solution I ultimately decided on.

Why Photoshop layers?

Obviously, I needed a way to adjust the girl’s clothing without affecting the color balance of the house. Since Version 2, Lightroom offers tools to perform localized corrections. I could have attempted to fix the cast in Lightroom, but I feel that the local correction tools in Photoshop are easier to use and more accurate. I have nothing against Lightroom. Lightroom’s overall correction tools are first rate. When it comes to local edits, however, I always reach for Photoshop.

Step 1: Create a Virtual Copy

Lightroom allows you to make virtual copies of your RAW images. Because Lightroom keeps all the editing information in it’s database, virtual copies don’t require extra storage space.

Lightroom virtual copy

FG 149.1: Select the image in Lightroom, then from the Photo menu, select “Create Virtual Copy.” This creates a duplicate in Lightroom’s database that we can work with.

Lightroom white balance eyedropper

FG 149.2: With copy selected in the Develop module, use the white balance eyedropper and click on an area that should be neutral.


I began by doing some minor color correcting and exposure adjustments to the base RAW image. When I was happy with the overall look of the image, I used the command from the PHOTO menu to create a virtual copy.

Moving layers in Photoshop

FG 149.3: I opened both photos in Photoshop, then simply dragged the yellow version on top of the blue one.

With copy open in Lightroom’s Develop module, I selected the White Balance eye dropper and clicked on the woman’s hat. The exact location wasn’t critical, I was simply telling Lightroom that the area I clicked on should reproduce as a neutral white. When I clicked, LR changed the WB of the entire photo. I now had two images to work with; my original image and virtual copy with the improved indoor white balance. (See Fg 149.3)

I now selected both images and chose export from the File menu. I saved both images as high resolution JPEGs in a folder on my hard disk. Because I used the same settings for export, both images were exactly the same size and resolution.

Step 2: Align the images in Photoshop

I opened both images in Photoshop. For the purpose of this tutorial, I will refer to the photo with the aqua indoor cast as “blue.” I’ll call the image with the yellow farm house “yellow.”

Photoshop layers palette

FG 149.4: After opening both images in Photoshop, I dragged the image with the yellow cast directly on top of the layer with the blue cast. To align the layers perfectly, I temporarily changed the top layer’s blending mode to Difference.

I placed the images side by side in Photoshop. I zoomed the the images so I could see both images at once. As long as images are set to the same mode (i.e. RGB) Photoshop allows you to copy between them by clicking and dragging. I simply clciked on the yellow file and dragged the yellow image to the blue file. Photoshop automatically created a new layer from the yellow image.

This resulted in a file with two layers, with the yellow layer on top of the blue one.

To make sure everything was aligned correctly, I temporarily changed the yellow layer Blending Mode to “Difference.” In this mode, any misalignment displays as colored highlights. When you nudge everything into alignment, the color disappears and the screen is an even, dark gray. To make sure everything looks perfect, I generally zoom in to about 400% for this step.

Step 3: Bring on the Pen Tool

After changing the blending mode back to normal, both layers were perfectly aligned, with the yellow layer on top. Now I needed to create a mask for the top layer.

Photoshop difference mode

FG 149.5: With the top layer blending set to Difference, it is easy to see where the two layers are misaligned.

I selected the Pen tool from the tool palette. Some people are intimidated by the pen tool, but once you understand how it works, it is really easy to use. Using the pen tool is beyond the scope of this tutorial. If there is sufficient interest, I may create a separate Pen tool tutorial at a later date.

In this case, since I was dealing with the rectangular opening of the window, there were no angles or curves to deal with. So I could fly through my pen tool editing.

With the image still zoomed to 400%, I clicked in the top left corner of the window area. This established a starting point for my path. I then moved the cursor to the top right corner and clicked again. Photoshop immediately drew a path connecting the two points. A path is a line overlaid on the image in Photoshop. It is not part of the final image and can be turned on and off as you work.

Photoshop tool palette

FG 149.6: The most accurate way to create a selection is with the Pen tool. The idea will be to outline the window area so the rest of the layer can be masked away. The Pen tool will allow me to precisely follow the window sill frame.

Photoshop path

FG 149.7: The white line overlaying the red border indicates the path I created.



I then clicked about part way down, where part of the window sill protrudes into the cabin. Photoshop drew a second line, connected to the first path line I had established. Each time you click with an active path, Photoshop will extend the path to a new point.

After carefully tracing around the inner windowsill on the right side of the window, I continued to extend the path across the bottom and up the left side. I completed the path clicking on my original point in the top left corner of the window.

I now had a path that exactly outlined the inner window area, which happened to be the only area on the yellow layer that had the correct white balance.

Step 4: Create a layer mask

Now the magic. I opened the Path palette and made sure the path I had just drawn was active. Then I clicked on the “Load Path as a selection” tool at the bottom of the path palette. This created selection exactly matching the path.

Photoshop selection

FG 149.8: The red arrows point to the “marching ants” selection indicator. This tells me that I have a selection around the window area.

Lets review. If you think through the steps, you know that I had two layers, exactly overlaying each other. I now had a selection area precisely outlining the window area on the yellow layer.

Making sure the yellow layer was selected in the Layer palette, I chose the Add Layer Mask command from the Layer menu. Photoshop gave me a choice of “Reveal Selection” or “Hide Slection.” Because the area inside the selection contained the proper white balance, I chose Reveal Selection.

Immediately, Photoshop created a mask that matched my selection. Everything outside of the selection on the yellow layer became invisible. It was still there, and if I removed or edited the mask, I could recover the hidden part of the layer. For all intents and purposes, however, only the window area inside the mask remained visible. The bottom blue layer shown through everywhere except the window area, which was covered by the correctly balanced window from the yellow layer.

Success!

Both the outside and inside areas in my image now looked natural. All I had to do to complete the editing was to flatten the image and save it as a TIFF or JPEG. The logs on the house appear in an accurate gray color, and the girl is wearing a white cap.

You can see the final result in the Schiele Backcountry Farm image gallery.

Photoshop layer mask

FG 149.9: The layer mask has been applied, placing the corrected widow area directly over the lower image. You can see the mask beside the yellow layer. The black area of the mask makes the corresponding area in the yellow layer invisible. The white area of the mask allows that part of the yellow layer to show through. The mask has no effect on the blue layer, so it renders normally, except where it is covered by the unmasked area of the yellow layer on top.

I took my time describing this process, in order to make it as clear as possible. That may imply that that creating a layer mask such as this is difficult or time consuming. That is not the case. It probably took me less than five minutes to export the two versions of the image and combine them in Photoshop.

What is truth?

Some people find the whole idea of photo manipulation to be controversial. A photo is supposed to represent truth. They feel any retouching beyond simple exposure correction is messing with the truth.

I understand how their point, but in reality, photo manipulation has existed as far back as civil war photographer Matthew Brady, and some of the best known film photographers routinely performed extensive darkroom corrections when making prints.

More importantly, my camera did not record an accurate rendition of the scene I saw when I took the photo. Because the human eye can process much more color information than a digital sensor, I didn’t see a blue cast inside the window. The girl’s clothing looked neutral.

So the camera actually lied when it tinted the mob cap aqua. And of course when I corrected the girls clothing in Lightroom, the outside of the house looked nothing like the actual scene. So manipulation proved to be the only way to make the photo adhere to the truth.

What type of manipulation you do and how much of it you apply to your own photos is something you will have to determine for yourself. As far as the mob cap in the window is concerned, I think my final image is the closest I could come to the truth.

Post to Twitter Tweet This Post

Sony offering great deal on A350 closeout bundle

Thursday, June 11th, 2009

June 11, 2009 If you are in the market for a new dSLR, Sony is offering a tremendous bargain on a Alpha A350 package. Now through June 16, you can get a special A350 bundle from SonyStyle.

The package includes:

  • Sony A350 14.2MP dSLR with Super Steady Shot and Live View
  • DT-18-70 standard kit lens
  • 55-200mm telephoto lens
  • Vertical Grip VG-B30AM

The cost for all this goodness? How about $699.99 with free shipping?

That is a heck of a deal for a 14MP camera, two lenses and the optional vertical battery grip. This isn’t one of those bait and switch deals from sleazy ripoff artist you have never heard of. No rebates or tricks. This deal is for a new camera direct from Sony.

Yes, it is a closeout. The A350 is being phased out by the new A380. But the specs on the A380 aren’t that much better than the A350. The cameras share the same sensor and live view technology. The A380 offers a choice of SD card or Memory Stick, while the A350 uses Compact Flash cards. (I prefer that myself.) The A350 also has a longer life battery. And, at this writing you can’t get a vertical grip for the A380.

Undoubtedly, the A380 does offer some advantages over the older A350. The new camera is lighter and more compact, and the AF is supposed to be faster. Consider this. You can snap up the entire A350 bundle for $699.99, while the new A380 is priced at $849 with a single 18-55mm lens. Is the newer form factor, lighter weight and faster AF worth the extra cash you will have to plunk down to have the latest and greatest model? Or would you have to have the same basic camera, two lenses and a grip for about a third less than the cost of the A380 with one lens?

Click here to go to the SonyStyle page and see the details. Decide quickly. You’ve got until June 16..

Post to Twitter Tweet This Post

Another Sony A800 rumor — this dog won’t hunt!

Thursday, June 4th, 2009
Is Sony planning an A800 dSLR?Sony rumors continue to fly. This time some one has revived tales of an A800.

Okay, here we go again. A site called PhotoRumors says that they have “received information” that Sony is prepping a dSLR model to be called the A800. We’ve heard rumors of an A800 before. In fact, so many sites confidently predicted Sony would announce the A800 at PMA last March, that Sony reps went on record saying there would be no new Sony dSLRs announced until sometime after the show. As months have passed with no announcement, the A800 rumors faded.

Now they are back again — with a vengeance. You can read the short A800 post at PhotoRumors yourself, but the high points are: 16.2MP, full-frame, 100-25400 ISO (!), A900 type optical view system with popup flash and the Sony Quick live-View System (!!), HD Video, 3.5 inch LCD (!), 1/500 flash sync, aluminum-magnesium body with dust and moisture seals, built-in GPS, built-in WiFi and more.

“…and if you order now, they will throw in the Brooklyn Bridge as well…”

Call me skeptical, but this has all the makings of a vaporware pipe-dream.

A good rumor needs to sound plausible. Taken on an individual basis, every one of the rumored features of the phantom A800 is technically possible. All of the elements on the list can be found on various dLSRs from Sony or other camera manufacturers. Finding them all in a single camera is another story. There are some high-end dSLRs that incorporate most of the items on the list, but none I know of that retail for less than $2500.

Therein lies the rub. Many people have suggested that the A800 will be positioned as a replacement for the A700. If the Alpha A800 actually included most of these features, it is unlikely Sony will bring it to market anywhere close to the A700 price range. The specs on this super camera are much closer to the A900 than the A700, which currently sells for $999 in body-only trim.

True, the A900 has that incredible 24mp sensor. I also suspect that if Sony did create a dSLR of this nature, the optical viewfinder wouldn’t be as good as the one in the A900. Fitting the Quick Live View system into the A300 series cameras required Sony to make some compromises with the optical viewfinder. I would assume Sony would need the same sort of compromises in this camera.

Even so, the A800 would steal much of the A900’s thunder, especially if it was priced at the mid-range point.

A $4000 dSLR for less than $1500? I’ll take two!

Actually, the proposed specs on this dSLR are very similar to those of the very highly regarded Nikon D3. Similar, except the D3 lacks video and a flip-out LCD. The D3’s LCD screen “is only” 3 inches, a half inch smaller than the published specs for the phantom A800.

That wouldn’t be a huge deal, but the Nikon D3 sells for way over $4000.00. Does anyone really belive that Sony will bring a D3 caliber camera to market at a A700 price? Let’s not forget that such a camera would do a very good job of cannibalizing sales of the A900.

I don’t doubt that sooner or later Sony will offer an A800 model. But if it has these specs, it won’t sell in the A700’s price range. So, either Sony is prepping a high-priced companion to the A900, or the reports are completely bogus.

Either way, that doesn’t offer us a moderately-priced replacement for the current A700. Unless you believe that Sony intends to release an entire new fleet in 2009: new A230, A330, A380, A500, A550, A800 cameras and upgrade the A700 in their spare time.

Ain’t gonna happen. Not this year. Not in this economy.

I want to be wrong about this. I want be able to snap up that incredible A800 for less than $1500. However, my gut tells me Sony wouldn’t offer a camera of this caliber for under two grand. Quite possibly it would list for much more.

Anyone care to convince me that I am wrong?

Post to Twitter Tweet This Post


Who is that guy?


Web designer and photographer Tom Bonner has three decades of experience with Minolta camera equipment

Hi. I'm Tom Bonner and I am the author of the Sony Alpha DSLR-A300/A350 Digital Field Guide, published by Wiley Publishing. I've been shooting with Minolta SLRs for over three decades.

Alphatracks is my attempt to follow Sony's maneuvers in the dSLR market, and at the same time provide a resource for Minolta film and digital SLR users. A-mount shooters have to watch each other's backs, because there aren't as many of us. At least not yet....


Bad Behavior has blocked 1038 access attempts in the last 7 days.