snoack   snoack underwater   Contact    



Getting Rid of that Ugly Cyan Cast

This Tutorial shows what you can do to get rid of a heavy cyan cast in photos of sharks, manta rays, and other things shot in the blue.
As with many photos there is no defined workflow or sure way to achieve a pleasing result, it all comes down to playing around and see what works best. I'll try to introduce several techniques here including plate blending (channel mixing), levels adjustment, selective color correction, layer masks and blending modes. The picture you want to save might not need all those steps but when you are through with this tutorial you should have an idea of your options.
I won't explain how to handle the Photoshop tools in detail (i don't want to write a book ;) but will show my settings including some of the try and error ones.

This tutorial was written using Photoshop 7. It works exactly the same way with Photoshop CS. Some of the tools i used, like Selective Color are not present in Photoshop Elements.
There are several other ways to get rid of the cyan cast Photoshop and many other image processing tools offer similar functionality to improve your photos.

My source of information for the plate blending technique is a very interesting and well written wetpixel tutorial named Getting Rid of Underwater Blues written by Robert Delfs.

The photo i'm trying to save here is a shark portrait that was sent to me by Betsy aka RIdiver from the DD-Forum. It required a lot of work, i.e. this is a very long tutorial, but IMO was worth the effort.
I never managed to get such a close shot of a shark myself, i.e. most of the time you need a magnifying glass to be able to find the sharks on my pics :-)

My Photoshop is in German, but i have added the English names of commands, tabs, menus, ... in blue color on the screenshots. Settings and hints are black or red.
I have also added links to downloadable PSD files including all the layers and settings required for the different manipulation tasks. They all have a top level layer with Betsy's copyright, please respect that, because it is Betsy's photo. I used a font named "Hobo" for Betsy's copyright note. If this font isn't installed on your computer, Photoshop will display a warning when you open the PSD file. No need to worry, simply ignore it.

Have fun - Sabine

Before   After
  

 
A) Analyze the Photo to Find Out What Is Wrong With It
 


Problem #1:
There is No Red in this Picture

Missing reds are a common problem with many pictures of creatures in the blue, especially when shooting without strobe or when the animal is too far away for the strobe.
Let's have a look at the Red, Green and Blue channels of this picture. You need to be in RGB mode to do this, if not choose Image::Mode::RGB.

To view the channels simply click on the Channels Tab right next to the Layers tab in your Layers palette.

As you can see here the Red channel is almost completely black, indicating that there is no or very few red information. The Green channel is good, the Blue channel has too much contrast but is usable. Might be a job for the Channel Mixer
  


Problem #2:
The White Parts of the Shark Are Hard to Distinguish from the Water

This is going to be a real problem, because getting the colors right on the shark will also alter the water.

We'll probably have to use 2 layers and a mask here to be able to manipulate the shark in one way and the water in another.
  


Problem #3:
Lots of Bubbles in the Background

The more bubbles there are, the more we have to fix. Getting the color of the bubbles right (they should be white) will also alter the color of the water, resulting in a lot of extra work.

Fortunately there is a lot of water around the shark, giving us a chance to crop the photo to get rid of some of those bubbles and put more emphasis on the shark.

Remember that the amount of cropping depends on the resolution of the original image. If we crop too much, the image gets too small to be printed or published.
  



Download the original (1154KB) as PSD file (right click and Save target as ...) to work with it.

 
B) Crop the Photo to Get Rid of Some Bubbles
 

It's better to crop the photo before you start correcting it.
When using the crop-tool, you can decide to crop to a predefined size or use the delete button of the crop-tool to delete all predefined settings and crop to your like.
(Use something like 2400x1800 (4:3) or 1500x1000 (3:2) to keep the aspect ratio but don't crop to values larger than the original resolution)
In any case make sure that the value for the dpi setting is empty, because you don't want to change that now.

The original size of Betsy's photo was only 600x450, i decided to keep the aspect ratio and crop to 400x300.
I also moved and changed the size of my area to crop several times until the shark was in a nice position. To move the area to crop simply drag it while keeping the left mouse key pressed or use the arrow keys (up, down, left, right) on your keyboard. To change the size drag one of the handles.

Crop-Tool Options and Settings used

Cropping ...


Here is the image after i cropped it.



Download the cropped PSD file (587 KB, right click and Save target as ...) to work with it from here on

 
C) Try a Quick Fix First
 

