Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Version 7.9.0.529
12 Aug 2009
Content
 Introduction
 Application
 Image processing
 Read & Write Image
 Conversion of image to binary & gray
 RGB ...
Introduction
 Cleve molar in 1984, Mathworks inc
 Introduced as a simulation tool
 Supports Graphical Programming
 Can...
Applications
 Aerospace
 Biometrics
 Robotics
 Medical
 Finance
 Control System
 Signal, Image, Audio and Video
 A...
List of Companies
 ADOBE (Photoshop)
 NASA
 GE
 L&T
 ROBERT BOSCH
 PEPSI , COCACOLA (Neuro Marketing)
File Extensions
.fig
MATLAB Figure
.m
MATLAB function, script, or class
.mat
MATLAB binary file for storing variables
.mex...
Plot
t=0:0.25:7;
y = sin(t);
plot(t,y) ;
xlabel('x axis');
ylabel('y axis');
title('Heading');
grid on;
gtext('text');
How to read an image
a =imread('cameraman.tif');
imshow(a);
b=imread('canoe.tif');
imshow(b);
Convert image to gray and binary
clc;
clear;
close all
a= imread(‘onion.png');
subplot(2,2,1);
imshow(a);
subplot(2,2,2);
...
RGB component
a=imread(‘onion.png');
subplot(2,2,1);
imshow(a);
R=a;
G=a;
B=a;
R(:,:,2:3)=0;
subplot(2,2,2);
imshow(R);
G(...
NOISE AND FILTER
a = imread(‘coins.png');
b = imnoise(I,'salt & pepper',0.02);
c = medfilt2(J);
subplot(1,2,1);
imshow(b)
...
GUI
Graphical User Interface
Choosing oF PUSH & AXIS
WRITE THE CODE BELOW THE
CALLBACK
a =imread('cameraman.tif');
axes(handles.one);
imshow(a);
RUN THE PROGRAM OR PRESS F5
Image Representation
A digital image differs from a photo in that the values are all discrete. Usually
they take integer v...
Binary Image
A binary image is represented by an M×N logical matrix
where pixel values are 1 (true) or 0 (false).
Webcam Capture
Vid=videoinput(‘winvideo’,1);
Set(vid,’returnedcolorspace’.’RGB’);
Img=getsnapshot(vid);
Imshow(img);
Serial Communication
s=serial('COM1');
set(s,'baudrate',9600);
s.baudrate=9600;
s=serial('COM1','baudrate',9600);
get(s,'b...
Reading from Serial port on MATLAB
void setup()
{
Serial.begin(9600);
}
void loop()
{
if(Serial.available()>0)
{
byte b = ...
Image proceesing with matlab
Upcoming SlideShare
Loading in …5
×

Image proceesing with matlab

18,459 views

Published on

Published in: Technology, Art & Photos
  • DOWNLOAD FULL BOOKS INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Image proceesing with matlab

  1. 1. Version 7.9.0.529 12 Aug 2009
  2. 2. Content  Introduction  Application  Image processing  Read & Write Image  Conversion of image to binary & gray  RGB component  Image & Noise filtration  GUI  Robotics Application
  3. 3. Introduction  Cleve molar in 1984, Mathworks inc  Introduced as a simulation tool  Supports Graphical Programming  Can be interfaced with other High Level languages
  4. 4. Applications  Aerospace  Biometrics  Robotics  Medical  Finance  Control System  Signal, Image, Audio and Video  Animation
  5. 5. List of Companies  ADOBE (Photoshop)  NASA  GE  L&T  ROBERT BOSCH  PEPSI , COCACOLA (Neuro Marketing)
  6. 6. File Extensions .fig MATLAB Figure .m MATLAB function, script, or class .mat MATLAB binary file for storing variables .mex MATLAB executable (platform specific, e.g. ".mexmac" for the Mac, ".mexglx" for Linux, etc.) .p MATLAB content-obscured .m file (result of pcode() )
  7. 7. Plot t=0:0.25:7; y = sin(t); plot(t,y) ; xlabel('x axis'); ylabel('y axis'); title('Heading'); grid on; gtext('text');
  8. 8. How to read an image a =imread('cameraman.tif'); imshow(a); b=imread('canoe.tif'); imshow(b);
  9. 9. Convert image to gray and binary clc; clear; close all a= imread(‘onion.png'); subplot(2,2,1); imshow(a); subplot(2,2,2); b=imresize(a,[256 200]); imshow(b); subplot(2,2,3); c=rgb2gray(b); imshow(c); subplot(2,2,4); d=im2bw(c); imshow(d);
  10. 10. RGB component a=imread(‘onion.png'); subplot(2,2,1); imshow(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);
  11. 11. NOISE AND FILTER a = imread(‘coins.png'); b = imnoise(I,'salt & pepper',0.02); c = medfilt2(J); subplot(1,2,1); imshow(b) subplot(1,2,2); imshow(c)
  12. 12. GUI Graphical User Interface
  13. 13. Choosing oF PUSH & AXIS
  14. 14. WRITE THE CODE BELOW THE CALLBACK a =imread('cameraman.tif'); axes(handles.one); imshow(a);
  15. 15. RUN THE PROGRAM OR PRESS F5
  16. 16. Image Representation A digital image differs from a photo in that the values are all discrete. Usually they take integer values. A digital image can be considered as a large two dimensional array of discrete cells, each of which has a brightness associated with it. These dots are called pixels.
  17. 17. Binary Image A binary image is represented by an M×N logical matrix where pixel values are 1 (true) or 0 (false).
  18. 18. Webcam Capture Vid=videoinput(‘winvideo’,1); Set(vid,’returnedcolorspace’.’RGB’); Img=getsnapshot(vid); Imshow(img);
  19. 19. Serial Communication s=serial('COM1'); set(s,'baudrate',9600); s.baudrate=9600; s=serial('COM1','baudrate',9600); get(s,'baudrate'); s.baudrate ans = 9600 Setup the Connection fopen(s); s.Status; Ans= open
  20. 20. Reading from Serial port on MATLAB void setup() { Serial.begin(9600); } void loop() { if(Serial.available()>0) { byte b = Serial.read(); } }

×