View Full Version : Color Replacement problems-- Photoshop CS2 Rob1960 09-25-2007, 08:22 AM Can someone tell me what I'm doing wrong?
I'm encountering a lot of difficulty getting accurate shades of color when using the color replacement tool. My specific project today involves changing an object in a photo from light brown to dark blue. I'm trying to reproduce a very specific shade of dark blue from another part of the same photo. But the result keeps coming out as an unacceptable shade of light blue. Any help greatly appreciated. Thanks. pixelzombie 09-25-2007, 08:37 AM don't use that tool, make an adjustment layer and start from there...i will usually start with either a color fill or channel mixer adj. layer depending on how big of a color move i need... edgework 09-25-2007, 09:43 AM Can someone tell me what I'm doing wrong?
I'm encountering a lot of difficulty getting accurate shades of color when using the color replacement tool. My specific project today involves changing an object in a photo from light brown to dark blue. I'm trying to reproduce a very specific shade of dark blue from another part of the same photo. But the result keeps coming out as an unacceptable shade of light blue. Any help greatly appreciated. Thanks.The problem with both color layers and channel mixer, or curves, or selective color, is that no matter what you do, you're pretty much stuck with the original light/dark ramp, apart from the colors.
The only tool that's useful for this kind of thing is the gradient map. The nice thing about it is that it totally overwrites the underlying colors, but retains the grayscale ramp as a kind of category system for mapping the new colors from your gradient. This gives you complete control over the tones of not just the target color, and where to position it in the range of values, but also the shadows and highlights.
Set a Gradient Map adjustment layer, open the edit gradient window and replace the default colors with your target color in the center, a darker version to the left and a lighter version to the right. Slide them back and forth to determine where they best match the detail in the underlying image. If you need darker shadows or lighter highlights, add additional keys to the left and/or right.
It's a lot easier to get by simply experimenting, than it is to explain it. Trust me, it's the best color shifting tool that no one uses. cricket1961 09-25-2007, 11:08 AM Couldn't agree more Edgework. Its one of my main tools.
Chris mistermonday 09-25-2007, 11:08 AM Rob, as other members have pointed out, the color replacement tool is not what you want to use becuase it preserves luminosity. The Gradient map is one potential as Edgework has pointed out. However, I prefer to use an accurate but simple Curve adj layer. I convert the image to LAB color and make a selection of the area I want to recolor. Note the colors of the color you want to change to. Adjusting the L channel curve will reduce the luminosity and the A and B values will set the color. A tweak of the composite curve can adjust the overall tone to what you need it to be.
Regards, Murray edgework 09-25-2007, 12:43 PM Rob, as other members have pointed out, the color replacement tool is not what you want to use becuase it preserves luminosity. The Gradient map is one potential as Edgework has pointed out. However, I prefer to use an accurate but simple Curve adj layer. I convert the image to LAB color and make a selection of the area I want to recolor. Note the colors of the color you want to change to. Adjusting the L channel curve will reduce the luminosity and the A and B values will set the color. A tweak of the composite curve can adjust the overall tone to what you need it to be.
Regards, MurrayI'm a big advocate of using LAB for severe color shifts of all kinds. I agree that it would be possible here, except that LAB is never good for fine precision. (Try to pull heat out of face shadows without turning everything else screwy). (Okay, maybe with Blend-If sliders). But that just makes my point. It's complicated and tricky in LAB. Whereas The gradient map is EXACT. And easy. But hey, it's the result that pays the rent and we get our results with the tools we're familiar with.
I assume when you say "tweak of the composite curve" you mean when you convert back to RGB, since there is no composide curve in LAB, and you never use the composite curve in CMYK, of course. Daviskw 09-25-2007, 01:07 PM Hi there
Check the below link out .... it may help.
http://forums.dpreview.com/forums/readflat.asp?forum=1006&message=23795763&q=color+replacement+tool&qf=m edgework 09-25-2007, 03:23 PM Even if the Color Replacement tool can be used to override luminosity it still is inadequate, since it replaces ONE color with One different color. You want something that will replicate the shadow/highlight profile of the object being changed. That means a range, not just one. mistermonday 09-25-2007, 03:50 PM Edgework, LAB is definitely not the solution for many thing but it is for some. Getting precision colors is one of them. Separating colors with precision is another. The gradient map is fine for color replacement but I find that pinning the darkest point to be changed setting 3 values (1 per channel), gets me to the end result faster than with a gradient map. It's like you say - whatever tools we are familiar....
Regards, Murray pixel_monkey 09-25-2007, 04:23 PM Can someone tell me what I'm doing wrong?
I'm encountering a lot of difficulty getting accurate shades of color when using the color replacement tool. My specific project today involves changing an object in a photo from light brown to dark blue. I'm trying to reproduce a very specific shade of dark blue from another part of the same photo. But the result keeps coming out as an unacceptable shade of light blue. Any help greatly appreciated. Thanks.
Try this, convert your file to LAB and invert both the A and B channels. That should give you a blue color with shadow and highlight intact. You can easily adjust it to whatever shapes of blue you desire from there. Markzebra 09-25-2007, 04:58 PM The gradient map works, try it! Doesn't preserve subtle colour shifts though. In my opinion though, the channel mixer is generally the tool for massive color changes, where Luminosity AND colour need to change. Less destructive. pixelzombie 09-25-2007, 06:37 PM i'll have to try the gradient on a problem image i worked on last year... mayday 09-26-2007, 08:12 AM I'm a big advocate of using LAB for severe color shifts of all kinds. I agree that it would be possible here, except that LAB is never good for fine precision. (Try to pull heat out of face shadows without turning everything else screwy). (Okay, maybe with Blend-If sliders). But that just makes my point. It's complicated and tricky in LAB. Whereas The gradient map is EXACT. And easy. But hey, it's the result that pays the rent and we get our results with the tools we're familiar with.
Do you guys ever use the gradient map to get consistent skin tone colours, then mask out in a adjustment layer mask? Then you get not colour shift problems? edgework 09-26-2007, 09:07 AM Do you guys ever use the gradient map to get consistent skin tone colours, then mask out in a adjustment layer mask? Then you get not colour shift problems?If you choose your samples in the gradient carefully (preferably from the actual image, unless it's just too screwed up,) and use a sufficient number of samples (maybe ten or so) you can get extremelyi realistic results, except, of course, you'll lose rosy cheeks and lips need to be masked out (or given their own map). I wouldn't use it as a standard color correcting tool, by any means, but in the context of your question, yes, it will equalize your skin tones throughout the value range. This isn't necessarily a means to realistic skin, by the way; skin varies in hue, saturation and value from one point to the next and needs careful modulation to keep it looking natural. mayday 09-26-2007, 09:27 AM edgework]If you choose your samples in the gradient carefully (preferably from the actual image, unless it's just too screwed up,) and use a sufficient number of samples (maybe ten or so) you can get extremelyi realistic results, except, of course, you'll lose rosy cheeks and lips need to be masked out (or given their own map). I wouldn't use it as a standard color correcting tool, by any means, but in the context of your question, yes, it will equalize your skin tones throughout the value range. This isn't necessarily a means to realistic skin, by the way; skin varies in hue, saturation and value from one point to the next and needs careful modulation to keep it looking natural.[/QUOTE]
Thanks edgework, What do you find to be the best method to equalize skin if its gone a bit off in some areas, I find sometimes after D&B you can get a colour shift Markzebra 09-26-2007, 10:15 AM Hue/Saturation - choose reds or yellows. Then change the ranges of these carefully (easiest to do by holding Alt and shift and clicking within the window pane to add and subtract ranges of colour).
Another tip, especially useful with the Hue/Saturation dialog, is to hold the ALT key (or option) and use the scubby sliders, highlighting the word "Hue" and moving left and right- this will allow much subtler, easier to control shifts.
You can also sometimes get away with Selective Color highlighting Yellows, Reds, Magentas - this does nice subtle non destructive work.
Also set a curve to "Color" mode. Go into the Red and Blue channel curves particularly mayday 09-26-2007, 10:39 AM Cheers Mark! do you tend to use a adjustment layer mask to target certain colour shift areas?
I guess you dont need to if you target in Hue and Sat? edgework 09-26-2007, 10:54 AM \Thanks edgework, What do you find to be the best method to equalize skin if its gone a bit off in some areas, I find sometimes after D&B you can get a colour shiftA good one-size fits all tweak (and I do mean tweak; not for major moves) is a Selective Color layer that pulls a little magenta and adds yellow to the reds, and pulls a little yellow and adds magenta to the yellows. Tends to balance the red/yellow problem, leaving a more even playing field for a normal curve enhancement.
D&B can definitely shift colors, either making a desaturated area too saturated, or the inverse, lightening a shadow area and finding that there's no color there (duh! it's a shadow!). That's why I don't use D&B for major moves. It's a fine-tuning step, where you mop up all the debris left over from your other moves.
One thing that I find always works (including stronger moves than I'd try with D&B) is to use a targeted curve on areas that need to shift, say larger regions of blotchiness that are too spread out and indistinct to respond well to cloning or healing. It works in reverse of how you usually use a curve for a color shift, which is to mask out the area, then apply the curve through the mask. In the case of uneven blotchiness, there's no way to create an initial mask. I set a color sample in an area of clean color (that I wish to match), then a second one in an area that needs to change. Then I add a curve adjustment layer and in each channel set a midpoint anchor. Plug in your input/output values from the two samplers. It's just a numbers thing, no thought necessary just input the bad, output the good. Now mask out the curve layer and start painting white where you wish to shift the tone. Use a low opacity brush, preferably a pressure-sensitive tablet, and let your eye tell you how to create the mask. The beauty of curves is that they distribute the shifts smoothly over the entire range, so you can hit areas that are lighter or darker than your samples and be reasonably assured that the tone will pull in the right direction. Of course, the accuracy diminishes the farther away you move from your samples, but you can always use a second curve for areas that are out of range of the first. The technique is the same as dodging and burning: small strokes, low opacity, use the 'X' key to switch back and forth from white to black.
Don't make the mistake of thinking you need to wrap up all the work from one approach before heading on to the next. In theory, you might start with bulk cloning, then healing to smooth things out, Dodge/Burn, some curves, etc; in truth, you keep moving back and forth. After each step, I find I need to create another layer to blend things with the healing brush, then I'll need another Dodge/Burn layer to even out some edges, then back to more healing brush, targeted curves, more healing, more D&B. Fixing one problem can leave you with a couple others you didn't notice earlier, and you have to keep your work flow flexible. Rob1960 09-26-2007, 11:41 AM Thanks for everyone's help. I keep trying all the different proceedures suggested by each of you.
When I use a Lasso tool to select an area, is there a way to lock it? When I need to perform several different proceedures to an area, it's a pain to have to re-select it each time. rovis 09-26-2007, 11:45 AM How come every other thread turns into a skin tread? :)
I usually desaturate the skin and bring back the color with curves.
do that on top of the d&b layers and the color shifting problems are mostly taken care of. mistermonday 09-26-2007, 12:28 PM "When I use a Lasso tool to select an area, is there a way to lock it? When I need to perform several different proceedures to an area, it's a pain to have to re-select it each time."
Rob, after you have made the selection go to the Select Menu and choose Save Selection. Whenever you want the selection back go back to the Select Menu and choose Load Selection. You can name selections so that you can have multiple selections saved.
Regards, Murray Rob1960 09-26-2007, 01:02 PM "When I use a Lasso tool to select an area, is there a way to lock it? When I need to perform several different proceedures to an area, it's a pain to have to re-select it each time."
Rob, after you have made the selection go to the Select Menu and choose Save Selection. Whenever you want the selection back go back to the Select Menu and choose Load Selection. You can name selections so that you can have multiple selections saved.
Regards, Murray
THANK YOU! THANK YOU! I knew there had to be a way. Markzebra 09-26-2007, 06:22 PM Mayday - yes generally I will try and produce colour adjustments without masks wherever I can.
Its important to understand that multiple adjustments, especially masked ones, are destructive. This is because Photoshop flattens each adjustment layer in sequence when the image is flattened for output, each time degrading the base pixels slightly. I've had to salvage too many files made by other people who chaotically pile 50 adjustment layers on an 8 bit image not realising how it can break the fine transitions apart, especially important on skin.
If I do need to use masks for colour, usually this happens where I need to do something really quickly, then I will produce proper graduated masks from the image data using Select Color Range or Calculations. | |