Changing all red pixels to green in an image

A
Posted By
Alex
Jul 19, 2006
Views
7004
Replies
10
Status
Closed
How can I change all red pixels in my image to be green? Fill won’t do what I want, as I have an image with hundreds of separate little red parts throughout (some only a few pixels). This would seem to be a trivial thing to do, but I can’t see how you can in Photoshop CS unless they’re all connected to each other, or you fill each one separately, which is infeasible for this image.

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

MR
Mike Russell
Jul 19, 2006
"Alex" wrote in message
How can I change all red pixels in my image to be green? Fill won’t do what I want, as I have an image with hundreds of separate little red parts throughout (some only a few pixels). This would seem to be a trivial thing to do, but I can’t see how you can in Photoshop CS unless they’re all connected to each other, or you fill each one separately, which is infeasible for this image.

Here are two ways:

1) Convert to Lab mode, bring up curves, and invert the ends of the a channel. Use the history brush to touch up any changes you did not want

2) Use Image>Adjust>Hue/Sat and use eyedropper to select one of the red objects. Move the hue slider to get the color you want. Your changes will be limited to a specific range of red, which you may adjust with the triangular sliders.

Another powerful technique uses layer blending. Duplicate the original layer, make your changes, then convert to Lab mode without flattening. You may then use layer blending on the a and b channel to limit the changes to a certain range of colors.


Mike Russell
www.curvemeister.com/forum/
BH
Bill Hilton
Jul 19, 2006
Alex wrote:
How can I change all red pixels in my image to be green?

Image – Adjustments – Replace Color … click on a color you wish to replace with ‘fuzziness’ set to a low value, then adjust the hue (or saturation or lightness).
AM
Andrew Morton
Jul 20, 2006
Alex wrote:
How can I change all red pixels in my image to be green?

…. or you can use the channel mixer.

Andrew
T
Tacit
Jul 20, 2006
In article ,
"Alex" wrote:

How can I change all red pixels in my image to be green? Fill won’t do what I want, as I have an image with hundreds of separate little red parts throughout (some only a few pixels). This would seem to be a trivial thing to do, but I can’t see how you can in Photoshop CS unless they’re all connected to each other, or you fill each one separately, which is infeasible for this image.

Step 1: Use the eyedropper to sample the red.

Step 2: Use Select->Color Range. The Color Range command selects all the pixels that are the foreground color. You can choose how far away the color needs to be before it’s no longer considered the same color.


Art, photography, shareware, polyamory, literature, kink: all at http://www.xeromag.com/franklin.html
Nanohazard, Geek shirts, and more: http://www.villaintees.com
S
smartipants
Jul 20, 2006
You can also use the Color Replacement Tool in the Brushes Palette (CS2). I think it may have been under the Healing tools in CS, but I’m not totally sure since I skipped over that version.

Alex wrote:
How can I change all red pixels in my image to be green? Fill won’t do what I want, as I have an image with hundreds of separate little red parts throughout (some only a few pixels). This would seem to be a trivial thing to do, but I can’t see how you can in Photoshop CS unless they’re all connected to each other, or you fill each one separately, which is infeasible for this image.
JM
James McNangle
Jul 21, 2006
tacit wrote:

How can I change all red pixels in my image to be green? Fill won’t do what I want, as I have an image with hundreds of separate little red parts throughout (some only a few pixels). This would seem to be a trivial thing to do, but I can’t see how you can in Photoshop CS unless they’re all connected to each other, or you fill each one separately, which is infeasible for this image.

Step 1: Use the eyedropper to sample the red.

Step 2: Use Select->Color Range. The Color Range command selects all the pixels that are the foreground color. You can choose how far away the color needs to be before it’s no longer considered the same color.

I use Photoshop CS for most of my image manipulation, but I also have Thumbs Plus 7. I use this primarily for managing my photo collection (for which I consider it is excellent), but it also has some image manipulation functions. These are not particularly intuitive, so I haven’t used them very much, but it will easily do some things which Photoshop doesn’t handle particularly well.

It has a range of colour manipulation features: adjust colours, colour depth, colour balance, swap red and blue, invert colours, replace colours, and remove red eye. The ‘replace colours’ function enables you to select one colour, with adjustable tolerances on hue, saturation, etc, and either replace it with a second fixed colour, or a second colour with the same range of these properties. I haven’t tried any of these functions.

It also provides a range of transforms; various rotations, trim to proportion, trim to exactly, etc. I find the trim to proportion very useful, as you can easily crop a photo to give the best fit on a particular size of paper.

I have no hesitation in recommending Thumbs Plus (and I have no financial interest whatever in the firm).

James McNangle
K
KatWoman
Jul 21, 2006
"Alex" wrote in message
How can I change all red pixels in my image to be green? Fill won’t do what I want, as I have an image with hundreds of separate little red parts throughout (some only a few pixels). This would seem to be a trivial thing to do, but I can’t see how you can in Photoshop CS unless they’re all connected to each other, or you fill each one separately, which is infeasible for this image.

in layers palette
click on half moon icon
selective color
choose red in the drop down
use the sliders
A
Alex
Jul 24, 2006
Mike Russell wrote:
2) Use Image>Adjust>Hue/Sat and use eyedropper to select one of the red objects. Move the hue slider to get the color you want. Your changes will be limited to a specific range of red, which you may adjust with the triangular sliders.

This method worked very well for me.
Thanks!
Alex
A
Alex
Jul 24, 2006
KatWoman wrote:
in layers palette
click on half moon icon
selective color
choose red in the drop down
use the sliders

What / where is the "half moon" icon?

Thanks
Alex
K
KatWoman
Jul 25, 2006
"Alex" wrote in message
KatWoman wrote:
in layers palette
click on half moon icon
selective color
choose red in the drop down
use the sliders

What / where is the "half moon" icon?

Thanks
Alex

bottom of layers palette
adjustment layers

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections