colorz

Photos that look ok, often give dull results if seen through a kaleidoscope. Seeing the abstract symmetrical image, I expect more vivid colors. Thus I searched for a way to increase the color saturation to a maximum. Using the hue-saturation-brightness mode for color in processing I found a simple solution.

For each pixel I use processings functions to get its hue, saturation and  brightness. Then I put the saturation to its maximum value and calculate this new color for the pixel. This works well except for grey or white colors, which give terrible spotty images as their hue is not well-defined. Thus I only put the saturation equal to the maximum value if it exceeds a threshold value. The saturation decreases linearly to zero below the threshold value.

The results resemble old black and white picture cards that have been colored by hand:

schloss

This entry was posted in Extra and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s