HabitableZone

Geek Speak » in reply to The human eye only works in RGB.

The entire point of image enhancement...

...is to alter the data, manipulate it, and put it into a form that takes advantage of the strengths of the human visual system--and avoid its limitations.

For example, the human eye/brain is very good at pattern recognition (such as detecting change or linear features), but not very good at distinguishing differences in brightness. (we can only discriminate a few dozen gray levels).

One of the most useful things you can do to an image is to stretch the contrast, so that the differences in brightness can be exaggerated, extended across the entire dynamic range of your display device. The sensors on the old LandSat were only capable of 64 brightness levels, from 0 to 63. The images looked flat and uninteresting, not because they had low information content, but because the eye couldn't see it. Adjoining brightness levels were difficult for the eye to tell apart. 64 levels can be stored in "nibbles"--half a byte, 4 bits, so each byte had the values of two pixels, so it was convenient for collection and transmission, but not interpretation.

By copying the image into a byte format, and mapping the values so they covered the entire dynamic range of a display device (0-255), the contrast could be stretched, that is, 0-63 was mapped to 0-255. A new byte image was created where pixels one gray level apart were now 4 levels apart--easier for the eye to pick up. The result was an image that was crisper, more interesting, contrastier, and interpretation was easier because patterns were easier to see, such as differences in brightness, edges, linear features, repetitive structures, shapes, visual textures. It gave the illusion it was sharper. And this was only a linear mapping, i.e. the gray levels were all stretched equally from 64 to 256, to "fill in" the full range of the display device or medium so the eye/brain could work with it easier. By analyzing the statistical distributions of brightness levels, and taking that into account, it was possible to differentially map that brightness, so that the degree of contrast enhancement was more concentrated in brightness categories where the original data was of low information content. It was even possible to use different stretches on each band, so the resulting combined color image suddenly displayed subtle gradations that gave clues to what was really going on in the real world, invisible in the original image. The eye is better at pattern recognition than it is at brightness discrimination.

It is important to keep in mind this does not create data where none exists. The data was already there, it just made it easier for the eye to pick it out. Over-processing could also introduce "artifacts" into the image--features which did not correspond to the real world but were the result of the processing technique.

Familiarity with image processing only reinforces the conviction that what we know about the world is highly influenced by the means by which we analyze the data of our senses. We don't observe data, we interpret it. The world isn't necessarily what it seems, it is also a result of the limitations and strengths of our processes of perception, reason, even memory. Its not because the world is out to deliberately fool us and lie to us. Its mostly because we lie to ourselves.

You may recognize that this is a subject I often bring up here, that our reason cannot often be trusted, that our perceptions are often biased, that we are good at some analyses but not at others. If this is true when analyzing straightforward data carried by the electromagnetic spectrum, imagine how we mislead ourselves in political, economic, religious, philosophic, ideological matters. Beware of those who are so sure of themselves. They have no choice but to invoke conspiracies to justify their increasingly distorted convictions to themselves. And they feel personally threatened by those who point this out to them. They consider them over-intellectualized, effete, elitist.

People who see the world in black and white are only looking at bit data. We need double precision words, 64-bit words. The moral and human universe has many gray levels, and a great dynamic range is required to represent it.

Log in or register to post.

The whole thread (4 posts)

Related discussions