I usually play around with Photoshop's Auto-Adjustment Tools first. This will help me to get an idea of what to do and what to avoid.
I simply use Undo or go back 1 step in History if i don't like the result. You could also create a copy of the background layer (see Chapter D, Step 1 on how to do this) and simply delete that copy if you don't like it.

Here are the results (left half is adjusted, right half is original)

Auto-Color   Auto-Contrast   Auto-Levels
     
No visible change   Not much better   Way too much and still cyan

The only quick fix with a visible change is Auto-Levels but i don't like the result: there is a lot of noise now (visible in full resolution) and the colors are even worse. But it seems that a careful manual levels adjustment might add some contrast.
Auto-Color and Auto-Contrast didn't work because of the missing red.

My conclusion: We have to add some red to the image to be able to create neutral colors.
Neutral colors have similar values for Reds, Greens and Blues, i.e. White is (Red:255, Green:255, Blue:255), Black is (R:0,G:0,B:0) and medium Gray is (R:128, G:128, B:128).
The best solution here is to rebuild the Red channel. We can do this without loosing any information because the Red channel is empty right now (see Problem #1).

 
D) Recreate the Red Channel Using the Channel-Mixer
 

There are 2 ways to directly manipulate channels in Photoshop. The complicated one that allows for more fine tuning is done with Image::ApplyImage. I'll use the easy way here and work with a Photoshop Tool called Channel Mixer.
The channel mixer allows us to copy information from one channel to the other, we will use this to recreate the Red Channel.

We will create an adjustment layer for the channel mixer and apply it to a copy of the original image to save the original color (we might need it later).


Step 1: Duplicate the Background Layer

In the Layers palette, select the Background Layer, right click on it and choose Duplicate Layer from the popup menu.
In your Layers palette you should now see a second layer called Background Copy 1


Step 2: Create the Adjustment Layer for the Channel Mixer


Select the Background Copy and create an adjustment layer for the channel mixer with:
Layers::New Adjustment Layer::Channel Mixer.

This opens the channel mixer dialog.
Simply click OK to create the adjustment layer.

The new adjustment layer should be placed on top of the Background Copy layer. If it is not, drag it there.

Your layers palette should have 3 layers now, mine looks like this:



Step 3: Use the Channel Mixer

To reopen the Channel Mixer Dialog simply double click on the Channel Mixer Symbol in it's adjustment layer.
The dialog should open with the section to manipulate the Red channel (i.e. Target Channel: Red) by default. If not, select Red as Target Channel now.
Also make sure that the Preview option is selected, otherwise you don't see the impact.

Now we need to increase the amounts of Green and Blue (both currently set to 0) to be added to the Red channel.
You should play around here a little bit until you end up with an image where the neutrals (i.e. Black, White and Gray) are OK. The color of the water will probably look wrong now but we will fix that later.

I ended up with Green +50% and Blue +25%.


When you click OK, the red channel is created from a mix of 75% of the Green channel and 25% of the Blue channel.

Now we have to find a good blending mode for the adjustment layer. We could leave it at "Normal" but i like "Lighten" even better.
Here is the layers palette with the blending mode, the altered image and the new red channel (see problem #1 on how to find it)

Blending Mode "Lighten"   Image after Channel Mixer   New Red Channel
     

Download the PSD file with Channel Mixer (893 KB, right click and Save target as ...) to work with it from here on

 
E) Add More Contrast with Manual Levels Adjustment
 

Although Auto-Levels over adjusted the image it indicated that a careful levels adjustment might enhance the picture.
It is important to do this in it's own adjustment layer, which must be placed on top of the layer for the Channel Mixer.
And please don't worry about the water, we will fix it later. Right now we are trying to fix the shark.

