Saturday, January 16, 2010

Color Constancy

The painting below show the same colorful cube in red light and green light. The squares on the cube are cyan, magenta, ochre, blue, and white. Or so they seem. What colors are those squares really, objectively?

In fact, the cyan square in the bottom corner of the red-lit scene is exactly the same color mixture as the red square in the upper corner of the green-lit scene.

To test that claim, here’s the same image file with everything but those squares turned to gray tones. Nothing else has changed. The colors of those squares are made from the same paint, applied with the same brush. (The shaded surface side is a slightly redder gray in both cases.)

This phenomenon is called color constancy. We interpret local colors as stable and unchanging, regardless of the effects of colored illumination, the distractions of cast shadows, and the effects of form modeling.

Here’s another example. This powerful optical illusion, created digitally by R. Beau Lotto, is called the cross-piece illusion. Two bars made up of colored cylinders, meet in a junction piece. In one picture, the cross-piece looks blue-gray. In another it looks yellow. In fact it’s precisely the same color. At this link, you can view the illusion with a slider to isolate the actual color.

A fire truck looks red, regardless of whether we see it lit by the orange light of a fire, the blue light the twilight sky, or a blinking light of an ambulance. If the truck were parked halfway in shadow, we would still believe it to be a single, consistent color. If the fender were dented, the tones of red reaching our eyes would change, but we would still believe the red to remain the same.

Our visual systems make such inferences automatically. Color constancy processing happens unconsciously. It’s almost impossible for our conscious minds to override it.
---------
More at
R. Beau Lotto's site
HueValueChroma
R. Beau Lotto
Wikipedia on Color Constancy

28 comments:

  1. There's a TED Talk on this!

    http://www.ted.com/talks/beau_lotto_optical_illusions_show_how_we_see.html

    ReplyDelete
  2. I'm going out on a limb here and say this is bogus! I think a special computer FX is at play here… No, No, wait a minute! A TED Lecture! Thanx Natalia!! (That LottoLab must be an amazing place).
    Once again Jimmy G., Way Kool Post -RQ

    ReplyDelete
  3. I need some new eyes, I can't trust these ones!

    ReplyDelete
    Replies
    1. Actually it has more to do with your brain than eyes. when the light information reaches your eyes it moves on to the brain unchanged. It's when the information travels through the brain is where the change occurs.

      Delete
  4. Your cube example made my jaw drop... It's always so hard to imagine how much our color perception is influenced by surrounding colors.

    ReplyDelete
  5. I am so confused. What can be concluded from this?
    If I look at Zorn pictures on the computer all day, then walk around will my eyes seek out objects that fit those color schemes or will my mind create those color schemes in objects that dont neccessarily fall into the Zorn mixes?
    Dare I say constructed inspiration.

    ReplyDelete
  6. Neato. That crossbar thing is so amazing I had to download the image and check the colors with the eyedropper tool of the gimp. Holy crap, not only are they the same, but they are *gray*.

    ReplyDelete
  7. I've run into this exact problem with multiple paintings and I was having so much trouble understanding why. I was attempting to paint a creature with a grey skin (In multiple different paintings) but the color kept coming out green, yellow, or blue. Now I realize it was due to my underpaintings.
    I wonder, then, how one would paint a grey-ish creature with some reds and/or greens in the underpaint to look more like skin, but still having it look grey overall. Would you just use a washed out complimentary color, or would you have to alter the colors of your underpainting altogether?

    ReplyDelete
  8. sir i wish to thank you for this wonderful blog. i can't believe how informative this is! amazing stuff

    ReplyDelete
  9. That's astonishing, I've seen many optical illusions, but these are by far the most impressive. I did exactly the same as stevec, I had to check.
    @K. W. Broad: for your object to look gray in a colored background, you have to use the same color, not the complementary (and vary a little around that color).

    ReplyDelete
  10. Edwin Land (the inventor of Polaroid) did a great lecture on this topic. It was broadcast by the BBC in 1985 as part of a film called "Colourful Notions". It doesn't seem to be on Youtube, but Googling "Colourful Notions" will lead you to some torrent sites that have a version of the film.

    ReplyDelete
  11. Without isolating the arrowed cubes in question, it's definitely impossible for my conscious brain to "see" that they are the same colours. Thanks for this mind-exploding post.

    ReplyDelete
  12. I think there can be a lesson here to take into your painting. I know that a lot of artists try to mix the colours on their palette into pretty much all the colour mixes that goes on that painting, to create harmony. If you could learn to control this colour constancy thing (which I guess you can to a certain extent when you develop a good artistic sense of colour), you could use it to further harmonize your paintings. Have the same colour in two places in your painting, but make them look different. (and I have to say that I could not believe any of the examples before i covered them with pieces of paper with holes in them... Amazing!)

    ReplyDelete
  13. also, I think the important thing to remember is that in all these examples, the ambiguous colours are grayish. I guess that is because near-gray colours can really go either way.

    ReplyDelete
  14. Really interesting illusion, I love the first example of the cubes, I wouldn't have thought those to be close let alone the same hue and val.
    The second one that is done digitally is wrong though. I know the principle is right, but the visual is wrong. If the colour of the cross piece under the blue filter were to appear as similar to the yellow rings on the bars, the visual of the same scene under the yellow filter on the left cannot be true. The light would have to affect the two pieces in the same way.

    ReplyDelete
  15. Josef Albers would have loved the comments that resulted from this post. The idea of color constancy (a phenomena not a fact..just like the moon illusion) is one of the most important of all lessons for painters because a painter has to see objectively, and witness how a red firetruck is in fact not constant. The red is different in daylight, streetlight, shadow,etc...This is the fundamental lesson of Albers' Interaction of Color, that although we may always recognize the "red" of the truck, it has in fact changed. Color constancy is a phenomena not a fact. If you take a swatch of red and place it on white, it is dark to some degree. On black, the same red will glow and appear to be a different color. If you mix a color on your palette and believe it is what you are after, you may be frustrated by how it appears different when placed in the context of your painting. So how does anyone working with color address this...There is very little fact when dealing with color and when you accept that, you will begin to see objectively and witness how the firetruck is in fact different in every situation. There is no "local" color for a firetruck, only a firetruck against white, a firetruck at night, a firetruck in yellow morning light, and a firetruck in pink dusk light. None are wrong and none are local. Thanks for your post.
    Mitchell
    www.mitchelljohnson.com

    ReplyDelete
  16. I wonder in what way this effect is related to 'photo-dependency' of images -- If one were to filter a photo to compensate for this effect -- substituting 'perceived' colors for actual colors, would it make an image look less photographic?

    ReplyDelete
  17. Thanks, everyone for all these great comments and insights.

    John, to your last question, yes, I think a painting keyed heavily to a color family contributes to a photographic impression, because our own visual system has a "white balance" function (called chromatic adaptation), which automatically corrects for a color cast. Cameras, when the auto white balance setting is off, often give us these color-drenched impressions.

    I should probably add that I did the colored cube paintings entirely from my imagination.

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. Oh! Amazing
    Thanks for your article! I just watched the documentary about color illusion on TV.but that made me more curious about mystery of color so I searched.
    And now I understand more how colors work! Really awesome isn't it?

    ReplyDelete
  22. I just wrote my graduate dissertation about this subject (color constancy and how it can be applied in a rational approach to painting). It is a paper about an evidence-based approach to painting empirically-accurate-perceptual-color from direct observation in different scenarios involving variables in luminance, reflectance, and transmittance. It is supported with experiments and data analytics. The language is meant to be understood in layman's terms by painters, so care was taken not to use a language only understood by physicists and color scientists. The dissertation was for my master's degree in arts and technology at the Department of Computer Science at the University of Texas. I am hoping to have it published in Leonardo science journal. That is in the hands of the editor. I have to say this blog is what got me started. Thank you for the inspiration.

    ReplyDelete
    Replies
    1. Hey there, did your paper ever get published? I would love to read it if its available!

      Delete
  23. Kenneth, congratulations on writing your dissertation on this topic. I hope it gets published and reaches all the people studying in the field. You're right: translating the technical language is key to making this information accessible to working artists.

    ReplyDelete
  24. If you look at a building or any object with the sun partially on it, you can see that the color is different where the sun it hitting and the color in shade. I became obsessive about studying this!!!

    ReplyDelete
  25. If you look at a building or any object with the sun partially shining on it, you will notice that the color in the sun is different than the color in the shade, even though they are really the same.

    ReplyDelete

Due to a high level of spam we must moderate comments. Please identify yourself by name or social media handle so we know you're not a 'bot.'