Local Contrast and Noise Amplification
A local contrast tool reveals a pale vein and a lot of grain.
Local Contrast and Noise Amplification explained visually
A local contrast tool reveals a pale vein and a lot of grain. English captions are optional and start off. The complete transcript follows the written lesson.
What you will learn
A local contrast tool reveals a pale vein and a lot of grain.
A practical question
A local contrast adjustment makes a pale vein stand out on our leaf. It also brings out a rough grain in the smooth background. Did we reveal a biological pattern, or did we amplify sensor noise? We need to look at both regions before deciding the adjustment helped.
The useful idea
Unlike one global mapping, a local method uses the values around each pixel. A small neighborhood can respond to changing illumination, but it may follow random grain as if the grain were detail. A contrast limit can restrain the strongest amplification; it does not know which variations are real. The neighborhood size and limit are choices we have to test.
Work through the example
Place the original and adjusted leaf at the same display size. Look at the vein first, then at a quiet patch of background. If the vein becomes clearer but the background turns speckled, record that trade-off. Repeat the check under different daylight and on leaves without the pale vein. One attractive result is not a reliable setting for an entire collection.
Limits and next step
Keep the untouched photographs and the adjustment parameters. Once we trust the image values, we can look at color conversion. Our next check catches a much simpler error: red and blue channels read in the wrong order.
Worked example
Compare the leaf's quiet background before and after a local contrast setting.
Quick check: test your understanding
Try it yourself: In the situation described above, explain the method and one reason its output might be misleading.
Check the reasoning
Local mappings use neighborhoods, often with a limit on contrast amplification. Stronger apparent detail can be amplified sensor noise.
What is the main idea behind local contrast and noise amplification?
Local mappings use neighborhoods, often with a limit on contrast amplification.
How is it used in the example?
Compare the leaf's quiet background before and after a local contrast setting.
What limitation should be checked?
Stronger apparent detail can be amplified sensor noise.
Further reading
Digital Image Processing, 4th edition — Rafael C. Gonzalez and Richard E. Woods.
Original ToolsInVision teaching examples. Editorial approach · Suggest a correction
Accessible referenceLesson 26 transcript206 words · Video transcript · Matches the published narration and captionsOpen transcript
A local contrast adjustment makes a pale vein stand out on our leaf. It also brings out a rough grain in the smooth background. Did we reveal a biological pattern, or did we amplify sensor noise? We need to look at both regions before deciding the adjustment helped.
Unlike one global mapping, a local method uses the values around each pixel. A small neighborhood can respond to changing illumination, but it may follow random grain as if the grain were detail. A contrast limit can restrain the strongest amplification; it does not know which variations are real. The neighborhood size and limit are choices we have to test.
Place the original and adjusted leaf at the same display size. Look at the vein first, then at a quiet patch of background. If the vein becomes clearer but the background turns speckled, record that trade-off. Repeat the check under different daylight and on leaves without the pale vein. One attractive result is not a reliable setting for an entire collection.
Keep the untouched photographs and the adjustment parameters. Once we trust the image values, we can look at color conversion. Our next check catches a much simpler error: red and blue channels read in the wrong order.