SlideShare a Scribd company logo
1 of 15
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: ,[object Object]
imshow(IMAGE);,[object Object]
imshow(IMAGE);
impixelinfo;,[object Object]
imtool(IMAGE);,[object Object]
imtool(IMAGE);,[object Object]

More Related Content

What's hot

Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
Samir Sabry
 
Image proceesing with matlab
Image proceesing with matlabImage proceesing with matlab
Image proceesing with matlab
Ashutosh Shahi
 

What's hot (20)

Matlab and Image Processing Workshop-SKERG
Matlab and Image Processing Workshop-SKERG Matlab and Image Processing Workshop-SKERG
Matlab and Image Processing Workshop-SKERG
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Image Processing Basics
Image Processing BasicsImage Processing Basics
Image Processing Basics
 
ImageProcessing10-Segmentation(Thresholding) (1).ppt
ImageProcessing10-Segmentation(Thresholding) (1).pptImageProcessing10-Segmentation(Thresholding) (1).ppt
ImageProcessing10-Segmentation(Thresholding) (1).ppt
 
Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)Lecture 1 for Digital Image Processing (2nd Edition)
Lecture 1 for Digital Image Processing (2nd Edition)
 
01 introduction image processing analysis
01 introduction image processing analysis01 introduction image processing analysis
01 introduction image processing analysis
 
Image proceesing with matlab
Image proceesing with matlabImage proceesing with matlab
Image proceesing with matlab
 
Cse image processing ppt
Cse image processing pptCse image processing ppt
Cse image processing ppt
 
Fundamental Steps of Digital Image Processing & Image Components
Fundamental Steps of Digital Image Processing & Image ComponentsFundamental Steps of Digital Image Processing & Image Components
Fundamental Steps of Digital Image Processing & Image Components
 
Unit 1
Unit 1Unit 1
Unit 1
 
OpenCV presentation series- part 1
OpenCV presentation series- part 1OpenCV presentation series- part 1
OpenCV presentation series- part 1
 
Introduction in Image Processing Matlab Toolbox
Introduction in Image Processing Matlab ToolboxIntroduction in Image Processing Matlab Toolbox
Introduction in Image Processing Matlab Toolbox
 
Fundamentals of Image Processing & Computer Vision with MATLAB
Fundamentals of Image Processing & Computer Vision with MATLABFundamentals of Image Processing & Computer Vision with MATLAB
Fundamentals of Image Processing & Computer Vision with MATLAB
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image compression .
Image compression .Image compression .
Image compression .
 
Digital Image Processing: Image Enhancement in the Spatial Domain
Digital Image Processing: Image Enhancement in the Spatial DomainDigital Image Processing: Image Enhancement in the Spatial Domain
Digital Image Processing: Image Enhancement in the Spatial Domain
 
Digital Image Processing: An Introduction
Digital Image Processing: An IntroductionDigital Image Processing: An Introduction
Digital Image Processing: An Introduction
 
Application of image processing
Application of image processingApplication of image processing
Application of image processing
 
Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filtering
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 

Viewers also liked

Image segmentation 3 morphology
Image segmentation 3 morphologyImage segmentation 3 morphology
Image segmentation 3 morphology
Rumah Belajar
 
Ireland Apo University Fy 10 Tibbs Slideshare
Ireland Apo University Fy 10 Tibbs SlideshareIreland Apo University Fy 10 Tibbs Slideshare
Ireland Apo University Fy 10 Tibbs Slideshare
Tibbs Pereira
 

Viewers also liked (20)

Qubit Systems Inc. & Photon Systems Inc.
Qubit Systems Inc. & Photon Systems Inc.Qubit Systems Inc. & Photon Systems Inc.
Qubit Systems Inc. & Photon Systems Inc.
 
Sensor-based phenotyping technology facilitates science and breeding
Sensor-based phenotyping technology facilitates science and breeding Sensor-based phenotyping technology facilitates science and breeding
Sensor-based phenotyping technology facilitates science and breeding
 
