SlideShare a Scribd company logo
Matlab:Working with images
Types of imagesBinary imageGrayscale imagesIndexed imageRGB image
Binary ImagesBinary images are made of only two colors:  Black and White
Grayscale ImagesA grayscale image is a data matrix whose values represent intensities within some range.
Indexed ImagesIn an Indexed Image, the color of each image pixel is determined by using the corresponding value of X as an index into map.
RGB ImagesAn RGB image is stored as an m*n*3 data array that defines red, green, and blue color components for each individual pixel.
ConvertingMatalb  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.
ConvertingMatalb  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.
ConvertingMatalb  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.
ViewingThe following set of commands will read an image and display it:IMAGE=imread(‘image1.jpg’);
imshow(IMAGE);Pixel-valuesThe 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 PixelsThe 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 imageAn image can be cropped by opening the image in ‘imtool’ and using the ‘crop’ tool:IMAGE=imread(‘image1.jpg’);
imtool(IMAGE);Cropping an imageAn image can be cropped by opening the image in ‘imtool’ and using the ‘crop’ tool:IMAGE=imread(‘image1.jpg’);

More Related Content

PPTX
Images in matlab
PPTX
Matlab and Image Processing Workshop-SKERG
PPTX
Dip review
PPTX
Fundamentals of Image Processing & Computer Vision with MATLAB
PPTX
Application of edge detection
PPTX
Application of-image-segmentation-in-brain-tumor-detection
PPTX
Pneumonia detection using cnn
PPT
Segmentation
Images in matlab
Matlab and Image Processing Workshop-SKERG
Dip review
Fundamentals of Image Processing & Computer Vision with MATLAB
Application of edge detection
Application of-image-segmentation-in-brain-tumor-detection
Pneumonia detection using cnn
Segmentation

What's hot (20)

PPTX
Chapter 9 morphological image processing
PPTX
Introductory Digital Image Processing using Matlab, IIT Roorkee
PPTX
Cse image processing ppt
PPTX
CANCER CELL DETECTION USING DIGITAL IMAGE PROCESSING
PPSX
Image processing on matlab presentation
PPTX
Chest X-ray Pneumonia Classification with Deep Learning
PDF
Comparitive study of brain tumor detection using morphological operators
PPT
Histogram equalization
PDF
Pneumonia Classification using Transfer Learning
PPTX
B&W Image Coloring (1).pptx
PDF
IMAGE STEGANOGRAPHY JAVA PROJECT SYNOPSIS
PDF
Discrete cosine transform
PPTX
Intensity Transformation and Spatial filtering
PPTX
DCT image compression
PPTX
Erosion and dilation
PPTX
Dip unit-i-ppt academic year(2016-17)
PPTX
Image proceesing with matlab
PDF
Image forgery detection using error level analysis and deep learning
Chapter 9 morphological image processing
Introductory Digital Image Processing using Matlab, IIT Roorkee
Cse image processing ppt
CANCER CELL DETECTION USING DIGITAL IMAGE PROCESSING
Image processing on matlab presentation
Chest X-ray Pneumonia Classification with Deep Learning
Comparitive study of brain tumor detection using morphological operators
Histogram equalization
Pneumonia Classification using Transfer Learning
B&W Image Coloring (1).pptx
IMAGE STEGANOGRAPHY JAVA PROJECT SYNOPSIS
Discrete cosine transform
Intensity Transformation and Spatial filtering
DCT image compression
Erosion and dilation
Dip unit-i-ppt academic year(2016-17)
Image proceesing with matlab
Image forgery detection using error level analysis and deep learning
Ad

Viewers also liked (20)

PPTX
Qubit Systems Inc. & Photon Systems Inc.
PDF
Sensor-based phenotyping technology facilitates science and breeding
PPTX
Plant Phenotyping, a new scientific discipline to quantify plant traits
PPT
Matlab
PPTX
New remote and proximal sensing methodologies in high throughput field phenot...
PPT
Digital image processing ppt
PPTX
Advanced radiographic aids in periodontics
PPTX
Plant Disease Detection Using I.T.
PPSX
Image segmentation 3 morphology
PPT
morphological image processing
PPTX
Introduction to Data-Applied
PDF
Vision To Profit V2 Sept 2009
PPTX
WEKA: Credibility Evaluating Whats Been Learned
PPTX
Graph Plots in Matlab
PPTX
PPTX
XL-Miner: Timeseries
PPTX
Ireland Apo University Fy 10 Tibbs Slideshare
PPTX
SPSS: Data Editor
ODP
Miedo Jajjjajajja
Qubit Systems Inc. & Photon Systems Inc.
Sensor-based phenotyping technology facilitates science and breeding
Plant Phenotyping, a new scientific discipline to quantify plant traits
Matlab
New remote and proximal sensing methodologies in high throughput field phenot...
Digital image processing ppt
Advanced radiographic aids in periodontics
Plant Disease Detection Using I.T.
Image segmentation 3 morphology
morphological image processing
Introduction to Data-Applied
Vision To Profit V2 Sept 2009
WEKA: Credibility Evaluating Whats Been Learned
Graph Plots in Matlab
XL-Miner: Timeseries
Ireland Apo University Fy 10 Tibbs Slideshare
SPSS: Data Editor
Miedo Jajjjajajja
Ad

Similar to Matlab Working With Images (20)

