SlideShare a Scribd company logo
1 of 25
IMAGE REPRESENTATION
Dr. S. SHAJUN NISHA, M.C.A., M.Phil., M.Tech., M.B.A., Ph.D.,
Assistant Professor and Head,
PG and Research Department of Computer Science,
Sadakathullah Appa College,
Tirunelveli- 627011.
Digital Images
• 2D array of numbers – representing
intensity.
• Numbers stored as bits.
• Generally used – 8 bit/pixel for Gray Scale
Images, 24 bit/pixel for Color
Images.
What is a digital image?
The image can now be represented as a matrix
of integer values
How are images represented
in the computer?
Color images
Digital Image Representation
• An image may be defined as a two-dimensional function f
(x,y), where x and y are spatial (plane) coordinates, and the
amplitude of f at any pair of coordinates is called the
intensity of the image at that point.
• The term gray level is used often to refer to the intensity of
monochrome images. Color images are formed by a
combination of individual images.
• For example, in the RGB color system a color image consists
of three individual monochrome images, referred to as the red
(R), green (G), and blue (B) primary (or component) images.
Contd..
• An image may be continuous with respect to the x- and y-
coordinates, and also in amplitude.
• Converting such an image to digital form requires that the
coordinates, as well as the amplitude, be digitized.
• Digitizing the coordinate values is called sampling;
• Digitizing the amplitude values is called quantization.
• Thus, when x, y, and the amplitude values of f are all
finite, discrete quantities, we call the image a digital
image.
Image processing
 An image processing operation typically defines a new
image g in terms of an existing image f.
 We can transform either the range of f.
 Or the domain of f:
 What kinds of operations can each perform?
Image digitization
 Sampling means measuring the value of an image at a finite number of points.
 Quantization is the representation of the measured value at the sampled point by
an integer.
Image quantization(example)
• 256 gray levels (8bits/pixel) 32 gray levels (5 bits/pixel) 16 gray levels (4 bits/pixel)
• 8 gray levels (3 bits/pixel) 4 gray levels (2 bits/pixel) 2 gray levels (1 bit/pixel)
Image sampling (example)
original image sampled by a factor of 2
sampled by a factor of 4 sampled by a factor of 8
Coordinate Conventions
Images as Matrices
The right side of this equation is a digital image by definition. Each element of
this array is called an image element, picture element, pixel, or pel. The terms
image and pixel are used throughout the rest of our discussions to denote a
digital image and its elements.
A digital image can be represented as a MATLAB matrix:
Classes
Image Types
• The toolbox supports four types of images:
Gray-scale images
Binary images
Indexed images
RGB images
• Most monochrome image processing operations are carried out
using binary or gray-scale images, so our initial focus is on
these two image types.
Gray-scale Images:
• A gray-scale image is a data matrix whose values
represent shades of gray.
• When the elements of a gray-scale image are of class
uint8 or uint16, they have integer values in the range
[0, 255] or [0, 65535], respectively.
• If the image is of class double or single, the values
are floating-point numbers (see the first two entries in
Table 2.3).
• Values of double and single gray-scale images
Binary images
• A binary image is a logical array of 0s and 1s. Thus, an array
of 0s and 1s whose values are of data class, say, uint8, is not
considered a binary image in MATLAB.
• A numeric array is converted to binary using function logical.
Thus, if A is a numeric array consisting of 0s and 1s, we create
a logical array B using the statement
B = logical(A)
• If A contains elements other than 0s and 1s, the logical
function converts all nonzero quantities to logical 1s and all
entries with value 0 to logical 0s.
• To test if an array is of class logical we use the islogical
function:
islogical(C)
• If C is a logical array, this function returns a 1. Otherwise it
returns a 0.
• Logical arrays can be converted to numeric arrays using the
class conversion functions
Class Conversion Functions
• Converting images from one class to another is a common
operation. When converting between classes, keep in mind the
value ranges of the classes being converted.
• The general syntax for class conversion is
B = class_name(A)
• where class_name refers to double, single, uint8 etc…
• The toolbox provides specific functions that perform the
scaling and other bookkeeping necessary to convert images
from one class to another.
f =
− 0.5 0.5
0.75 1.5
Performing the conversion
>> g = im2uint8(f)
yields the result
g =
0 128
What is DIP? (cont…)
•The continuum from image processing to
computer vision can be broken up into low-,
mid- and high-level processesLow Level Process
Input: Image
Output: Image
Examples: Noise
removal, image
sharpening
Mid Level Process
Input: Image
Output: Attributes
Examples: Object
recognition,
segmentation
High Level Process
Input: Attributes
Output: Understanding
Examples: Scene
understanding,
autonomous navigation
In this course we will
stop here
IP Types
IMAGE in IMAGE out
• Restoration
• Enhancement
• Compresion
IMAGE in ATTRIBUTES out
• Edge Detection
• Contours
• Segmentation
• Classification
• Identifying individual objects
HIGH LEVEL
•Image Analysis
Challenges(Tasks) in Image Processing
 Image Enhancement
 Image Restoration(Noise Removal)
 Image Segmentation
 Image Classification
 Edge Detection
 Shape Representation and Description
 Object Recognition
 Image Understanding – retrieving required information from an image.
 Data Compression
 Motion Analysis
 Texture Analysis
 Etc
