Wednesday, August 5, 2009

A11 Color Image Processing

Following the set procedure:
1.We take the picture of colorful objects and an ensemble of objects with different shades , in this case shades in green from leaves.
2. Under a fixed light source (sunlight, sunny) we took the their picture under proper and incorrect white balancing through the Auto, Cloudy, Daylight , Fluorescent and Incandescent settings.
3. We proscessed these images through the white and gray world algorithm.
4. For the WWA we took the the RGB values of pixels belonging to the white object of objects. Let these be Rw, Gw, Bw and implement the White Patch algorithm by dividing all the pixels in the red layer of the image by Rw, the green layer by Gw and the blue layer by Bw. After making sure that no pixel exceed 1.0, the resulting image is shown in the second column in Figure 1.
5. For the GWA we took the average red, green and bluevalue of the captured image and used them as the balancing constants and the resulting image is shown in the third column.

Figure 1.

6. Afterwards we did the same procedure for the ensemble of green leaves and put them agains a white background. And did both for the proper and improper white balancing for the outdoor illumination where AUTO nad DAYLIGHT provide the proper white balancing while CLOUDY, FLURESCENT and INCANDESCENT are the improper.


Haha I couldn't make the imwrite fcn work in this activity so I just resorted to PrtSc and the images are saturated since imshow has limited resolution and still saturated after multiplying the imshow by 0.5.


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

1 comment:

  1. In the last figure there is too much white. The objects you have assembled should be dominantly in one color. Something like only 5% is white.

    ReplyDelete