Here you'll find some basic information about Levels and Levels Adjustment


Step 1: Create the Adjustment Layer for the Levels Tool

Select the layer with the Channel Mixer and create another adjustment layer for the levels tool on top of it with:
Layers::New Adjustment Layer::Levels.

This opens the Levels dialog.
Simply click OK to create the adjustment layer.

The new adjustment layer should be placed on top of the Channel Mixer. If it is not, drag it there.

Select the Levels Adjustment layer and change the Blending Mode to "Luminance".

Your layers palette should have 4 layers now, mine looks like this:


Step 2: Adjust Levels for Red, Green and Blue and RGB

The Levels Tool allows you to adjust the combined RGB values as well as the values for the Red, Green and Blue channels.
Whatever you do, try to be careful and not to drag the arrows into areas where there is color, it's better to stay within the safe areas.

Start adjusting Red,

As you can see, thanks to the channel mixer we now have some red to adjust.
Simply play with the Input Levels Shadow and Highlight values but keep within the safe areas, otherwise you will loose color information in the shadows and/or highlights.
My setting here is 75 for Shadows and 215 for highlights.
Here are the settings and the result:



Next adjust Green,

remember to stay within the safe areas although the image doesn't seem to change very much.
My only change here is 75 for Input Shadows.
Here are the settings and the result:



Now adjust Blue,

again try to stay within the safe areas, this leaves us some options for the combined RGB values.
I only changed the Input Shadow value to 145.
Here are the settings and the result:



Finally adjust RGB,

although there seems to be a safe area in the shadows, cutting it results in creating visible noise on the shark.
We only want to increase contrast in the midtones and highlights, this is done by reducing the Input Levels Midtone value.
I changed the Input Midtone value from 1 to 0,55.
Here are the settings and the result:




What is the Difference Between "Normal" and "Luminance" Blending

Still wondering why i asked you to set the Blending Mode of the Levels Adjustment Layer to "Luminance" ?
The reason is that i wanted the Levels Adjustment to increase contrast and not to alter the color of the image, because the shark is already close to neutral, i.e. it has lost the cyan cast.
Here you can compare the results of 3 other blending modes to luminance (right half)

Normal
(Magenta nosed shark)
   Color Burn
(Electric Blue shark)
   Soft Light
(Very Pale shark)
     


and here is the levels adjusted image blended with "Luminance".

I'll call this one a "Lavender shark":


Download the PSD file including Levels (923 KB, right click and Save target as ...) to work with it from here on

 
F) Fine Tune the Shark with Selective Color
 

The Levels adjustment added contrast to the shark but i think we can do better by selectively adjusting some colors. This is NOT possible with Photoshop Elements !
Again it is important to do this in it's own adjustment layer, which must be placed on top of the layer for the Levels Adjustment.
And yes we are still trying to fix the shark.


Selective Color Basics

My Selective Color Basics page isn't ready yet, i will add a link to it here once it's published and only give you a short intro now:
Selective Color allows you to selectively change Reds, Magentas, Blues, Cyans, Greens and Yellows as well as Whites, Grays and Blacks by increasing or decreasing the amount of Cyan, Magenta, Yellow and Black in each of the colors to adjust. You don't have to change to CMYK mode to do this, it works very well in RGB mode too.
The whole idea is based on the Additive Color Theory, but the only things you need to understand here is that
- increasing black darkens the color,
- decreasing black lightens the color
- increasing cyan adds blue and green (i.e. cyan) to the color
- decreasing cyan adds red to the color
- increasing magenta adds blue and red (i.e. magenta) to the color
- decreasing magenta adds green to the color
- increasing yellow adds red and green (i.e. yellow) to the color
- decreasing yellow adds blue to the color
The difference between Relative and Absolute mode is sometimes hard to see and sometimes stunning.
Absolute increases or decreases the amount of the chosen color independent of how strong it's amount already is, whereas
Relative takes the amount of already existing color into account.
If you increase the amount of Black in Red by 100%, Absolute will do this evenly, no matter if it's light Red or dark Red, whereas Relative will add less Black to light Red and more Black to dark Red.

The best way to understand selective Color is to play around with it. I already prepared a Selective Color Training jpg file for you to download (88KB) and here are some Selective Color examples similar to what we'll use later on (all done in Absolute mode):

Original:
 
   Color Cyan:
Cyan -100%
   Color Blue:
Black +100%
   Color Gray
Yellow +50%
        


Step 1: Create the Adjustment Layer for the Selective Color Tool

Select the layer with the Levels Tool and create another adjustment layer for Selective Color on top of it with:
Layers::New Adjustment Layer::Selective Color.

This opens the Selective Colors dialog.
Simply click OK to create the adjustment layer.

The new adjustment layer should be placed on top of the Levels Tool. If it is not, drag it there.

There is no need to change the blending mode, "Normal" is OK here.

Your layers palette should have 5 layers now, mine looks like this:


Step 2: Adjust Cyan, Blue, Gray and Black Selectively

The Selective Color Tool allows you to adjust specific colors in the image.
I will use it to change our "Lavender shark" into a more natural looking one (keeping in mind that i need to blend it with the background later on).
My guess is that i'll need to adjust Cyans (lighter), Blues (darker) and Grays (more yellow and lighter) here. I'll also enhance the Blacks, this will add sharpness to the eye.


Reopen the Selective Color Tool

To reopen the dialog, simply double click on the Selective Color icon in the Selective Color adjustment layer.
By default the tool opens up with the settings for Reds, as shown here.

The sample dialog should explain how to change the settings.
To change another color, select it in the Colors options.
To change the value for Cyan, Magenta, Red and Black move the slider ore enter the new value directly (use -50 to decrease 50%).
Select a method, we'll use Absolute here.

Don't forget to check Preview or you won't see your changes in the image.


Adjusting Cyans

This is actually the easiest way to get rid of a Cyan cast without altering other colors.
Decreasing Cyan in Cyan by 100% kind of removes it or makes it very light and grayish, but you will loose contrast also.
Decreasing Black in Cyans by 100% will make your cyans very light, almost white.
Increasing Black in Cyan by 100% will make your cyans very dark, almost black.

We'll try to make the cyans as light as possible to reduce them and get rid of noise in the lighter areas of the shark, i.e.
Choose Cyans as the Color to change and enter -100 as new value for Black or move the slider for Black completely to the left.


Here are the settings and the result:




Adjusting Blues

In order to balance the contrast and also to get rid of the bluish cast left, we will now darken the blues.
Increasing Black in Blue by 100% will make our blues very dark, almost black.
Choose Blues as the Color to change and enter +100 as new value for Black or move the slider for Black completely to the right.


Here are the settings and the result (after Cyans and Blues):




Adjusting Blacks

Making Blacks a little bit blacker is my way of adding extra contrast to dark areas, almost like using the unsharp mask on Black but without creating artifacts.
You can also use it to darken already dark areas in the background of an image.
I wanted to add contrast to the eye of our shark and added +10% black to Blacks. I haven't prepared an extra screenshot of the settings, because i assumed that you should know how to do it by now.


Here is the color adjusted result, the shark looks rather natural to me now:



Download the PSD file including Selective Colors (918 KB, right click and Save target as ...) to work with it from here on

 
G) Add a Layer Mask to Separate the Shark from the Water
 

Now it is time to get rid of the ugly gray water. We'll simply create a layer mask on our Background Copy layer to hide it, which is NOT possible with Photoshop Elements !
We could have created the layer mask right after cropping the picture but i wanted you to be able to view the effects of our changes to the water also.
Before we start to paint the layer mask, we should reduce our number of layers, otherwise we'll muddle them up sooner or later.


Step 1: Merging Layers.

Photoshop has several options to merge or reduce layers.

The only way to recreate layers that were accidentally merged is to go back in the history palette and select the command before you merged.

