Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECE 638: Principles of Digital Color Imaging Systems Lecture 12: Characterization of Illuminants and Nonlinear Response of Human Visual System.

Similar presentations


Presentation on theme: "ECE 638: Principles of Digital Color Imaging Systems Lecture 12: Characterization of Illuminants and Nonlinear Response of Human Visual System."— Presentation transcript:

1 ECE 638: Principles of Digital Color Imaging Systems Lecture 12: Characterization of Illuminants and Nonlinear Response of Human Visual System

2 Synopsis l Characterization of illuminants –Review of model for HVS and light interaction with surfaces –Development of black body radiator concept –Correlated color temperature –Artificial sources and CIE standard illuminants l Nonlinear Response of Human Visual System –Weber’s law –Gamma correction –CIE uniform color spaces

3 Review of HVS color model l Equivalent Representation for Trichromatic Stage: CIE XYZ (standard space for Colorimetry) Trichromatic Stage Opponent Color Stage Wandell’s Model

4 Review of Stimulus Model l Seeking a more compact parameterization of Stimulus Model:

5 Development of black-body radiator l Example: l Most efficient possible absorber when heated is a black body radiator (BBR) l Planck’s law describes for a BBR at any given temperature (see W&S, p13) Imagine an experiment in which you heat up various structures made of different materials to a fixed temperature to see which combination radiates the most energy.

6 Spectral power distribution for black body radiator l text

7 Relative spectral power distribution of black body radiator l text

8 Example (cont.) l How to relate BBR to real-world stimulus? l For each temperature T, compute the CIE XYZ coordinates of a BBR emitting light when heated to temperature T. -- Chromaticity for a BBR at some temperature T. --Chromaticity for a phase of daylight. Hypothetical arrangement of chromaticity points for BBR and daylight. The next slide shows what it actually looks like. “Phases of daylight” refer to different conditions of sky (i.e. cloudy or not, shading of observer from direct sun, and time of day

9 Daylight locus l text

10

11 Spectral power distribution of daylight l text These curves are based on a principal components expansion of a family of actual daylight power spectra. Two such power spectra are shown on next slide.

12 Two phases of real daylight

13 Spectral power distribution of tungsten l text

14 Relative spectral power distribution of fluorescent sources l text

15 Summary of Daylight Characteristics l Daylight behaves a lot like a BBR l Each phase of daylight can be correlated with a BBR operating at unique temperature. l More generally, this can be done for any illuminant. l examples: l 1) sun+total sky (clear  overcast) 5000k  7000k l 2) daylight from north sky >7000k l 3) daylight from sun disk only <5000k

16 Artificial Sources and CIE Standard Illuminants l Artificial sources l 1) tungsten behaves like a BBR at lower T than daylight l 2) flourescent only somewhat (See W&S) l CIE Standard Illuminants Older A,B,C (not used much today)

17 Synopsis l Characterization of illuminants –Review of model for HVS and light interaction with surfaces –Development of black body radiator concept –Correlated color temperature –Artificial sources and CIE standard illuminants l Nonlinear Response of Human Visual System –Weber’s law –Gamma correction –CIE uniform color spaces

18 l Overall HVS model thus far is linear l Psychometric function l Question: Does Bag in right hand weigh more than Bag in left hand? Yes or No? 0.5 Threshold level stimulus Slope measure of sensitivity # of books in right hand when # of books in left hand is fixed Probit Analysis

19 Weber’s Law l Weber’s Law: l Vision l Source: D.E. Pearson, Transmission of Pictorial Information Stimulus Increment Total Stimulus constant Threshold for a difference is ~ Subject adjusts until they see a difference Luminance:

20 Weber’s Law Application l Quantization – space quantization levels non-uniformly as a function of luminance l What does Weber’s law suggest: l Integrating, we get l Suggests that we should quantize L so that levels are farther apart as L increases Just perceivable difference in brightness constant

21 Weber’s Law Application (cont.) l Two possible implementations: –1) non-uniform quantization directly –2) process with a non-uniform mapping then quantize uniformly l How does this get used? –1) Gamma –2) CRT (Cathode Ray Tube) D/A Digital Value DV Voltage V Electron Gun Y DV~V Phosphor

22 Gamma Correction and Limitations of Weber’s Law l Gamma Correction: l DV = captured luminance l Limitations of Weber’s Law “Happy Coincidence”

23 Summary of impact of gamma in imaging systems and image processing l According to trichromatic model for HVS, cone responses are linearly related to incident photon count: l This model is also applicable to image capture devices – scanners, cameras. l However, the output from these devices is generally gamma-corrected to account for Weber’s Law and in anticipation of the power-law behavior of output devices – displays and printers.

24 Gamma Correction l RGB captured image in linear space (linear RGB) l Gamma-corrected output from cameras and scanners (assuming 8 bits/channel) (This is the default.) Typical value (sRGB):

25 Gamma Uncorrection l What displays and printers do (generally hidden from user) l Similar relationships hold for CIE X and CIE Z components l So gamma correction means raise to power l Gamma uncorrection means raise to power

26 Implications for Image Processing l If you want to convert an image to CIE XYZ, and thence to a uniform color space, such as CIE L*a*b*, you must first gamma uncorrect it. l If you want to halftone an image, you must first gamma uncorrect it. l If you want to display or print an image that you have processed in a linear space (pixel values proportional to photon count), you must first gamma correct it. l Note that a binary halftone image would have values 0 or 255 only; so gamma correction of the halftone image has no effect.


Download ppt "ECE 638: Principles of Digital Color Imaging Systems Lecture 12: Characterization of Illuminants and Nonlinear Response of Human Visual System."

Similar presentations


Ads by Google