I have an image of a long-haired cat on a burgundy background. My client (I kid you not) would like me to change the background to dark blue......
I fiddled with several methods but couldn't get the fine, long hairs that are in front of the background to look right.
Eventually, I decided to try the selection/refine edge process...
I put a blue background under the layer with the cat on the burgundy background.
I selected the cat, staying INSIDE the edge so none of the burgundy was selected.
I went into Refine Edge and adjusted the radius until I had most of the edge fur selected. This was about 75 pixels.
I tried Smart Radius, but it didn't seem to make the fur selection any smarter... So, I currently have it off.
I then got the Refine Radius Tool and started doing a little selecting to get the fur right. This is where I hit the problem......
As I select around an ear, for example, I can see the burgundy background show up. When I release the selection, the burgundy disappears and is replaced by the blue. GREAT. BUT, instead of staying OUTSIDE the ear, the inner part of the ear ALSO gets turned blue. The same thing happens all along the edge of the cat - sometimes I get a pretty good selection, other times the blue permeates the area I was selecting. It's not 100%, but it's not ZERO percent either... This MAY not be a huge problem in some spots, but it's a BIG problem, for example, in the ears.
So, I get done selecting, and I have blue around the cat.
I click Decontaminate Colors to get rid of the blue and/or the burgundy from all around the cat. It works in places - along sides and such where the fur is shorter. But, the ears are still blue as are some of the longer tail fur.
I ran the amount between 50% and 100%, and although the decontaminate gets better, it never gets really good.
Do and Output to a new layer with a mask, figuring I'll just clean up some of the problem areas on the mask. Doesn't work. I can open the mask. I can see that instead of having a white cat outline, I have a PARTIAL white cat outline but the face, ears, and some areas are shades of gray.
So, on the image layer, I take a white brush at 100% and try to clean up the mask, painting over the ears to have the fur and ear detail come back, but it just comes in as mush. NO detail.
Am I using the wrong tool? Magic wand is nowhere NEAR detailed enough to give me a really good selection. Replace color leaves me with a blue background but burgundy edges.
If I'm using the right tool, am I just expecting too much from the tool? 'Cause whatever I'm getting, it's sort-of working, but not well enough for what I need.
Thoughts? And no, telling the client we have to reshoot isn't an option!
You might look at this Russell Brown tutorial and see if it helps. http://tv.adobe.com/watch/the-russell-brown-show/masking-basics-in-pho toshop-cs5/
Yup, that was one of the tutorials I viewed while trying to get this to work.... BUT, eventually I figured it out... The way it works best for me is:
When doing the initial selection, just be kinda sloppy. Then clean it up a bit where there are transitions.
When you go into the Refine Edge, DON'T make the radius real big. Keep it SMALL - as in 5 - 6 pixels.
Then take the refine brush and paint fairly large outside that radius to get the hair pretty well.
At this point, I had a FAIRLY good hair selection with a lot of burgundy hair.
Put the image on Layers so you can see what your edges/hair look like against the background. Expand/contract the selection to make it fairly precise.
Then go down and do the decontaminate... Push the amount up 'til it gets rid of the burgundy in the hair....
BUT, when I go back and look at the whole cat, I have a number of small areas that STILL have burgundy on/in the hair. So, with the Refine Brush again, just paint THOSE little areas and let them get decontaminated. By doing it this way, and NOT going into fairly smoot areas like the ears, I DON'T get the opacity problems in the ears and I get a pretty good selection... It SOUNDS a little tedius, but it's actually quite fast. I'd estimate on my final run, it took me a maximum of 10 minutes to get a quite good background change!
Why are you trying a complex method? Do you have to change the texture as well as the color of the background?
If all you need is to change the color, did you try a Hue/Saturation operation, selecting only the color range you want to change?
Maybe I'm using it wrong, but when I tried the Hue/Saturation I STILL needed a really accurate selection. Without a mask, the hue/saturation chage in hue from burgundy to navy caused everything to go way off. The background color change is really easy. Getting a really good selection/edge of the cat was the hard part...
I haven't found a better method than the selection/refine edge process to get a selection like I needed when the edges are really complex.
Am I missing some simpler method?
VERY interesting. That IS a tough one.
Photoshop thinks the cat is red, as well as the background, so my little trick didn't work quite so well as it did with the similar cat image I found.
I see why you wanted to use a selection and refine edge now. Using a technique like what you described to select, and my technique to change the color I managed a pretty good result. Yes, I also found that "decontaminating" the color manually by painting on the whiskers of the masked (cat, not background) layer to be necessary as well.