Post Reply 

Find pixels by color

Apr 7, 2012, 15:02
Post: #1
Find pixels by color

How can I find all pixels in an image with an exact, specific color? So far, I've only managed to find the pixels matching a pixel I click on; but I wish to find pixels matching a specific color value!

Thanks in advance Smile
Find all posts by this user
Quote this message in a reply
Apr 7, 2012, 16:55
Post: #2
RE: Find pixels by color
Quick way: Enlarge the layer by one pixel , paint an extra pixel with the required color, and click on it.

Math way:
- In the Channels, duplicate the Red channel (right click)
- Select the duplicated channel (should be highlighted in blue)
- start the Curves tool.
- drag the top-right end of the diagonal to the bottol
- select "Freehand" mode
- move your cursor along the top (Y=255) and click where X is the Red value you want
- this channel is now a mask where all the pixels with the required value of R are at 255 and the rest is at 0.
- repeat the above for the other two channels
- right click on the Red duplicate: channel to selection
- right click on the Green and the Blue: intersect with selection

Now answering your questions on
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Color alpha function and its current errors Fuse809 0 237 Oct 11, 2014 03:53
Last Post: Fuse809
  GIMP 2.8 Eyedropper Color Selection Tool Not Working? Upgraded App is Slow?? tootallll 14 9,703 Oct 9, 2014 18:39
Last Post: Graphicman2014
  Using Color/Levels causing phosterization photos piotrkast 5 467 Oct 8, 2014 12:06
Last Post: ofnuts
  New layer color... btraven 0 212 Oct 2, 2014 00:47
Last Post: btraven
  Getting more vibrant color - RED - Sublimation goad 1 322 Sep 14, 2014 05:44
Last Post: goad

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS