Furthermore, MATLAB is a modern
programming language environment: it has sophisticated data structures,
contains built-in editing and debugging tools, and supports object-oriented
programming.
These
factors make MATLAB an excellent tool for teaching and research. MATLAB has
many advantages compared to conventional computer languages (e.g., C, FORTRAN)
for solving technical problems. MATLABis an interactive system whose basic
data element is an array that does not require dimensioning.
Specific applications are collected in packages
referred to as toolbox. There are toolboxes for signal processing, symbolic
computation, control theory, simulation, optimiza- tion, and several other
fields of applied science and engineering. I
- For
an introduction on Matlab’s image processing functions we recommend the
exercises on this list as well as the reading of the section Image Processing Toolbox and of the
subsections Getting Started, Introduction and Displaying and Printing Images of
the on-line help.
imread
Read image from
graphics file
A =
imread(filename, fmt)[X, map] = imread(...)
[...] = imread(filename)
[...] = imread(URL,...)
[...] = imread(...,Param1,Val1,Param2,Val2...)
[...] = imread(...,Param1,Val1,Param2,Val2...)
Imshow:-
Display image
Syntax
- imshow(I)
- imshow(I,RI)
- imshow(X,map)
- imshow(X,RX,map)
- imshow(filename)
- imshow(___,Name,Value...)
- imshow(gpuarrayIM,___)
- imshow(I,[low high])
- himage = imshow(__)
-
imshow(I) displays the image I in a Handle Graphics® figure, where I is a grayscale, RGB (truecolor), or binary image. For binary images, imshow displays pixels with the value 0 (zero) as black and 1 as white.
- imshow(I,RI)