Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Pixel Coordinat es
0.5
I(1,2)
. . .
I(1,n)
I(2,1)
I(2,2)
. . .
I(2,n)
.
.
.
.
.
.
I(m ,1
)
I(m ,2
)
1
1.5
I(1,1)
2
2.5
.
.
.
3
3.5
. . .
I(m ,n
)
4
4.5
I(3,2)
I(2,3)
Binary Im ages
Binary im ages:
[ 0,1]
Int ensit y im ages: [ 0:1] or uint 8
Index im ages:
M x 3 color m ap
m at rix
RGB im ages:
Mx Nx3
B
1
[ 0,1]
[ on, off]
[ t rue,false]
et c.
Binary Im age
Mx N
B & W im age
Only t wo values
Index Im ages
Dat a Mat rix (I)
I
250
100
50
25
50
75
100
50
250
Mx N
Greyscale im age
Each v alue designates
an int ensity
[ 0:1] or [ 0:255]
(uint 8)
m ap
Vect or
#
Index
Im age
C x 3 m at rix
3 cols: Red, Blue,
Green
C rows: Color vector
[ 0:1]
Also called a color
lookup t able (LUT)
Mx N
Each v alue point s to a
specific color v ector in
t he colorm ap
8
RGB Im ages
G
M x N x 3 RGB(m ,n,i)
Each color page (aka
bit plane) has values
[ 0:1]
An individual pix el
color is defined by t he
corresponding v alues
in the t hree color
pages
i = RGB variable
j = fram e index
RGB
Im age
Int ensit y
Binary
Doubl
e
Dat a
Mx N float
array
[0:1]
Mx N
logical
array [ 0 1]
Mx Nx3 float
array [ 0:1]
Uint 8
Dat a
Mx N int
array
[0:255]
Mx N
logical
array [ 0 1]
nb
1= whit e
Not
support ed
Mx Nx3 int
array [ 0:255]
Uint 1
6
Dat a
Mx N int
array
[0:65535]
10
Mx Nx3 int
array
[0:65535]
11
12
Displaying Im ages
figure - opens new window for displaying
im age
im show - displays im age using IPT
preferences
m ov = im ovie(MFW); m ovie(m ov)
Indexed Im ages:
[ X,m ap] = im read(file.fm t )
Int ensit y, RGB, & Binary Im ages:
X= im read(file.fm t )
13
15