• Save
Matlab Working With Images
Upcoming SlideShare
Loading in...5
×
 

Matlab Working With Images

on

  • 4,343 views

Matlab Working With Images

Matlab Working With Images

Statistics

Views

Total Views
4,343
Slideshare-icon Views on SlideShare
4,332
Embed Views
11

Actions

Likes
1
Downloads
0
Comments
0

4 Embeds 11

http://www.slideshare.net 6
http://www.dataminingtools.net 3
http://www.mefeedia.com 1
http://dataminingtools.net 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Matlab Working With Images Matlab Working With Images Presentation Transcript

    • Matlab:Working with images
    • Types of images
      Binary image
      Grayscale images
      Indexed image
      RGB image
    • Binary Images
      Binary images are made of only two colors: Black and White
    • Grayscale Images
      A grayscale image is a data matrix whose values represent intensities within some range.
    • Indexed Images
      In an Indexed Image, the color of each image pixel is determined by using the corresponding value of X as an index into map.
    • RGB Images
      An RGB image is stored as an m*n*3 data array that defines red, green, and blue color components for each individual pixel.
    • Converting
      Matalb offers many useful commands to convert images form one form to another:
      Demosaic Convert Bayer pattern encoded image to truecolor (RGB) image.
      Dither Use dithering to convert a grayscale image to a binary image or to convert a truecolor image to an indexed image.
      Gray2ind Convert a grayscale image to an indexed image.
      Grayslice Convert a grayscale image to an indexed image by using multilevel thresholding.
    • Converting
      Matalb offers many useful commands to convert images form one form to another:
      Im2bw Convert a grayscale image, indexed image, or truecolor image, to a binary image, based on a luminance threshold.
      Ind2gray Convert an indexed image to a grayscale image.
      Ind2rgb Convert an indexed image to a truecolor image.
    • Converting
      Matalb offers many useful commands to convert images form one form to another:
      Mat2gray Convert a data matrix to a grayscale image, by scaling the data.
      Rgb2gray Convert a truecolor image to a grayscale image.
      Rgb2ind Convert a truecolor image to an indexed image.
    • Viewing
      The following set of commands will read an image and display it:
      • IMAGE=imread(‘image1.jpg’);
      • imshow(IMAGE);
    • Pixel-values
      The following set of commands will read an image, display it and give the information of the pixel at the tool-tip:
      • IMAGE=imread(‘image1.jpg’);
      • imshow(IMAGE);
      • impixelinfo;
    • Measuring the Distance Between Two Pixels
      The distance between any two pixels of an image can be calculated by opening the image in ‘imtool’ and using the ‘ruler’ tool:
      • IMAGE=imread(‘image1.jpg’);
      • imtool(IMAGE);
    • Cropping an image
      An image can be cropped by opening the image in ‘imtool’ and using the ‘crop’ tool:
      • IMAGE=imread(‘image1.jpg’);
      • imtool(IMAGE);
    • Cropping an image
      An image can be cropped by opening the image in ‘imtool’ and using the ‘crop’ tool:
      • IMAGE=imread(‘image1.jpg’);
      • imtool(IMAGE);
    • Visit more self help tutorials
      Pick a tutorial of your choice and browse through it at your own pace.
      The tutorials section is free, self-guiding and will not involve any additional support.
      Visit us at www.dataminingtools.net