I prefer to use Merge Down unless i have more than 10 layers to merge.
Here we need to merge the 3 adjustment layers and the Background Copy layer. You can either make sure that these 4 are the only visible layers (check the eye symbols) and use Shift+Ctrl+E,
or you can merge them one after the other by selecting the Channel Mixer Layer and merge with Ctrl+E (no Shift), next select the Levels layer and merge with Ctrl+E and finally select the Selective Color Layer and merge again with Ctrl+E (or Layers::Merge Down).

It's a bit difficult to show the merge process in a screenshot, but when you are ready your layers palette should look like mine here and your image should be unaltered.
I have only 2 layers left now, my original Background and my adjusted Background Copy.


Step 2: Create a Layer Mask for the Background Copy Layer.

There are 2 ways to create the layer mask, we can either create a filled mask with Layers::Add Layer Masks::New (option: filled),
or we can select as much water as we can in our image and create the layer mask from that selection with Layers::Add Layer Masks::New Layer mask (option: mask selected).
I decided to roughly select the shark and create the mask from that selection. You can use the lasso or the healing patch as selection tools. I prefer to use the healing tool, it seems to allow more accurate selections.
The next step is to select the layer where you want to add the mask, in our case that's the Background Copy layer and simply click on the Layer mask Symbol at the bottom of your layers palette.
This creates a layer mask from our selection (as shown below).
Tool tip: Photoshop doesn't allow you to create a layer mask for the background or bottom layer, because there is nothing left to show below it.

My selection   Create the Mask
  

 
  
 
Layer with Mask   Resulting Image
  


Step 3: Fitting the Layer Mask.

We created the layer mask from a very rough selection and now need to adjust it to fit the shark.
We need to be careful here because we don't want to hide parts of our shark but we also want to completely hide the grayish water around it.

We will now switch to the channels tab and simply paint on the layer mask, using smaller and smaller brushes the more detail we need to paint.
Displaying all the RGB channels and the mask helps us to decide where to paint. Masked areas appear red, unmasked areas shine through.
We can now mask and unmask image areas by directly painting on the image with a tool of our choice, like the brush. We use Black to mask areas, White to unmask areas and different Grays to create more or less semi-transparent areas (to create smooth transitions).
I also suggest that you zoom into the image to make sure that the mask really fits.



Here is the image with and without showing the completed mask.

Visible Mask Channel   Invisible Mask Channel
  


Step 4: Blending the Layer Mask Using a Gaussian Blur

Although the shark is really nice now, the transition from masked to unmasked areas could be a bit smoother.
Applying a Gaussian Blur to our Layer Mask will do the trick.

We want to blend the background into the shark, avoiding a hard transition. The Gaussian blur will make the edge of our current mask semi-transparent, creating kind of a halo effect.
To avoid this, we need to make our mask a little bit smaller, ~ 1 pixel.


Shrinking the Mask.

In the layers palette, right click on the layer mask symbol and choose "Set Selection to Layer Mask". Now we see our mask as selection.
To downsize the selection choose Select::Modify::Contract and enter 1 (pixels) as value. The selection is now slightly smaller than the shark.

Go back to the channels, make the Mask Channel visible (eye symbol is displayed) and hide the other channels (click on the eye of the RGB channel). You still should see the selection, this time on the black and white layer mask.
You may notice that there is some white outside of our selection now. We need to fill this with black.
In the Select menu choose Inverse (to inverse the selection). From the Edit menu choose Fill and in the Fill dialog select Black as color to use (filling the selection with black). Don't change any other option, simply click OK.
In our layer mask, the selected area is now completely black and the rest is white.
We don't need the selection anymore, choose Select::Deselect or use Ctrl+D as shortcut.

Mask with Selection after Contract   Inverted Selection filled with Black
  


Check the masked image to make sure that we didn't mask too much of the shark.
If necessary, correct the mask by painting white close to the edge of the mask.

You can also switch the mask off to see how the unmasked picture looks like (not shown here).

