Image processing in_matlab

  • 948 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
948
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
91
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 10/23/2012 Image Processing in MATLABDOES - PC
  • 2. An image in MATLAB is treated as a matrix Every pixel is a matrix elementSine Wave: • MATLAB can import/export several image formats – BMP (Microsoft Windows Bitmap) – GIF (Graphics Interchange Files) – HDF (Hierarchical Data Format) – JPEG (Joint Photographic Experts Group) – PCX (Paintbrush) – PNG (Portable Network Graphics) – TIFF (Tagged Image File Format) – XWD (X Window Dump) – MATLAB can also load raw-data or other types of image data
  • 3. Image Processing Toolbox Functions:•image enhancement •adjust the contrast•image deblurring •create contours•feature detection •create histograms•noise reduction •manipulate regions of interest•image segmentation •degraded images•geometric transformations •detect and measure features•image registration •analyze shapes and textures•explore an image •adjust color balance•examine a region of pixels
  • 4. Basic Commands:1) Read and Display an Image: >> I= imread(‘A.png); >> imshow(I) >> whos Name Size Bytes Class I 349x356x3 372732 uint8 array
  • 5. 2) Basic Operations on a Rice Image: >> I = imread(rice.png); >> imshow(I)>> background = imopen(I,strel(disk,15));>> figure, imshow(background)
  • 6. >> I2 = imsubtract(I,background);>> figure, imshow(I2)>> I3 = imadjust(I2);>> figure, imshow(I3