Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
By
M.Veerraju, MCA 2nd YEAR,
GIET Rajahmundry
J.Nageswara Rao,
Digital Image
Digital image is composed of finite number of elements
Pixel is used to denote the elements of a digital image A digital image is a mapping from the real three-
dimensional world to a set of two-dimensional discrete points. Each of these spatially distinct points, holds a number that denotes grey level or colour for it, and can be conveniently fed to a digital computer for processing.
Digital Image Processing deals with images which are two-dimensional entities (such as scanned office documents, x-ray films, satellite pictures, etc) captured electronically through a scanner or camera system that digitises the spatially continuous coordinates to a sequence of 0s and 1s.
Action : Primitive Operations Input: Image Output: Image Examples: Noise removal, image sharpening
Action : Making Sensation Input: Attributes Output: Scene Understanding Examples: recognition, analysis & associates with vision
Input: Image Output: Attributes Examples: Object recognition, classification & processing
Types of Images
4
1.
Intensity Image its a data matrix whose values are represented by intensities.
2. Binary Image stored as logical array with 0s or 1s 3. Indexed Image has two components Data matrix x & Color map matrix map(Mx3 array having the value range[0,1]) 4. RGB Image it is an MxNx3 array of color pixels corresponding to Red, Green & Blue.
MATLAB stands for matrix laboratory. MATLAB is a high-performance language for technical
computing.
It integrates computation, visualization, and programming
in an easy-to-use environment.
Algorithm development Data acquisition Modeling, simulation, and prototyping Data analysis, exploration, and visualization Scientific and engineering graphics Math and computation Application development, including graphical user interface building
Parts of MATLAB 5
Commands in MATLAB
imread( filename )
or
clear
whos f
Name Size Bytes Class f 1024x1024 1048576 uint8 array Grand total is 1048576 elements using 1048576 bytes
Writing images
imwrite(f,filename) or
imwrite(f,eagle,jpg) or imwrite(f,eagle.jpg)
To Display A Image
imshow(eagle.jpg);
Or imshow(f);
[X2,map2] [X3,map3]
Row Wise Image Representation subplot(1,3,1) , imshow(X1,map1) subplot(1,3,2) , imshow(X2,map2) subplot(1,3,3) , imshow(X3,map3);
Column Wise Image Representation subplot(3,1,1) , imshow(X1,map1) subplot(3,1,2) , imshow(X2,map2) subplot(3,1,3) , imshow(X3,map3)
Z=
im2bw( k );
imshow(z);
BW = imread('circles.png');
imshow(BW)
Conclusion
Digital Image Processing using MATLAB is very interactive ,allows formulating solutions to many technical problems ,those involving Matrix Representations in fraction of time .
Queries ?
THANKS
To
Medha 2k7