PDF
Programming in matlab lesson5
PPTX
Sec 2.pptx
PDF
Sec 2.pdf
PPT
Image processing for robotics
PPT
Dital Image Processing (Lab 2+3+4)
PPTX
Image Processing Using MATLAB
PPTX
Image processing in MATLAB
PDF
PPTX
Image processing tool box.pptx
PPTX
Working with images in matlab graphics
PDF
Digital Image Processing
PDF
Image processing with matlab
DOC
Simple Matlab tutorial using matlab inbuilt commands
PDF
Image processing using matlab
PPTX
Image processing
PDF
Image processing with matlab
PPTX
Basic image processing techniques
PDF
Matlab dip
PDF
Image processing basics using matlab
PPTX
DIP LEC 1.pptxlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...
Programming in matlab lesson5
Sec 2.pptx
Sec 2.pdf
Image processing for robotics
Dital Image Processing (Lab 2+3+4)
Image Processing Using MATLAB
Image processing in MATLAB
Image processing tool box.pptx
Working with images in matlab graphics
Digital Image Processing
Image processing with matlab
Simple Matlab tutorial using matlab inbuilt commands
Image processing using matlab
Image processing
Image processing with matlab
Basic image processing techniques
Matlab dip
Image processing basics using matlab
DIP LEC 1.pptxlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll...

More from DataminingTools Inc (20)

PPTX
Terminology Machine Learning
PPTX
Techniques Machine Learning
PPTX
Machine learning Introduction
PPTX
Areas of machine leanring
PPTX
AI: Planning and AI
PPTX
AI: Logic in AI 2
PPTX
AI: Logic in AI
PPTX
AI: Learning in AI 2
PPTX
AI: Learning in AI
PPTX
AI: Introduction to artificial intelligence
PPTX
AI: Belief Networks
PPTX
AI: AI & Searching
PPTX
AI: AI & Problem Solving
PPTX
Data Mining: Text and web mining
PPTX
Data Mining: Outlier analysis
PPTX
Data Mining: Mining stream time series and sequence data
PPTX
Data Mining: Mining ,associations, and correlations
PPTX
Data Mining: Graph mining and social network analysis
PPTX
Data warehouse and olap technology
PPTX
Data Mining: Data processing
Terminology Machine Learning
Techniques Machine Learning
Machine learning Introduction
Areas of machine leanring
AI: Planning and AI
AI: Logic in AI 2
AI: Logic in AI
AI: Learning in AI 2
AI: Learning in AI
AI: Introduction to artificial intelligence
AI: Belief Networks
AI: AI & Searching
AI: AI & Problem Solving
Data Mining: Text and web mining
Data Mining: Outlier analysis
Data Mining: Mining stream time series and sequence data
Data Mining: Mining ,associations, and correlations
Data Mining: Graph mining and social network analysis
Data warehouse and olap technology
Data Mining: Data processing

Recently uploaded (20)

PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Machine Learning_overview_presentation.pptx
PDF
Approach and Philosophy of On baking technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
August Patch Tuesday
PDF
Mushroom cultivation and it's methods.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPT
Teaching material agriculture food technology
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
OMC Textile Division Presentation 2021.pptx
Network Security Unit 5.pdf for BCA BBA.
Machine Learning_overview_presentation.pptx
Approach and Philosophy of On baking technology
MIND Revenue Release Quarter 2 2025 Press Release
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Encapsulation_ Review paper, used for researhc scholars
Unlocking AI with Model Context Protocol (MCP)
August Patch Tuesday
Mushroom cultivation and it's methods.pdf
Spectroscopy.pptx food analysis technology
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Mobile App Security Testing_ A Comprehensive Guide.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
Empathic Computing: Creating Shared Understanding
Teaching material agriculture food technology
Univ-Connecticut-ChatGPT-Presentaion.pdf
A comparative analysis of optical character recognition models for extracting...
Assigned Numbers - 2025 - Bluetooth® Document

Matlab Working With Images

  • 2. Types of imagesBinary imageGrayscale imagesIndexed imageRGB image
  • 3. Binary ImagesBinary images are made of only two colors: Black and White
  • 4. Grayscale ImagesA grayscale image is a data matrix whose values represent intensities within some range.
  • 5. Indexed ImagesIn an Indexed Image, the color of each image pixel is determined by using the corresponding value of X as an index into map.
  • 6. RGB ImagesAn RGB image is stored as an m*n*3 data array that defines red, green, and blue color components for each individual pixel.
  • 7. ConvertingMatalb 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.
  • 8. ConvertingMatalb 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.
  • 9. ConvertingMatalb 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.
  • 10. ViewingThe following set of commands will read an image and display it:IMAGE=imread(‘image1.jpg’);
  • 11. imshow(IMAGE);Pixel-valuesThe 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’);
  • 13. impixelinfo;Measuring the Distance Between Two PixelsThe 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’);
  • 14. imtool(IMAGE);Cropping an imageAn image can be cropped by opening the image in ‘imtool’ and using the ‘crop’ tool:IMAGE=imread(‘image1.jpg’);
  • 15. imtool(IMAGE);Cropping an imageAn image can be cropped by opening the image in ‘imtool’ and using the ‘crop’ tool:IMAGE=imread(‘image1.jpg’);
  • 16. imtool(IMAGE);Visit more self help tutorialsPick 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