Color Image Modification
this example as a Mathematica notebook. |
Processing allows you to manipulate color images as conveniently
and easily as monochrome images. Color images may be represented in three different
color formats and two different color interleaving methods, allowing you to select the
most appropriate format for any color processing application.
Consider the effect of changing contrast in the saturation and value channels
of an HSV color image.
This loads the example "bean" image and converts it to the HSV color format.
Here we split the image into three independent channels so that we may manipulate each channel.
This decreases the saturation and increases the luminance in the respective channels.
This recombines the individual color channels into composite color images.
Here we display the original (left) and the modified images (center, right).