Beruflich Dokumente
Kultur Dokumente
Agenda
Images in Spatial domain
Mathematics and structures for Images in Spatial domain
Images in Frequency domain
Colors
Color Images
Image Windows
W((31+171, 241 + 137),
(351 X 275)
Histogram
Histogram is a graphical representation showing a visual
impression of the distribution of data
Image Histogram is a type of histogram that acts as a
graphical representation of the lightness/color
distribution in a digital image. It plots the number of
pixels for each value.
Normalized Histogram
It is common practice to normalize a histogram by
dividing each of its values by the total number of pixels
in the image, denoted by n.
Normalized histogram gives the estimate of the
probability of occurrence of gray level. Sum of the all
components of a normalized histogram is equal to 1.
Why Histograms
Can perform variety of spatial domain processing
techniques ?
Provides useful image statistics and information can be
used for image enhancement.
Horizontal axis corresponds to gray level values.
The vertical axis corresponds to to values of h(rk)=nk or
p(rk)=nk/n if the values are normalized
10
Histogram in MATLAB
h = imhist (f, b)
p = imhist (f, b) / numel(f)
Where f, is the input image, h is the histogram, b is number of
bins (tick marks) used in forming the histogram (b = 255 is the
default).A bin, is simply, a subdivision of the intensity scale. For
example, if we are working with uint8 images and we let b = 2,
then the intensity scale is subdivided into two ranges: 0 127
and 128 255. the resulting histograms will have two values:
h(1) equals to the number of pixels in the image with values in
the interval [0,127], and h(2) equal to the number of pixels
with values in the interval [128 255]
numel (f): a MATLAB function that gives the number of
elements in array f (i.e. the number of pixels in an image.
11
Contrast Image
12
Image Contrast
13
Image Contrast
14
Slopes
15
16
17
18
Step-Edges
21
22
What is an edge?
23
25
26
Fourier Series
27
Fourier Transform
29
30
Basis Functions
31
32
33
34
35
(Class Notes)
36
37
Colors
38
Color Definitions
39
40
Colors
41
Red
625 780 nm
Orange
590 625 nm
Yellow
565 590 nm
Green
500 565 nm
Cyan
485 500 nm
Blue
440 485 nm
Violet
380 440 nm
Human Vision
Human Eyes
42
Image Formations
Information Extraction
Retina
43
44
46
47
48
Observing Colors
49
50
Spectral Power distribution of a mercury light source. Y axis indicates the power
per wavelength and the x - axis indicates the wavelength
51
Tri-stimulus Values
55
56
Chromaticity Diagram
57
Chromaticity Diagram
58
59
References
Slide No
1-9, 12-38,
48, 54, 57
10
http://homepages.inf.ed.ac.uk/rbf/HIPR2/hipr_top.htm
11
http://in.mathworks.com/help/images/ref/imhist.html
39
http://www.solarlightaustralia.com.au/2013/02/20/visible-light/
40
http://www.ducksters.com/science/physics/types_of_electromagnetic_wav
es.php
41
http://imgarcade.com/1/visible-light-waves/
http://www.tv411.org/science/tv411-whats-cooking/heat-mathlesson/activity/1/5
43 -45
The Human Eye and Adaptive Optics, Fuensanta A. Vera-Daz1 and Nathan
Doble, The New England College of Optometry, Boston MA, USA
60
Slide No
46
http://hyperphysics.phy-astr.gsu.edu/hbase/vision/rodcone.html
51- 52
http://www.math.ubc.ca/~cass/courses/m309-03a/m309projects/vaxenga/part2.html
53
http://www.math.ubc.ca/~cass/courses/m309-03a/m309projects/vaxenga/part2.html
61