Towards image understanding
john@hulskamp.com.au 24
• Computer Vision: making useful decisions about real physical objects and scenes based on sensed images
• To get to that understanding we need to process images: hence Image Processing is a step towards this
understanding
• Image Processing issues:
– Image Statistics & Histograms
– Image Enhancement
– Image Restoration
– Image Analysis: Edge Detection & Feature extraction
– Representation & Description
– Pattern Recognition
IP Domains
Spatial (Time) Domain
Analysis
Frequency Domain
Analysis
Wavelet And
Multiresolution
Process
Morphological IP
1. Image Enhancement
2. Image Restoration
3. Image Compression
4. Image Segmentation
1. Image Matching
2. Registration
3. Edge Detection
4. etc
1. Edge Detection
2. Region Filling
3. Thinning
4. Thickening
5. Pruning
6. etc

More Related Content

What's hot

Image colorization
Image colorizationImage colorization
Image colorizationPankti Fadia
 
ImageProcessingWithMatlab(HasithaEdiriweera)
ImageProcessingWithMatlab(HasithaEdiriweera)ImageProcessingWithMatlab(HasithaEdiriweera)
ImageProcessingWithMatlab(HasithaEdiriweera)Hasitha Ediriweera
 
Final Report for project
Final Report for projectFinal Report for project
Final Report for projectRajarshi Roy
 
Basics of Image Processing using MATLAB
Basics of Image Processing using MATLABBasics of Image Processing using MATLAB
Basics of Image Processing using MATLABvkn13
 
Image processing with matlab
Image processing with matlabImage processing with matlab
Image processing with matlabneetirajsinh
 
Image Matting Using Linear Optimization
Image Matting Using Linear OptimizationImage Matting Using Linear Optimization
Image Matting Using Linear OptimizationConrad Triquell
 
Matlab and Image Processing Workshop-SKERG
Matlab and Image Processing Workshop-SKERG Matlab and Image Processing Workshop-SKERG
Matlab and Image Processing Workshop-SKERG Sulaf Almagooshi
 
Digital image processing lab 1
Digital image processing lab 1Digital image processing lab 1
Digital image processing lab 1Moe Moe Myint
 
Image processing basics using matlab
Image processing basics using matlabImage processing basics using matlab
Image processing basics using matlabAnkur Tyagi
 
Digital Image Processing (Lab 09 and 10)
Digital Image Processing (Lab 09 and 10)Digital Image Processing (Lab 09 and 10)
Digital Image Processing (Lab 09 and 10)Moe Moe Myint
 
COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I Hemantha Kulathilake
 
Interpolation Technique using Non Linear Partial Differential Equation with E...
Interpolation Technique using Non Linear Partial Differential Equation with E...Interpolation Technique using Non Linear Partial Differential Equation with E...
Interpolation Technique using Non Linear Partial Differential Equation with E...CSCJournals
 
Working with images in matlab graphics
Working with images in matlab graphicsWorking with images in matlab graphics
Working with images in matlab graphicsmustafa_92
 
Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)Moe Moe Myint
 

What's hot (20)

Image colorization
Image colorizationImage colorization
Image colorization
 
ImageProcessingWithMatlab(HasithaEdiriweera)
ImageProcessingWithMatlab(HasithaEdiriweera)ImageProcessingWithMatlab(HasithaEdiriweera)
ImageProcessingWithMatlab(HasithaEdiriweera)
 
Final Report for project
Final Report for projectFinal Report for project
Final Report for project
 
Matlab
MatlabMatlab
Matlab
 
Basics of Image Processing using MATLAB
Basics of Image Processing using MATLABBasics of Image Processing using MATLAB
Basics of Image Processing using MATLAB
 
Image processing with matlab
Image processing with matlabImage processing with matlab
Image processing with matlab
 
Image processing
Image processingImage processing
Image processing
 
Image Matting Using Linear Optimization
Image Matting Using Linear OptimizationImage Matting Using Linear Optimization
Image Matting Using Linear Optimization
 
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 lab 1
Digital image processing lab 1Digital image processing lab 1
Digital image processing lab 1
 
Image processing basics using matlab
Image processing basics using matlabImage processing basics using matlab
Image processing basics using matlab
 
Digital Image Processing (Lab 09 and 10)
Digital Image Processing (Lab 09 and 10)Digital Image Processing (Lab 09 and 10)
Digital Image Processing (Lab 09 and 10)
 
COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I
 
Interpolation Technique using Non Linear Partial Differential Equation with E...
Interpolation Technique using Non Linear Partial Differential Equation with E...Interpolation Technique using Non Linear Partial Differential Equation with E...
Interpolation Technique using Non Linear Partial Differential Equation with E...
 
PPT s08-machine vision-s2
PPT s08-machine vision-s2PPT s08-machine vision-s2
PPT s08-machine vision-s2
 
Local binary pattern
Local binary patternLocal binary pattern
Local binary pattern
 
Working with images in matlab graphics
Working with images in matlab graphicsWorking with images in matlab graphics
Working with images in matlab graphics
 
Basic graphic bi_
Basic graphic bi_Basic graphic bi_
Basic graphic bi_
 
Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)Digital Image Processing (Lab 05)
Digital Image Processing (Lab 05)
 
4 image enhancement in spatial domain
4 image enhancement in spatial domain4 image enhancement in spatial domain
4 image enhancement in spatial domain
 

Similar to Dip digital image 3

DIP Notes Unit-1 PPT.pdf
DIP Notes Unit-1 PPT.pdfDIP Notes Unit-1 PPT.pdf
DIP Notes Unit-1 PPT.pdfGaurav Sharma
 
DIP Notes Unit-1 PPT , engineering, computer Science
DIP Notes Unit-1 PPT , engineering, computer ScienceDIP Notes Unit-1 PPT , engineering, computer Science
DIP Notes Unit-1 PPT , engineering, computer Sciencebaaburao4200
 
Ch2
Ch2Ch2
Ch2teba
 
Image enhancement ppt nal2
Image enhancement ppt nal2Image enhancement ppt nal2
Image enhancement ppt nal2Surabhi Ks
 
Image processing tool box.pptx
Image processing tool box.pptxImage processing tool box.pptx
Image processing tool box.pptxAvinashJain66
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit NotesAAKANKSHA JAIN
 
Image enhancement lecture
Image enhancement lectureImage enhancement lecture
Image enhancement lectureISRAR HUSSAIN
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfnagwaAboElenein
 
Image enhancement
Image enhancementImage enhancement
Image enhancementKuppusamy P
 
computervision1.pdf it is about computer vision
computervision1.pdf it is about computer visioncomputervision1.pdf it is about computer vision
computervision1.pdf it is about computer visionshesnasuneer
 
Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)RagavanK6
 

Similar to Dip digital image 3 (20)

DIP Notes Unit-1 PPT.pdf
DIP Notes Unit-1 PPT.pdfDIP Notes Unit-1 PPT.pdf
DIP Notes Unit-1 PPT.pdf
 
DIP Notes Unit-1 PPT , engineering, computer Science
DIP Notes Unit-1 PPT , engineering, computer ScienceDIP Notes Unit-1 PPT , engineering, computer Science
DIP Notes Unit-1 PPT , engineering, computer Science
 
ImSeg04.ppt
ImSeg04.pptImSeg04.ppt
ImSeg04.ppt
 
Im seg04
Im seg04Im seg04
Im seg04
 
ImSeg04 (2).ppt
ImSeg04 (2).pptImSeg04 (2).ppt
ImSeg04 (2).ppt
 
Dip day1&2
Dip day1&2Dip day1&2
Dip day1&2
 
Chapter-1.pptx
Chapter-1.pptxChapter-1.pptx
Chapter-1.pptx
 
Ch2
Ch2Ch2
Ch2
 
ACMP340.pptx
ACMP340.pptxACMP340.pptx
ACMP340.pptx
 
Image enhancement ppt nal2
Image enhancement ppt nal2Image enhancement ppt nal2
Image enhancement ppt nal2
 
h.pdf
h.pdfh.pdf
h.pdf
 
Image processing tool box.pptx
Image processing tool box.pptxImage processing tool box.pptx
Image processing tool box.pptx
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Image enhancement lecture
Image enhancement lectureImage enhancement lecture
Image enhancement lecture
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Image & Graphics
Image & GraphicsImage & Graphics
Image & Graphics
 
Image processing in MATLAB
Image processing in MATLABImage processing in MATLAB
Image processing in MATLAB
 
computervision1.pdf it is about computer vision
computervision1.pdf it is about computer visioncomputervision1.pdf it is about computer vision
computervision1.pdf it is about computer vision
 
Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)
 

More from Shajun Nisha

Google meet and its extensions sac
Google meet and its extensions sacGoogle meet and its extensions sac
Google meet and its extensions sacShajun Nisha
 
Dip fundamentals 2
Dip fundamentals 2Dip fundamentals 2
Dip fundamentals 2Shajun Nisha
 
25 environmental ethics intellectual property rights
25 environmental ethics intellectual property rights25 environmental ethics intellectual property rights
25 environmental ethics intellectual property rightsShajun Nisha
 
Linear regression in machine learning
Linear regression in machine learningLinear regression in machine learning
Linear regression in machine learningShajun Nisha
 
Basics of research in research methodology
Basics of research in research methodologyBasics of research in research methodology
Basics of research in research methodologyShajun Nisha
 
Auto encoders in Deep Learning
Auto encoders in Deep LearningAuto encoders in Deep Learning
Auto encoders in Deep LearningShajun Nisha
 
Teaching Aptitude in Research Methodology
Teaching Aptitude in Research MethodologyTeaching Aptitude in Research Methodology
Teaching Aptitude in Research MethodologyShajun Nisha
 
Perceptron and Sigmoid Neurons
Perceptron and Sigmoid NeuronsPerceptron and Sigmoid Neurons
Perceptron and Sigmoid NeuronsShajun Nisha
 
Mc Culloch Pitts Neuron
Mc Culloch Pitts NeuronMc Culloch Pitts Neuron
Mc Culloch Pitts NeuronShajun Nisha
 
Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringShajun Nisha
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Shajun Nisha
 
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)Shajun Nisha
 
Image processing lab work
Image processing lab workImage processing lab work
Image processing lab workShajun Nisha
 
introduction to cloud computing
 introduction to cloud computing introduction to cloud computing
introduction to cloud computingShajun Nisha
 
online learning NPTEL
online learning NPTELonline learning NPTEL
online learning NPTELShajun Nisha
 

More from Shajun Nisha (18)

Google meet and its extensions sac
Google meet and its extensions sacGoogle meet and its extensions sac
Google meet and its extensions sac
 
Dip syntax 4
Dip syntax 4Dip syntax 4
Dip syntax 4
 
Dip fundamentals 2
Dip fundamentals 2Dip fundamentals 2
Dip fundamentals 2
 
Dip application 1
Dip application 1Dip application 1
Dip application 1
 
ICT tools
ICT  toolsICT  tools
ICT tools
 
25 environmental ethics intellectual property rights
25 environmental ethics intellectual property rights25 environmental ethics intellectual property rights
25 environmental ethics intellectual property rights
 
Linear regression in machine learning
Linear regression in machine learningLinear regression in machine learning
Linear regression in machine learning
 
Basics of research in research methodology
Basics of research in research methodologyBasics of research in research methodology
Basics of research in research methodology
 
Auto encoders in Deep Learning
Auto encoders in Deep LearningAuto encoders in Deep Learning
Auto encoders in Deep Learning
 
Teaching Aptitude in Research Methodology
Teaching Aptitude in Research MethodologyTeaching Aptitude in Research Methodology
Teaching Aptitude in Research Methodology
 
Perceptron and Sigmoid Neurons
Perceptron and Sigmoid NeuronsPerceptron and Sigmoid Neurons
Perceptron and Sigmoid Neurons
 
Mc Culloch Pitts Neuron
Mc Culloch Pitts NeuronMc Culloch Pitts Neuron
Mc Culloch Pitts Neuron
 
Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filtering
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
 
Image processing lab work
Image processing lab workImage processing lab work
Image processing lab work
 
introduction to cloud computing
 introduction to cloud computing introduction to cloud computing
introduction to cloud computing
 
online learning NPTEL
online learning NPTELonline learning NPTEL
online learning NPTEL
 

Recently uploaded

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Recently uploaded (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

Dip digital image 3

  • 1. IMAGE REPRESENTATION Dr. S. SHAJUN NISHA, M.C.A., M.Phil., M.Tech., M.B.A., Ph.D., Assistant Professor and Head, PG and Research Department of Computer Science, Sadakathullah Appa College, Tirunelveli- 627011.
  • 2. Digital Images • 2D array of numbers – representing intensity. • Numbers stored as bits. • Generally used – 8 bit/pixel for Gray Scale Images, 24 bit/pixel for Color Images.
  • 3. What is a digital image? The image can now be represented as a matrix of integer values
  • 4. How are images represented in the computer?
  • 6. Digital Image Representation • An image may be defined as a two-dimensional function f (x,y), where x and y are spatial (plane) coordinates, and the amplitude of f at any pair of coordinates is called the intensity of the image at that point. • The term gray level is used often to refer to the intensity of monochrome images. Color images are formed by a combination of individual images. • For example, in the RGB color system a color image consists of three individual monochrome images, referred to as the red (R), green (G), and blue (B) primary (or component) images.
  • 7. Contd.. • An image may be continuous with respect to the x- and y- coordinates, and also in amplitude. • Converting such an image to digital form requires that the coordinates, as well as the amplitude, be digitized. • Digitizing the coordinate values is called sampling; • Digitizing the amplitude values is called quantization. • Thus, when x, y, and the amplitude values of f are all finite, discrete quantities, we call the image a digital image.
  • 8. Image processing  An image processing operation typically defines a new image g in terms of an existing image f.  We can transform either the range of f.  Or the domain of f:  What kinds of operations can each perform?
  • 9. Image digitization  Sampling means measuring the value of an image at a finite number of points.  Quantization is the representation of the measured value at the sampled point by an integer.
  • 10. Image quantization(example) • 256 gray levels (8bits/pixel) 32 gray levels (5 bits/pixel) 16 gray levels (4 bits/pixel) • 8 gray levels (3 bits/pixel) 4 gray levels (2 bits/pixel) 2 gray levels (1 bit/pixel)
  • 11. Image sampling (example) original image sampled by a factor of 2 sampled by a factor of 4 sampled by a factor of 8
  • 13. Images as Matrices The right side of this equation is a digital image by definition. Each element of this array is called an image element, picture element, pixel, or pel. The terms image and pixel are used throughout the rest of our discussions to denote a digital image and its elements. A digital image can be represented as a MATLAB matrix:
  • 15. Image Types • The toolbox supports four types of images: Gray-scale images Binary images Indexed images RGB images • Most monochrome image processing operations are carried out using binary or gray-scale images, so our initial focus is on these two image types.
  • 16. Gray-scale Images: • A gray-scale image is a data matrix whose values represent shades of gray. • When the elements of a gray-scale image are of class uint8 or uint16, they have integer values in the range [0, 255] or [0, 65535], respectively. • If the image is of class double or single, the values are floating-point numbers (see the first two entries in Table 2.3). • Values of double and single gray-scale images
  • 17. Binary images • A binary image is a logical array of 0s and 1s. Thus, an array of 0s and 1s whose values are of data class, say, uint8, is not considered a binary image in MATLAB. • A numeric array is converted to binary using function logical. Thus, if A is a numeric array consisting of 0s and 1s, we create a logical array B using the statement B = logical(A) • If A contains elements other than 0s and 1s, the logical function converts all nonzero quantities to logical 1s and all entries with value 0 to logical 0s.
  • 18. • To test if an array is of class logical we use the islogical function: islogical(C) • If C is a logical array, this function returns a 1. Otherwise it returns a 0. • Logical arrays can be converted to numeric arrays using the class conversion functions
  • 19. Class Conversion Functions • Converting images from one class to another is a common operation. When converting between classes, keep in mind the value ranges of the classes being converted. • The general syntax for class conversion is B = class_name(A) • where class_name refers to double, single, uint8 etc… • The toolbox provides specific functions that perform the scaling and other bookkeeping necessary to convert images from one class to another.
  • 20. f = − 0.5 0.5 0.75 1.5 Performing the conversion >> g = im2uint8(f) yields the result g = 0 128
  • 21. What is DIP? (cont…) •The continuum from image processing to computer vision can be broken up into low-, mid- and high-level processesLow Level Process Input: Image Output: Image Examples: Noise removal, image sharpening Mid Level Process Input: Image Output: Attributes Examples: Object recognition, segmentation High Level Process Input: Attributes Output: Understanding Examples: Scene understanding, autonomous navigation In this course we will stop here
  • 22. IP Types IMAGE in IMAGE out • Restoration • Enhancement • Compresion IMAGE in ATTRIBUTES out • Edge Detection • Contours • Segmentation • Classification • Identifying individual objects HIGH LEVEL •Image Analysis
  • 23. Challenges(Tasks) in Image Processing  Image Enhancement  Image Restoration(Noise Removal)  Image Segmentation  Image Classification  Edge Detection  Shape Representation and Description  Object Recognition  Image Understanding – retrieving required information from an image.  Data Compression  Motion Analysis  Texture Analysis  Etc
  • 24. Towards image understanding john@hulskamp.com.au 24 • Computer Vision: making useful decisions about real physical objects and scenes based on sensed images • To get to that understanding we need to process images: hence Image Processing is a step towards this understanding • Image Processing issues: – Image Statistics & Histograms – Image Enhancement – Image Restoration – Image Analysis: Edge Detection & Feature extraction – Representation & Description – Pattern Recognition
  • 25. IP Domains Spatial (Time) Domain Analysis Frequency Domain Analysis Wavelet And Multiresolution Process Morphological IP 1. Image Enhancement 2. Image Restoration 3. Image Compression 4. Image Segmentation 1. Image Matching 2. Registration 3. Edge Detection 4. etc 1. Edge Detection 2. Region Filling 3. Thinning 4. Thickening 5. Pruning 6. etc