Similar to Gray World algorithm, we do two experiments to test Perfect Reflector algorithm:
We take the following steps for above two experiments to test Perfect Reflector algorithm:
1. Read in the input images, and convert them to RGB if they are not.
2. Take R, G, & B values of input images to run the function for Perfect Reflector
algorithm and get the R, G & B results.
3. Write the results to the output images.
| Stanford Tower without bright patch |
Stanford Tower with bright patch |
|
|
|
|
|
|
|
|
|
As we can see, since Perfect Reflector algorithm scales the R, G & B values of the input images
by the brightest spot, adding a bright
patch does bring in the obvious difference comparing to the output image
without the bright patch. The output image with bright patch is darker than
the output image without bright patch because the one with bright patch scales
down more than the one without bright patch.
trek@alumni.stanford.edu
lihui@leland.stanford.edu