Here is what my masked image now looks like. The areas where the edge of the shark is masked are clearly visible.
I still need to correct the mask on the upper edge of the shark.




Applying a Gaussian Blur.

Make sure that the Mask Channel is still selected and choose Filters::Blur:Gaussian Blur. This opens the Gaussian Blur Dialog (not shown here).
Enter 1,5 (pixel) as radius to blur and click OK.
Apply the Gaussian Blur again, but this time with only 1 pixel as radius to blur.
Here is my mask and the resulting image

Blurred Mask   Resulting Image
  

The shark is ready now, but we still have to fix the background
Download the PSD file including the Layer Mask (951 KB, right click and Save target as ...) to work with it from here on

 
H) Fix the Background
 

The shark is looking rather realistic now but unfortunately the water in the background doesn't.
It is simply too cyan and i'm missing the fact that the blue gets darker, the deeper you look.
We can simply replace the original background with a better one but i'd like to preserve it for Betsy to tell her dive buddies that it's their bubbles in the background.
My solution is to paint a semi transparent color gradient from dark blue to white in a new layer on top of the background layer and fix the rest using the Selective Color tool again.


Step 1: Fill new Layer with Gradient Tool


Create a New Empty Layer on top of the Background Layer.

In the Layers Palette, select the Background layer.

Now click on the "New Layer Symbol" at the bottom of the palette. This adds a new layer named Layer 1 on top of the Background layer.
If your new layer is not right above the Background layer, simply drag it there.

Next select the new layer and change it's opacity to 20%.

Your layers palette should now look like this:


Create a Layer mask for the new layer, protecting the shark.


Before we fill the layer, we'll better select the water only, we don't want to paint the gradient on the shark.
We can simply reuse the inverted version of our existing layer mask to select the water.

