Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
selecting all pixels in an image based on RBG criteria
#1
Dear All,

I was wondering if there is a way to select all pixels in an image based on RBG criteria. In other-words, every pixel in an image should have a certain Red, Green and Blue value from 0-255. Is there a way that I can select all pixels in an image based on these values. For example...

select all pixels close to white
Red: 230 - 255
Green: 230 - 255
Blue: 230-255

or, select red pixels
Red: 180 - 255
Green: 0-50
Blue: 0-50

Does this exist anywhere?

Thank you very much for you consideration.

Sincerely,

Mike
Reply
#2
The "By color" selection tool ( SelectByColor) allow various selection criteria, besides the standard "composite": R, G and B values, Hue, Saturation, Value...

Otherwise:
  • Open the Channels list
  • Drag one of the R,G, or B channels to the main list to copy it
  • Use the threshold tool to keep only the range values your want
  • Right-click the channel and Channel to "selection"
  • For a complete RGB coverage repeat with other two channels and use "Intersect with selection"

But this is rarely necessary, if you think you need this, you are probably making it more complicated than it is.
Reply


Forum Jump: