image processing on matlab presentation
TRANSCRIPT
![Page 1: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/1.jpg)
IMAGE PROCESSING ON MATLAB
PRESENTED BY RM.NAATCHAMMAI
(III-ECE) VPMM ENGINEERING
COLLEGE
![Page 2: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/2.jpg)
ABSTRACT1. MATLAB introduction-commands-
operators-functions-GUI2. Image Processing Basics formats of image,
colors3. Techniques:enhancement,restoration,wate
r marking,cryptography,steganography,image fusions
4. Algorithms-example programs5. Real-time applications-project based
ideas.
![Page 3: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/3.jpg)
Introduction MATLAB MATrix LABoratory
Developed by CleveMoler in 1984 as a teaching tool
High performance language for technical computing
Typical uses are,
numerical computation
Data analysis ,plotting and visualization
Graphical user interface building
Algorithm development and modelling
![Page 4: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/4.jpg)
General Purpose Commands
clc , clear ,close all save who , whoscd , lsdispVersionPwdFloor,round,absdate
![Page 5: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/5.jpg)
OPERATORS ARITHMETIC OPERATORS
+:ADD,-:SUB,*:MATRIX MUL,/:MATRIX DIV, .*:ARRAY MUL,./:ARRAY DIV
LOGICAL OPERATORS AND &,OR |,NOT~
RELATIONAL OPERATORS <,==,>,<=,>=,~=.
BITWISE OPERATORS Bitand ,bitcmp,bitor,bitmax,bitxor,
bitset,Bitget,bitshift
![Page 6: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/6.jpg)
FUNCTIONS PLOT linear plot STEM discrete plot GRID add grid lines XLABEL add X-axis label YLABEL add Y-axis label TITLE add graph title SUBPLOT divide figure window FIGURE create new figure window PAUSE wait for user response
![Page 7: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/7.jpg)
GUI FILE&M-FILE IN MATLAB
Usually matlab has two file formats they are, M-file Gui –file
GUI FILE:A graphical user interface (GUI) is a user interface built with graphical objects, such as buttons, text fields, sliders, and menus. In general, these objects already have meanings to most computer users.
M-FILE: It is built with codings,here we use coding to run the programs.
![Page 8: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/8.jpg)
USER INTERFACE CONTROLS Push Buttons Toggle Buttons Radio Buttons Checkboxes Popup Menus Edit Text Axes Static Text Figures
![Page 9: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/9.jpg)
IMAGE PROCESSINGo Image –It is define as the group of pixels
o Image formats o .JPG/.JPEG - Joint Photographic Experts Group
o .GIF - Graphics Interchangeable Format
o .TIFF - Tagged Image File Format
o .PNG - Portable Network Graphics
o .BMP - Bitmap format
o Applications of image processing o Research
o Survillence
o Medical
![Page 10: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/10.jpg)
COLOURSoPRIMARY COLOURSoSECONDARY COLOURSoCODE CONVERSION
![Page 11: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/11.jpg)
IMAGE PROCESSING TECHNIQUESoEnhancemento Restorationo WatermarkingoCryptographyoSteganographyoFusiono RetrievaloSegmentation
![Page 12: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/12.jpg)
![Page 13: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/13.jpg)
WATER MARKING• Water Marking – Embed the secret image in an
image or any type of multimedia data.• We should hide the image without changing original
image quality.• Water marking is used only for copyright protection• The applications of water marking are,
• Tele – broadcasting• Web-applications
• There are two types of water marking they are,• Visible water marking• Invisible water marking
![Page 14: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/14.jpg)
STEGANOGRAPHYo Hiding a Secret data in Digital Images without affecting the
quality of Medium. This image is called as StegoImage.
Original Image Stego Image
Application
o Send secret communication like Military applications
![Page 15: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/15.jpg)
Fusion – Process of Combining two different scanned images to get a single image having more relevant information of those twos
Types:Pixel Level Fusion Feature Level FusionDecision Level Fusion
IMAGE FUSION
Rule1: Averaging
Rule2: Maximum
Rule3: Minimum
![Page 16: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/16.jpg)
SEGMENTATION OUTPUTCluster1 Cluster2
Cluster3 Cluster4
![Page 17: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/17.jpg)
TO READ AN IMAGE a =imread('cameraman.tif'); imshow(a);
ADD TWO IMAGESI = imread(‘rice.tif');J = imread('cameraman.tif');K = imadd(I,J,'uint16');imshow(K,[])
![Page 18: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/18.jpg)
CONVERT IMAGE TO GRAY AND BINARY
clc;clear;close alla= imread(‘peppers.png');subplot(2,2,1);imshow(a);subplot(2,2,2);b=imresize(a,[256 256]);imshow(b);subplot(2,2,3);c=rgb2gray(b);imshow(c);subplot(2,2,4);d=im2bw(c);imshow(d);
![Page 19: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/19.jpg)
RGB COMPONENTa=imread(‘peppers.png’)subplot(2,2,1);imshow(a);[r c p]=size(a)R=a;G=a;B=a;R(:,:,2:3)=0;subplot(2,2,2);imshow(R);G(:,:,1)=0;G(:,:,3)=0;subplot(2,2,3);imshow(G);B(:,:,1)=0;B(:,:,2)=0;subplot(2,2,4);imshow(B);
![Page 20: Image processing on matlab presentation](https://reader036.vdocuments.us/reader036/viewer/2022062311/58eef4f61a28ab78108b45e7/html5/thumbnails/20.jpg)
a=imread(‘rice.png’);figure; imshow(a);b=imnoise(a,’salt &
pepper’,0.02)Figure;Imshow(B);c=medfilt2(b);Figure;Imshow(c)
FILTER TO REMOVE THE NOISES