(#1) In the layers palette, select the new layer and add an empty layer mask (as described in the previous section, Step 2: Create a Layer Mask for the Background Copy Layer).

(#2) Now click on the Layer mask of the Background Copy Layer to activate it and copy the mask using these shortcuts: Ctrl+A (Select All), Ctrl+C (Copy) and Ctrl+D (Deselect).

(#3) Next click on the New Layer mask (for our new empty Layer 1) to activate this one.

(#4) Now Switch to Channels, select the channel with the new mask and paste the copy of the old mask with Ctrl+V

(#5) With channel still selected, finally invert the new Mask with Image::Apply::Invert (or use Ctrl+I)

#1
Create New Layer Mask
   #2
Activate + Copy Old mask
   #3
Select New Layer Mask
     

 

#4
New Mask after Paste
   #5
Inverted New Mask
  



Fill the new Layer with the Gradient Tool.

Select the Gradient Tool in the Tool Palette.
It maybe hidden under the Paint Bucket.

   

Next set the foreground color to a very dark blue (000066) and the background color to white (FFFFFF).

Now select the first Gradient Option from the choice.




To paint the gradient, make sure that the new Layer 1 is selected in the layers palette (click on the layer symbol, not on the mask).
With the Gradient Tool draw a straight line upward (i.e. from the Bottom to the Top). Its better to start painting a little bit below the bottom and end a bit above the top to make sure to fill the whole image.

With the Gradient painted you might increase the Layers Opacity, i changed it to 25%.
Note that the Gradient fill also helps to disguise noise in the background water.

Your image should now look like this:

Selected Layer with Gradient   Resulting Image
  


Step 2: Use the Selective Color Tool for final Color Adjustment

We still need to color correct the background and the bubbles and also make the water a little bit darker, to better match the shark.
Chapter F: Fine Tune the Shark with Selective Color describes how to use the Selective Color tool, allowing me to only show and explain the settings for different adjustments here.

Create the Adjustment Layer for the Selective Color Tool

Select the Background layer and create a new adjustment layer for Selective Color on top of it as described before.

Change the opacity of the new adjustment layer to 50%.
50% is good for a start, you might change it later to get a better result.

Normal works well as a blending mode, but you might also try Luminance, Darken or Multiply.

Your layers palette should now look like this:

Adjust Colors Until Satisfied

What we are doing now is very much a question of personal taste. I think that the water is still too cyan and that it could be even darker. I also want to get rid of the cyan in the remaining bubbles.
I'll explain what i think i have to adjust here and give you an overview of the settings i ended up with after that.

My guess is that i should start adjusting the Cyans.
Increasing 10-20% Black should make them darker, decreasing Yellow should make them bluer and decreasing Cyan should make them more neutral. This will correct the water and the bubbles.

I'll continue with the Blues now.
The water is not dark enough for me, but increasing ~ 50% of Black will do the trick. I'll also play around with Yellow and Magenta to see if i can achieve an even better result.

Next color to play with is Whites
The bubbles are still too dark and too cyan and i'll try to make them a bit lighter by decreasing Cyan and Black as much as possible (i.e. - 100%).

Grays are the last color to change here.
Adjusting Grays has the most impact on all colors in the image that are not pure. Therefore we have to be really careful here. Download the jpg image from above and try it for yourself.
For my taste, the water is not dark enough yet and still too cyan. Increasing Black in Gray will make the water even darker and decreasing Cyan will make it more neutral.

Here is an overview of my Selective Color Settings, all using Absolute as Method:

Cyans:   Blues:
  


Whites:
  

Grays:
  

In the end i changed the opacity of the Selective Color adjustment layer to 75% but decided to keep Normal as blending mode.

If there is a visible halo somewhere around the shark or you see water creeping somewhere into the shark, simply correct one or both of the layer masks. As a reminder: you need to activate them by clicking on the layer mask symbol in the layer before you can correct them.
Here is my result with an adjusted background:


Download the PSD file including the Gradient Layer and the Selective Color Tool (1176 KB, right click and Save target as ...) to work with it from here on

 
I) If You Can't Save the Background ...
 

Sometimes the background is too ugly or has too much noise to save it. Depending on the image you can always try to replace it with another matching background or let your imagination run wild and create an artsy picture.
Here are some ideas of what to do :-):

Flying Shark   Rainbow Shark   Space Shark
     

 
J) Blend Layers to Better match Shark and Background
 

OK, now we have a natural looking shark and a natural looking background but the photo looks like a montage (it actually is a montage, but we don't want others to recognize that on a first glance).

The first thing we'll have to do is merge all the layers adjusting the background, but keeping a copy of the original background for later use.
Then we will try different blending modes for shark and background layers, maybe even create several copies of the shark layer to combine different blending modes and opacities.
Finally we will add a copy of the original background layer on top of it all, using very low opacity.

Step 1: Create a Copy of the original Background Layer

Select the original Background layer and drag it on the "New Layer" symbol at the bottom of the layers palette (or right click on the background layer and choose duplicate layer from the popup menu, see Chapter D, Step 1 for details).

Make sure that the new layer (Background Copy 2) is placed above the original Background layer and below the adjustment layer for Selective Color. If not, simply drag it there.

Your layers palette should now look like this:

Step 2: Merge Background Layers

Now you need to merge the new copy of the background layer with the Color Correction layer and the Gradient layer (Layer 1).
Don't touch or merge the original Background Layer, we need it later on. If you accidentally merge it, use Undo or go back in History.

The technique to merge layers is explained in Chapter C, Step 1.
I suggest that you simply select the Selective Color Layer and merge down with Ctrl+E. Next select the Gradient Layer (Layer 1) and merge down again using Ctrl+E.

Your layers palette should now look like this:


Step 3: Rename Remaining Layers

We'll start copying our layers now and don't want to get confused by all those copies of copies of copies.
It is time to rename our layers to make sure which is which.
Tool tip: You cannot rename the background layer.

To rename a layer, simply double click on it's name. Now you can now edit the name, i.e. enter another one. Cklick outside of the highlighted area to end renaming.

Your layers palette should now look like this:


Step 4: Copy the Shark Layer and Change Layer Opacities

Create a Copy of the Shark layer (as described in Step 1).

Change the opacity of the lower Shark layer to 75% and rename the layer to Shark 75.

Change the opacity of the upper Shark layer (i.e. the copy) to 50% and rename it Shark 50.

Your layers palette should now look like this:

You may have noticed that a bit of the background came through after reducing the opacity of the Shark 75 layer and that we reduced that effect with the Shark 50 layer, although it's opacity is only 50%.
The reason why we are doing this (and allowing the shark to get more cyan again) is that we need to blend the shark with the background to make the image look natural.


Step 5: Copy the Adjusted Background Layer and Create a Layer Mask

The next step might seem a bit complicated but you have done it before, i.e. there is nothing new.
We'll create a copy of the Adjusted Background Layer, place it on top of the shark 50 layer, by dragging it there and (see Chaper G, Steps 1-4) create a blurred layer mask for it, allowing some of the adjusted background to wash into the shark.

Create a Copy of the Adjusted Background layer (as described in Step 1).
Now drag the new layer on top of the Shark 50 layer: Select the layer and with your left mouse key pressed drag it upwards.
Don't worry about hiding our adjusted shark, the layer mask will fix that.

Rename the new layer to Water or Transition to BG or whatever you like.

Select the Layer and create a Layer Mask for it (see Chapter G, Step 2).

Your layers palette should now look like this:


Step 6: Fill the Layer Mask

Chapter H, Step 1 describes in detail how to copy a Layer Mask, invert it's content and blur it.
We'll do exactly the same thing again now for the layer mask we just created, using the existing mask of the Shark 50 layer to copy from.
The only difference is that we'll use a Gaussian blur with a radius of 20 pixels now, to create a very smooth transition.

Activate the Layer mask of Shark 50 (click on it) and use Ctrl+A Ctrl+C Ctrl+D to select, copy and deselect the mask.

Now active the new empty layer mask and switch to the channels tab.
Select the channel with the mask and paste using Ctrl+V.

Next invert the mask, using Ctrl+I as shortcut (or Image::Apply::Invert).

Finally apply a Gaussian Blur to the mask (Filters::Blur:Gaussian Blur), enter 20 as radius to blur.
Return to the layers tab now. Your layers palette should look like this:

If you think, the transition is not smooth enough, reduce the opacity of the Transition to BG layer. For me 80% is enough (although the screenshot still shows 100%.
Remember that you can always fine-tune this value later on, if necessary.

Here are the intermediate results

With Shark 75   With Shark 50   With Transition to BG
     


Step 7: Place a Copy of the Original Background on Top

A sure way to hide montage effects is to place a very transparent copy of the original background on top of all other layers.
If you have to remove backscatter, remove it in it's own layer and then use a copy of this layer instead of the original background.

Create a Copy of the original Background layer (as described in Step 1).

Drag the new layer on top of all other layers. Rename the layer if you like to.

Now decrease it's opacity to 5% or even less (i ended up with only 3 %) otherwise you are hiding all your precious work with the original image.

Your layers palette should now look like this:

You can save the whole file as PSD, preserving all your layers or you can use Layers::Flatten Image to merge all layers, resulting in a new background layer containing the final image only.


Download the PSD file including all Layers introduced in Chapter J (2172 KB, right click and Save target as ...) to work with it from here on

 
K) Mission Accomplished ...
 

Congratulations!
If you followed the whole tutorial until here, you should be able to fix all your cyan sharks and manta rays worth correcting from now on.
You may have noticed that it took a lot of work, many steps and several adjustments until we finally made it.
When i was trying to find a way to save the shark (well before i decided to write it all down as a tutorial), i spent several hours in front of my PC.
Take this as a warning and decide carefully if your picture is worth saving it or not. Betsy's shark definitely was worth the effort.

Here is the final version of "Save my Shark", i call it "Mission accomplished" ;-)


Remember

Please don't forget to mention corrections and improvements when you publish your pictures ;-)


Text and Photos: © Sabine Noack, February 2005.