Uploading image, and changing a specific color if it is present

Using the image() function in Processing could I upload an image and then scan to see if, for example, the color yellow (or an rgb spectrum of yellow values?) was present somewhere in this given image and if it was change it to the color blue?

Hello @blackhatProphet,

You certainly can!

There are resources (tutorials, references, examples) here:

Take a look here:

A topic with some references that may be of interest:

:)

Hi
https://funprogramming.org/89-Create-your-own-photo-filters.html

https://funprogramming.org/90-Change-pixel-hue-saturation-and-brightness.html

2 Likes