Plant Phenotyping, a new scientific discipline to quantify plant traits
Plant Phenotyping, a new scientific discipline to quantify plant traitsPlant Phenotyping, a new scientific discipline to quantify plant traits
Plant Phenotyping, a new scientific discipline to quantify plant traits
 
Matlab
MatlabMatlab
Matlab
 
New remote and proximal sensing methodologies in high throughput field phenot...
New remote and proximal sensing methodologies in high throughput field phenot...New remote and proximal sensing methodologies in high throughput field phenot...
New remote and proximal sensing methodologies in high throughput field phenot...
 
Digital image processing ppt
Digital image processing pptDigital image processing ppt
Digital image processing ppt
 
Advanced radiographic aids in periodontics
Advanced radiographic aids in periodonticsAdvanced radiographic aids in periodontics
Advanced radiographic aids in periodontics
 
Plant Disease Detection Using I.T.
Plant Disease Detection Using I.T.Plant Disease Detection Using I.T.
Plant Disease Detection Using I.T.
 
Image segmentation 3 morphology
Image segmentation 3 morphologyImage segmentation 3 morphology
Image segmentation 3 morphology
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
morphological image processing
morphological image processingmorphological image processing
morphological image processing
 
Introduction to Data-Applied
Introduction to Data-AppliedIntroduction to Data-Applied
Introduction to Data-Applied
 
Vision To Profit V2 Sept 2009
Vision To Profit V2 Sept 2009Vision To Profit V2 Sept 2009
Vision To Profit V2 Sept 2009
 
WEKA: Credibility Evaluating Whats Been Learned
WEKA: Credibility Evaluating Whats Been LearnedWEKA: Credibility Evaluating Whats Been Learned
WEKA: Credibility Evaluating Whats Been Learned
 
Graph Plots in Matlab
Graph Plots in MatlabGraph Plots in Matlab
Graph Plots in Matlab
 
Welcome
WelcomeWelcome
Welcome
 
XL-Miner: Timeseries
XL-Miner: TimeseriesXL-Miner: Timeseries
XL-Miner: Timeseries
 
Ireland Apo University Fy 10 Tibbs Slideshare
Ireland Apo University Fy 10 Tibbs SlideshareIreland Apo University Fy 10 Tibbs Slideshare
Ireland Apo University Fy 10 Tibbs Slideshare
 
SPSS: Data Editor
SPSS: Data EditorSPSS: Data Editor
SPSS: Data Editor
 
Ccc
CccCcc
Ccc
 

Similar to Matlab Working With Images

Image processing tool box.pptx
Image processing tool box.pptxImage processing tool box.pptx
Image processing tool box.pptx
AvinashJain66
 
Image processing with matlab
Image processing with matlabImage processing with matlab
Image processing with matlab
neetirajsinh
 
Matlab intro
Matlab introMatlab intro
Matlab intro
fvijayami
 

Similar to Matlab Working With Images (20)

Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Image processing for robotics
Image processing for roboticsImage processing for robotics
Image processing for robotics
 
Image Processing Using MATLAB
Image Processing Using MATLABImage Processing Using MATLAB
Image Processing Using MATLAB
 
Matlab practical ---2.pdf
Matlab practical ---2.pdfMatlab practical ---2.pdf
Matlab practical ---2.pdf
 
Image processing
Image processingImage processing
Image processing
 
Ec section
Ec section Ec section
Ec section
 
Image processing
Image processingImage processing
Image processing
 
Image_Processing_LECTURE_c#_programming.ppt
Image_Processing_LECTURE_c#_programming.pptImage_Processing_LECTURE_c#_programming.ppt
Image_Processing_LECTURE_c#_programming.ppt
 
Performance Anaysis for Imaging System
Performance Anaysis for Imaging SystemPerformance Anaysis for Imaging System
Performance Anaysis for Imaging System
 
Ch6
Ch6Ch6
Ch6
 
Ch06
Ch06Ch06
Ch06
 
