9/7/2001
CS 461, Copyright G.D. Hager
Images in Matlab
(& Functions)
Built-in functions
:
A =imread(<filename>, <type>)
--
pull from file
imwrite(A, <filename>, <type>)
--
write to file
image(A)
--
display image
See Assignment 1, part 2 for a more thorough introduction.
’tif’
’jpg’
’bmp’
’png’
’hdf’
’pcx’
’xwd’
single-quoted strings
Types