in the name of allah - sharif university of...
Post on 06-Apr-2020
0 Views
Preview:
TRANSCRIPT
In the name of Allahthe compassionate, the mercifulthe compassionate, the merciful
Kasaei 3
S. KasaeiSharif University of Technology
Room: CE307
skasaei@sharif.eduMail: -EHome Page: http://ce.sharif.edu
http://ipl.ce.sharif.eduhttp://sharif.edu/~skasaei
Digital Image ProcessingDigital Image Processing
Kasaei 4
Chapter 3
Image Perception
Kasaei 5
Introduction
Kasaei 6
Introduction
Visible Light Imaging Model.
Kasaei 7
Introduction
Irradiance Light
Radiance Light
Kasaei 8
Introduction
In presenting the output of an imaging system to a human observer, it is essential to consider how it is transformed into information by the viewer.
Understanding of the visual perceptionprocess is important for developing measures of image fidelity.
Kasaei 9
Introduction
Visual image data represents spatial distribution of physical quantities (luminance & spatial frequencies).
Perceived information may be presented by attributes (brightness, color, & edges).
The goal is to study how the perceived information may be represented quantitatively.
Kasaei 10
Introduction
Fig. 1: Simplified diagram of a cross section of the human eye.
Kasaei 11
Introduction
Fig. 2: Cross section of the eye.
Kasaei 12
Introduction
Color is about spectrum & wavelength.Light is defined as the electromagneticradiation that stimulates our vision response.It consists of an electromagnetic wave, with wavelengths in the range of 380-780 nm, in which the human eye is sensitive.The energy of light is measured in flux, with the unit of watt.It is expressed as a spectral energy distribution.
Kasaei 13
Introduction
Fig. 3: The electromagnetic spectrum.
Kasaei 14
Color Representation
Fig. 4: Visible wavelengths.
Kasaei 15
Introduction
Fig. 5: Typical relative luminous efficiency function of human eye.
Blue
Green
Red
Kasaei 16
Introduction
The luminance of an object is independentof the luminance of the surrounding objects.
The (apparent) brightness of an object is the perceived luminance & depends on the luminance of the surround.
Kasaei 17
Introduction
Fig. 6: Simultaneous contrast. Top: Middle squares have equal luminancebut do not appear equally; Bottom: Middle squares appear almost equally bright, but their luminance are different.
Kasaei 18
Introduction
The spatial interaction of luminance from an object & its surround creates a phenomenon called the match band effect.
It shows that brightness is not a monotonic function of luminance.
Kasaei 19
Introduction
Fig. 7: Mach band effect. (a) Gray level bar chart; (b) Luminance versus brightness.(a) (b)
Kasaei 20
Introduction
Measurement of the mach band effect can be used to estimate the impulse response of the visual system [h(n)].
The negative lobes [in h(n)] indicate that the neural signal at a given location has been inhibited by some of the laterally located receptors.
Kasaei 21
MTF of the Visual System
A direct measurement of the visual system’s modulation transfer function (MTF), is possible by considering a sinusoidal grating of varying contrast (ratio of the Max to Min intensity) & spatial frequency.
Observation of this Fig. shows the thresholds of visibility at various frequencies.
Kasaei 22
MTF of the Visual System
Fig. 8: Modulation transfer function (MTF) of the human visual system. (a) Contrast versus spatial frequency sinusoidal grating; (b) Typical MTF plot.
cpd
Kasaei 23
MTF of the Visual System
Human visual system is most sensitive to mid-frequencies (3~10 cycles/degree) & least sensitive to high frequencies.
Contrast sensitivity also depends on orientation of the grating (max for horizontal & vertical grating).
Kasaei 24
MTF of the Visual System
Angular sensitivity variations are within 3dB (Max. deviation at 45 degree).
Spatial frequency components, separated by about one octave, can be detected independently by observers.
Thus, visual system contains a number of visual system contains a number of independent spatial channels, each tuned to a independent spatial channels, each tuned to a different spatial frequency & orientation angle.different spatial frequency & orientation angle.
Kasaei 25
Image Fidelity Criteria
There are 2 types of fidelity criteria: subjective & quantitative.
Subjective criteria use rating scales such as goodness scales & impairment scales.
Quantitative criteria includes: average LSE, MSE, average MS, SNR, PSNR, & frequency weighted MS.
Kasaei 26
Subjective Criteria
Table 1: Image goodness scales.
Kasaei 27
Subjective Criteria
Table 2: Image impairment scales.
Sk: score,
nk: # observers, n: # grades.
Kasaei 28
Quantitative Criteria
Kasaei 29
Quantitative Criteria
Kasaei 30
Quantitative Criteria
Kasaei 31
Quantitative Criteria
Kasaei 32
Quantitative Criteria
Kasaei 33
Color Representation
Use of color is not only more pleasing but it also enables us to receive more visual information.
While human can perceive only a few dozen gray levels, have the ability to distinguish between thousands of colors.
Kasaei 34
Color Representation
Fig. 9: Visible color spectrum.
Kasaei 35
Color Representation
Fig. 10: Visible wavelengths.
Kasaei 36
Color Representation
Human color perception is 3 dimensional.
The perceptual attributes of colors are brightness, hue, & saturation.
Brightness presents the perceived luminance.
Hue refers to its “redness”, “greenness”, ...
Saturation is the aspect of perception that varies most strongly as more while light is added.
Kasaei 37
Color Representation
Fig. 11: Hue representation.
Kasaei 38
Color Representation
Fig. 12: Hue representation.
Kasaei 39
Color Representation
Fig. 13: HSV color model representation.
Kasaei 40
Color Representation
Fig. 14: HSV color model representation.
Kasaei 41
Color Representation
Fig. 15: HSV color model representation.
Kasaei 42
Color Representation
Fig. 16: HSV color model.
Kasaei 43
Color Representation
Fig. 17: HIS color model.
Kasaei 44
Color Representation
Fig. 18: HIS color model.
Kasaei 45
Color Representation
Fig. 19: HIS color model.
Kasaei 46
Color Representation
For monochromatic light sources, differences in hues are manifested by the differences is wavelengths.
These definitions are somewhat imprecise.
Hue, brightness,& saturation all changewhen either the wavelength, the intensity, the hue, or amount of white light in a color is changed.
Kasaei 47
Color Representation
A human observer perceives color through the stimuli of 3 different pigmented cones.
Fig. 20: Typical absorption spectra of cons in the retina, as a function of wavelength.
Kasaei 48
Color Representation
Fig. 21: Colors as relative responses (ratios).
Kasaei 49
Frequency Responses of Cones
Some colors cannot be produced using only positively weighted primaries.Some colors need negative amounts of primaries.
Fig. 22: Analysis spectrum of cone responses has negative lobs.
Kasaei 50
Color Representation
Fig. 23: Monitor phosphor.
Kasaei 51
Color Representation
A weighted sum of primaries produces a color that cannot be distinguished by an observer from the color of the spectrum.
Fig. 24: Additive color model
Kasaei 52
Color Representation
Fig. 25: Primary & secondary colors of light & pigments.
Kasaei 53
Color Representation
Primary colors for reflecting sources (also known as secondary colors):
Cyan, Magenta, & Yellow (CMY).Example: CMY color printer,
Cyan ink absorbs red light.Magenta ink absorbs green light.Yellow ink absorbs blue light.C+M+Y absorbs all light: Black!
Color printer works by using cyan, magenta, yellow, & black (CMYK) dyes. The dye:
Acts like a narrow-band filter.Saves ink.Produces higher-quality black.Increases gamut.
Kasaei 54
Color Representation
Fig. 26: Single chip color CCD.
Kasaei 55
Color RepresentationTable 3: Color coordinate systems
[Commission Internationale de L’Eclairage (CIE)].
Kasaei 56
Color RepresentationTable 3: Color coordinate systems (Cntd).
Kasaei 57
Color RepresentationTable 3: Color coordinate systems (Cntd).
Kasaei 58
Color Representation
Table 4: Transformation from NTSC Receiver Primary to other coordinate systems.
Kasaei 59
Color Representation
Kasaei 60
Color Representation
Kasaei 61
Color Representation
Kasaei 62
Color Representation
Fig. 27: CIE XYZ (only positive lobs, but not orthogonal).
Kasaei 63
Color Representation
Fig. 28: CIE XYZ chromaticity diagram.
Visible colors
Many pointsin XYZ do notcorrespond to visible colors!
Some hues do not correspond
to a pure spectrum
Kasaei 64
Color Representation
Fig. 29: CIE XYZ chromaticity diagram.
Kasaei 65
Color Representation
Fig. 30: Monitor gamut of CIE XYZ chromaticity diagram.
Kasaei 66
Color Representation
Fig. 31: CIE XYZ chromaticity diagram.
Kasaei 67
Color Representation
Fig. 32: The RGB safe-color cube.
Kasaei 68
The Infamous Gamma Curve
A gamma curve is used for many reasons:CRT response:
The relation between voltage & intensity is non-linear.Color quantization:
We do not want a linear color resolution.More resolution for darker tones.Because we are sensitive to intensity ratios.
Perceptual effect:We perceive colors in darker environment less vivid.Hunt & Stevens effect.
Contrast reduction:Keep some contrast in the highlights.
γxx→
Kasaei 69
Color Representation
Fig. 33: RGB color model.
Kasaei 70
Color Representation
Fig. 34: CIE Lab color models.
Kasaei 71
Color Representation
Fig. 35: color copier.
Kasaei 72
Color Representation
Fig. 36: Different gamut.Blue: CRT, Red: 4-color printing.
Kasaei 73
Color Representation
Fig. 37: System overview.
Kasaei 74
Color Representation
Fig. 38: Pseudo color for detection.
Kasaei 75
Color Representation
Fig. 39: Pseudo color example.
Kasaei 76
Color Representation
Fig. 40: Color manipulation.
The EndThe End
top related