Image processing tool box.pptx
Image processing tool box.pptxImage processing tool box.pptx
Image processing tool box.pptx
 
Sec 2.pptx
Sec 2.pptxSec 2.pptx
Sec 2.pptx
 
PC 8 - Matlab
PC 8 - MatlabPC 8 - Matlab
PC 8 - Matlab
 
Image processing with matlab
Image processing with matlabImage processing with matlab
Image processing with matlab
 
Dital Image Processing (Lab 2+3+4)
Dital Image Processing (Lab 2+3+4)Dital Image Processing (Lab 2+3+4)
Dital Image Processing (Lab 2+3+4)
 
Image enhancement lecture
Image enhancement lectureImage enhancement lecture
Image enhancement lecture
 
Matlab intro
Matlab introMatlab intro
Matlab intro
 
IJ-M&M08.ppt
IJ-M&M08.pptIJ-M&M08.ppt
IJ-M&M08.ppt
 
Topic 1_PPT.pptx
Topic 1_PPT.pptxTopic 1_PPT.pptx
Topic 1_PPT.pptx
 

More from DataminingTools Inc

More from DataminingTools Inc (20)

Terminology Machine Learning
Terminology Machine LearningTerminology Machine Learning
Terminology Machine Learning
 
Techniques Machine Learning
Techniques Machine LearningTechniques Machine Learning
Techniques Machine Learning
 
Machine learning Introduction
Machine learning IntroductionMachine learning Introduction
Machine learning Introduction
 
Areas of machine leanring
Areas of machine leanringAreas of machine leanring
Areas of machine leanring
 
AI: Planning and AI
AI: Planning and AIAI: Planning and AI
AI: Planning and AI
 
AI: Logic in AI 2
AI: Logic in AI 2AI: Logic in AI 2
AI: Logic in AI 2
 
AI: Logic in AI
AI: Logic in AIAI: Logic in AI
AI: Logic in AI
 
AI: Learning in AI 2
AI: Learning in AI 2AI: Learning in AI 2
AI: Learning in AI 2
 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
AI: Introduction to artificial intelligence
AI: Introduction to artificial intelligenceAI: Introduction to artificial intelligence
AI: Introduction to artificial intelligence
 
AI: Belief Networks
AI: Belief NetworksAI: Belief Networks
AI: Belief Networks
 
AI: AI & Searching
AI: AI & SearchingAI: AI & Searching
AI: AI & Searching
 
AI: AI & Problem Solving
AI: AI & Problem SolvingAI: AI & Problem Solving
AI: AI & Problem Solving
 
Data Mining: Text and web mining
Data Mining: Text and web miningData Mining: Text and web mining
Data Mining: Text and web mining
 
Data Mining: Outlier analysis
Data Mining: Outlier analysisData Mining: Outlier analysis
Data Mining: Outlier analysis
 
Data Mining: Mining stream time series and sequence data
Data Mining: Mining stream time series and sequence dataData Mining: Mining stream time series and sequence data
Data Mining: Mining stream time series and sequence data
 
Data Mining: Mining ,associations, and correlations
Data Mining: Mining ,associations, and correlationsData Mining: Mining ,associations, and correlations
Data Mining: Mining ,associations, and correlations
 
Data Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysisData Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysis
 
Data warehouse and olap technology
Data warehouse and olap technologyData warehouse and olap technology
Data warehouse and olap technology
 
Data Mining: Data processing
Data Mining: Data processingData Mining: Data processing
Data Mining: Data processing
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 

Recently uploaded (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 

Matlab Working With Images

  • 2. Types of images Binary image Grayscale images Indexed image RGB image
  • 3. Binary Images Binary images are made of only two colors: Black and White
  • 4. Grayscale Images A grayscale image is a data matrix whose values represent intensities within some range.
  • 5. 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.
  • 6. 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.
  • 7. 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.
  • 8. 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.
  • 9. 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.
  • 10.
  • 11.
  • 13.
  • 14.
  • 15.
  • 16.