Top Banner
IMAGE PROCESSING ON MATLAB PRESENTED BY RM.NAATCHAMMAI (III-ECE) VPMM
20

Image processing on matlab presentation

Apr 13, 2017

Download

Software

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Image processing on matlab presentation

IMAGE PROCESSING ON MATLAB

PRESENTED BY RM.NAATCHAMMAI

(III-ECE) VPMM ENGINEERING

COLLEGE

Page 2: Image processing on matlab presentation

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

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

General Purpose Commands

clc , clear ,close all save who , whoscd , lsdispVersionPwdFloor,round,absdate

Page 5: Image processing on matlab presentation

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

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

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

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

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

COLOURSoPRIMARY COLOURSoSECONDARY COLOURSoCODE CONVERSION

Page 11: Image processing on matlab presentation

IMAGE PROCESSING TECHNIQUESoEnhancemento Restorationo WatermarkingoCryptographyoSteganographyoFusiono RetrievaloSegmentation

Page 12: Image processing on matlab presentation
Page 13: Image processing on matlab presentation

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

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

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

SEGMENTATION OUTPUTCluster1 Cluster2

Cluster3 Cluster4

Page 17: Image processing on matlab presentation

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

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

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

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