SlideShare a Scribd company logo
DIGITAL IMAGE
PROCESSING
CONNECTED
COMPONENT LABELING
ALGORITHM
Processing of Images which are Digital in nature by
means of Digital Computer
E
C
E
D
E
P
A
R
T
M
E
N
T
Connected Component Labeling
 Ability to assign different labels to various
disjoint component of an image is called
connected component labeling.
 This labeling is a fundamental step in
automated image analysis:
a) Shape
b) Area
c) Boundary
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 2
E
C
E
D
E
P
A
R
T
M
E
N
T
Basic Scanning Method
 Scan the image from left to right and top to
bottom.
 Assume 4-adjacency.
 Let p be a pixel at any step in the scanning
process.
 Before p the pixel r and t are scanned.
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 3
E
C
E
D
E
P
A
R
T
M
E
N
T
r
t p
Labeling Algorithm
 This algorithm makes two passes over the image:
1. The first pass to assign temporary labels and
record equivalence classes.
2. The second pass to replace each temporary
label by the smallest label of its equivalence
class.
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 4
E
C
E
D
E
P
A
R
T
M
E
N
T
Steps in First Pass
Conditions to check:
1. Does the pixel to the left (West) have the same value as
the current pixel?
Yes – We are in the same region. Assign the same
label to the current pixel
No – Check next condition
2. Do both pixels to the North and West of the current pixel
have the same value as the current pixel but not the same
label?
Yes –Assign the current pixel the minimum of the
North and West labels, and record their
equivalence relationship
No – Check next condition
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 5
E
C
E
D
E
P
A
R
T
M
E
N
T
Steps in First Pass..
3. Does the pixel to the left (West) have a different
value and the one to the North the same value
as the current pixel?
Yes – Assign the label of the North pixel to
the current pixel
No – Check next condition
4. Do the pixel's North and West neighbors have
different pixel values than current pixel?
Yes – Create a new label id and assign it to
the current pixel
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 6
E
C
E
D
E
P
A
R
T
M
E
N
T
Steps in Second Pass
 In the First pass we record some equivalence
relationships.
 In Second Pass:
1. Process Equivalence pairs to form
equivalent classes.
2. Re-label the element with the label
assigned to its equivalent classes.
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 7
E
C
E
D
E
P
A
R
T
M
E
N
T
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 8
E
C
E
D
E
P
A
R
T
M
E
N
T
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 9
E
C
E
D
E
P
A
R
T
M
E
N
T
1
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 10
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 11
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 12
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 13
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 14
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 15
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 16
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 17
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 18
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 (1,2) equivalent
relation
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 19
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 20
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 (3,4) equivalent
relation
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 21
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 22
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 23
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
1
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 24
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
1 1
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 25
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
1 1 3
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 26
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
1 1 3 3
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 27
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
1 1 3 3
5
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 28
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
1 1 3 3
5 1 (1,5) equivalent
relation
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 29
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
1 1 3 3
5 1 3
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 30
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
1 1 3 3
5 1 3 3
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 31
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
1 1 3 3
5 1 3 3 3
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 32
E
C
E
D
E
P
A
R
T
M
E
N
T
1 2
1 2 3 3
1 1 1 1 4 3 3 3
1 1 3 3
5 1 3 3 3
5
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 33
E
C
E
D
E
P
A
R
T
M
E
N
T
1 1
1 2 3 3
1 1 1 1 4 3 3 3
1 1 3 3
5 1 3 3 3
5
1<= 1,2,5
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 34
E
C
E
D
E
P
A
R
T
M
E
N
T
1 1
1 1 3 3
1 1 1 1 4 3 3 3
1 1 3 3
5 1 3 3 3
5
1<= 1,2,5
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 35
E
C
E
D
E
P
A
R
T
M
E
N
T
1 1
1 1 3 3
1 1 1 1 3 3 3 3
1 1 3 3
5 1 3 3 3
5
3<= 3,4
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 36
E
C
E
D
E
P
A
R
T
M
E
N
T
1 1
1 1 3 3
1 1 1 1 3 3 3 3
1 1 3 3
1 1 3 3 3
5
1<= 1,2,5
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 37
E
C
E
D
E
P
A
R
T
M
E
N
T
1 1
1 1 3 3
1 1 1 1 3 3 3 3
1 1 3 3
1 1 3 3 3
1 1<= 1,2,5
CENTURION INSTITUTE OF TECHNOLOGY, JATNI 38
E
C
E
D
E
P
A
R
T
M
E
N
T
1 1
1 1 3 3
1 1 1 1 3 3 3 3
1 1 3 3
1 1 3 3 3
1
Here we observed that the image contain two distinct class of regions

More Related Content

What's hot

Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
Ahmed Daoud
 
Operations in Digital Image Processing + Convolution by Example
Operations in Digital Image Processing + Convolution by ExampleOperations in Digital Image Processing + Convolution by Example
Operations in Digital Image Processing + Convolution by Example
Ahmed Gad
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfacesMohd Arif
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
SHIVANI SONI
 
Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)
RohitK71
 
Bit plane slicing
Bit plane slicingBit plane slicing
Bit plane slicing
Asad Ali
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
A B Shinde
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clipping
Mani Kanth
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
muthu181188
 
6 spatial filtering p2
6 spatial filtering p26 spatial filtering p2
6 spatial filtering p2Gichelle Amon
 
Morphological operations
Morphological operationsMorphological operations
Activation functions
Activation functionsActivation functions
Activation functions
PRATEEK SAHU
 
Computer animation
Computer animationComputer animation
Computer animation
shusrusha
 
Image Processing Basics
Image Processing BasicsImage Processing Basics
Image Processing Basics
A B Shinde
 
digital image processing, image processing
digital image processing, image processingdigital image processing, image processing
digital image processing, image processing
Kalyan Acharjya
 
The sutherland hodgeman polygon clipping algorithm
The sutherland hodgeman polygon clipping algorithmThe sutherland hodgeman polygon clipping algorithm
The sutherland hodgeman polygon clipping algorithm
Mani Kanth
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
Punyajoy Saha
 

What's hot (20)

Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Operations in Digital Image Processing + Convolution by Example
Operations in Digital Image Processing + Convolution by ExampleOperations in Digital Image Processing + Convolution by Example
Operations in Digital Image Processing + Convolution by Example
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
Histogram processing
Histogram processingHistogram processing
Histogram processing
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
 
Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)
 
Bit plane slicing
Bit plane slicingBit plane slicing
Bit plane slicing
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clipping
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
 
6 spatial filtering p2
6 spatial filtering p26 spatial filtering p2
6 spatial filtering p2
 
Morphological operations
Morphological operationsMorphological operations
Morphological operations
 
Ray tracing
 Ray tracing Ray tracing
Ray tracing
 
Activation functions
Activation functionsActivation functions
Activation functions
 
Computer animation
Computer animationComputer animation
Computer animation
 
Image Processing Basics
Image Processing BasicsImage Processing Basics
Image Processing Basics
 
digital image processing, image processing
digital image processing, image processingdigital image processing, image processing
digital image processing, image processing
 
The sutherland hodgeman polygon clipping algorithm
The sutherland hodgeman polygon clipping algorithmThe sutherland hodgeman polygon clipping algorithm
The sutherland hodgeman polygon clipping algorithm
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 

Viewers also liked

Connected Component Labeling on Intel Xeon Phi Coprocessors – Parallelization...
Connected Component Labeling on Intel Xeon Phi Coprocessors – Parallelization...Connected Component Labeling on Intel Xeon Phi Coprocessors – Parallelization...
Connected Component Labeling on Intel Xeon Phi Coprocessors – Parallelization...
Intel IT Center
 
Ajay ppt region segmentation new copy
Ajay ppt region segmentation new   copyAjay ppt region segmentation new   copy
Ajay ppt region segmentation new copyAjay Kumar Singh
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUES
Vicky Kumar
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
Rania H
 
Image segmentation
Image segmentationImage segmentation
Image segmentationMukul Jindal
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
Tawose Olamide Timothy
 

Viewers also liked (7)

Connected Components Labeling
Connected Components LabelingConnected Components Labeling
Connected Components Labeling
 
Connected Component Labeling on Intel Xeon Phi Coprocessors – Parallelization...
Connected Component Labeling on Intel Xeon Phi Coprocessors – Parallelization...Connected Component Labeling on Intel Xeon Phi Coprocessors – Parallelization...
Connected Component Labeling on Intel Xeon Phi Coprocessors – Parallelization...
 
Ajay ppt region segmentation new copy
Ajay ppt region segmentation new   copyAjay ppt region segmentation new   copy
Ajay ppt region segmentation new copy
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUES
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 

Similar to Connected component labeling algorithm

Dip 1 introduction
Dip 1 introductionDip 1 introduction
Dip 1 introduction
Manas Mantri
 
DTLC-GAN
DTLC-GANDTLC-GAN
Breaking a Stick to form a Pentagon with Positive Integers using Programming ...
Breaking a Stick to form a Pentagon with Positive Integers using Programming ...Breaking a Stick to form a Pentagon with Positive Integers using Programming ...
Breaking a Stick to form a Pentagon with Positive Integers using Programming ...
IRJET Journal
 
Usability Studies in Virtual and Traditional Computer Aided Design Environmen...
Usability Studies in Virtual and Traditional Computer Aided Design Environmen...Usability Studies in Virtual and Traditional Computer Aided Design Environmen...
Usability Studies in Virtual and Traditional Computer Aided Design Environmen...
International Journal of Modern Research in Engineering and Technology
 
Bioinfromatics - local alignment
Bioinfromatics - local alignmentBioinfromatics - local alignment
Bioinfromatics - local alignment
Vivek Chandramohan
 
RF Circuit Design - [Ch1-1] Sinusoidal Steady-state Analysis
RF Circuit Design - [Ch1-1] Sinusoidal Steady-state AnalysisRF Circuit Design - [Ch1-1] Sinusoidal Steady-state Analysis
RF Circuit Design - [Ch1-1] Sinusoidal Steady-state Analysis
Simen Li
 
IRJET- Performance Analysis of Optimization Techniques by using Clustering
IRJET- Performance Analysis of Optimization Techniques by using ClusteringIRJET- Performance Analysis of Optimization Techniques by using Clustering
IRJET- Performance Analysis of Optimization Techniques by using Clustering
IRJET Journal
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
International journal of applied sciences and innovation   vol 2015 - no 1 - ...International journal of applied sciences and innovation   vol 2015 - no 1 - ...
International journal of applied sciences and innovation vol 2015 - no 1 - ...
sophiabelthome
 
IRJET- Study on the Feature of Cavitation Bubbles in Hydraulic Valve by using...
IRJET- Study on the Feature of Cavitation Bubbles in Hydraulic Valve by using...IRJET- Study on the Feature of Cavitation Bubbles in Hydraulic Valve by using...
IRJET- Study on the Feature of Cavitation Bubbles in Hydraulic Valve by using...
IRJET Journal
 
Retinal Vessel Segmentation using Infinite Perimeter Active Contour with Hybr...
Retinal Vessel Segmentation using Infinite Perimeter Active Contour with Hybr...Retinal Vessel Segmentation using Infinite Perimeter Active Contour with Hybr...
Retinal Vessel Segmentation using Infinite Perimeter Active Contour with Hybr...
IRJET Journal
 
Data Structures and Algorithm - Week 8 - Minimum Spanning Trees
Data Structures and Algorithm - Week 8 - Minimum Spanning TreesData Structures and Algorithm - Week 8 - Minimum Spanning Trees
Data Structures and Algorithm - Week 8 - Minimum Spanning Trees
Ferdin Joe John Joseph PhD
 
Design of State Estimator for a Class of Generalized Chaotic Systems
Design of State Estimator for a Class of Generalized Chaotic SystemsDesign of State Estimator for a Class of Generalized Chaotic Systems
Design of State Estimator for a Class of Generalized Chaotic Systems
ijtsrd
 
Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...
Alexander Litvinenko
 
Mesh analysis
Mesh analysisMesh analysis
Mesh analysis
Mohankumar Venugopal
 
2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...
2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...
2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...
Sandia National Laboratories: Energy & Climate: Renewables
 
Random Walks in Statistical Theory of Communication
Random Walks in Statistical Theory of CommunicationRandom Walks in Statistical Theory of Communication
Random Walks in Statistical Theory of Communication
IRJET Journal
 
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem MandalH2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
Sri Ambati
 
An Exponential Observer Design for a Class of Chaotic Systems with Exponentia...
An Exponential Observer Design for a Class of Chaotic Systems with Exponentia...An Exponential Observer Design for a Class of Chaotic Systems with Exponentia...
An Exponential Observer Design for a Class of Chaotic Systems with Exponentia...
ijtsrd
 
IRJET- Detection of Cataract by Statistical Features and Classification
IRJET- Detection of Cataract by Statistical Features and ClassificationIRJET- Detection of Cataract by Statistical Features and Classification
IRJET- Detection of Cataract by Statistical Features and Classification
IRJET Journal
 
Airfoil Design and Dynamic Investigations on Turbine
Airfoil Design and Dynamic Investigations on TurbineAirfoil Design and Dynamic Investigations on Turbine
Airfoil Design and Dynamic Investigations on Turbine
VijaiKaarthiV2
 

Similar to Connected component labeling algorithm (20)

Dip 1 introduction
Dip 1 introductionDip 1 introduction
Dip 1 introduction
 
DTLC-GAN
DTLC-GANDTLC-GAN
DTLC-GAN
 
Breaking a Stick to form a Pentagon with Positive Integers using Programming ...
Breaking a Stick to form a Pentagon with Positive Integers using Programming ...Breaking a Stick to form a Pentagon with Positive Integers using Programming ...
Breaking a Stick to form a Pentagon with Positive Integers using Programming ...
 
Usability Studies in Virtual and Traditional Computer Aided Design Environmen...
Usability Studies in Virtual and Traditional Computer Aided Design Environmen...Usability Studies in Virtual and Traditional Computer Aided Design Environmen...
Usability Studies in Virtual and Traditional Computer Aided Design Environmen...
 
Bioinfromatics - local alignment
Bioinfromatics - local alignmentBioinfromatics - local alignment
Bioinfromatics - local alignment
 
RF Circuit Design - [Ch1-1] Sinusoidal Steady-state Analysis
RF Circuit Design - [Ch1-1] Sinusoidal Steady-state AnalysisRF Circuit Design - [Ch1-1] Sinusoidal Steady-state Analysis
RF Circuit Design - [Ch1-1] Sinusoidal Steady-state Analysis
 
IRJET- Performance Analysis of Optimization Techniques by using Clustering
IRJET- Performance Analysis of Optimization Techniques by using ClusteringIRJET- Performance Analysis of Optimization Techniques by using Clustering
IRJET- Performance Analysis of Optimization Techniques by using Clustering
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
International journal of applied sciences and innovation   vol 2015 - no 1 - ...International journal of applied sciences and innovation   vol 2015 - no 1 - ...
International journal of applied sciences and innovation vol 2015 - no 1 - ...
 
IRJET- Study on the Feature of Cavitation Bubbles in Hydraulic Valve by using...
IRJET- Study on the Feature of Cavitation Bubbles in Hydraulic Valve by using...IRJET- Study on the Feature of Cavitation Bubbles in Hydraulic Valve by using...
IRJET- Study on the Feature of Cavitation Bubbles in Hydraulic Valve by using...
 
Retinal Vessel Segmentation using Infinite Perimeter Active Contour with Hybr...
Retinal Vessel Segmentation using Infinite Perimeter Active Contour with Hybr...Retinal Vessel Segmentation using Infinite Perimeter Active Contour with Hybr...
Retinal Vessel Segmentation using Infinite Perimeter Active Contour with Hybr...
 
Data Structures and Algorithm - Week 8 - Minimum Spanning Trees
Data Structures and Algorithm - Week 8 - Minimum Spanning TreesData Structures and Algorithm - Week 8 - Minimum Spanning Trees
Data Structures and Algorithm - Week 8 - Minimum Spanning Trees
 
Design of State Estimator for a Class of Generalized Chaotic Systems
Design of State Estimator for a Class of Generalized Chaotic SystemsDesign of State Estimator for a Class of Generalized Chaotic Systems
Design of State Estimator for a Class of Generalized Chaotic Systems
 
Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...
 
Mesh analysis
Mesh analysisMesh analysis
Mesh analysis
 
2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...
2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...
2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...
 
Random Walks in Statistical Theory of Communication
Random Walks in Statistical Theory of CommunicationRandom Walks in Statistical Theory of Communication
Random Walks in Statistical Theory of Communication
 
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem MandalH2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
H2O World - PAAS: Predictive Analytics offered as a Service - Prateem Mandal
 
An Exponential Observer Design for a Class of Chaotic Systems with Exponentia...
An Exponential Observer Design for a Class of Chaotic Systems with Exponentia...An Exponential Observer Design for a Class of Chaotic Systems with Exponentia...
An Exponential Observer Design for a Class of Chaotic Systems with Exponentia...
 
IRJET- Detection of Cataract by Statistical Features and Classification
IRJET- Detection of Cataract by Statistical Features and ClassificationIRJET- Detection of Cataract by Statistical Features and Classification
IRJET- Detection of Cataract by Statistical Features and Classification
 
Airfoil Design and Dynamic Investigations on Turbine
Airfoil Design and Dynamic Investigations on TurbineAirfoil Design and Dynamic Investigations on Turbine
Airfoil Design and Dynamic Investigations on Turbine
 

More from Manas Mantri

Raman Spectroscopy
Raman SpectroscopyRaman Spectroscopy
Raman Spectroscopy
Manas Mantri
 
2nd sem mechanical syllabus
2nd sem mechanical syllabus2nd sem mechanical syllabus
2nd sem mechanical syllabus
Manas Mantri
 
semiconductor electronics
semiconductor electronicssemiconductor electronics
semiconductor electronics
Manas Mantri
 
Programming avr microcontroller digital i
Programming avr microcontroller digital iProgramming avr microcontroller digital i
Programming avr microcontroller digital i
Manas Mantri
 
Digital image processing questions
Digital  image processing questionsDigital  image processing questions
Digital image processing questions
Manas Mantri
 
Dip 5 mathematical preliminaries
Dip 5 mathematical preliminariesDip 5 mathematical preliminaries
Dip 5 mathematical preliminaries
Manas Mantri
 

More from Manas Mantri (6)

Raman Spectroscopy
Raman SpectroscopyRaman Spectroscopy
Raman Spectroscopy
 
2nd sem mechanical syllabus
2nd sem mechanical syllabus2nd sem mechanical syllabus
2nd sem mechanical syllabus
 
semiconductor electronics
semiconductor electronicssemiconductor electronics
semiconductor electronics
 
Programming avr microcontroller digital i
Programming avr microcontroller digital iProgramming avr microcontroller digital i
Programming avr microcontroller digital i
 
Digital image processing questions
Digital  image processing questionsDigital  image processing questions
Digital image processing questions
 
Dip 5 mathematical preliminaries
Dip 5 mathematical preliminariesDip 5 mathematical preliminaries
Dip 5 mathematical preliminaries
 

Recently uploaded

Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 

Recently uploaded (20)

Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 

Connected component labeling algorithm

  • 1. DIGITAL IMAGE PROCESSING CONNECTED COMPONENT LABELING ALGORITHM Processing of Images which are Digital in nature by means of Digital Computer E C E D E P A R T M E N T
  • 2. Connected Component Labeling  Ability to assign different labels to various disjoint component of an image is called connected component labeling.  This labeling is a fundamental step in automated image analysis: a) Shape b) Area c) Boundary CENTURION INSTITUTE OF TECHNOLOGY, JATNI 2 E C E D E P A R T M E N T
  • 3. Basic Scanning Method  Scan the image from left to right and top to bottom.  Assume 4-adjacency.  Let p be a pixel at any step in the scanning process.  Before p the pixel r and t are scanned. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 3 E C E D E P A R T M E N T r t p
  • 4. Labeling Algorithm  This algorithm makes two passes over the image: 1. The first pass to assign temporary labels and record equivalence classes. 2. The second pass to replace each temporary label by the smallest label of its equivalence class. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 4 E C E D E P A R T M E N T
  • 5. Steps in First Pass Conditions to check: 1. Does the pixel to the left (West) have the same value as the current pixel? Yes – We are in the same region. Assign the same label to the current pixel No – Check next condition 2. Do both pixels to the North and West of the current pixel have the same value as the current pixel but not the same label? Yes –Assign the current pixel the minimum of the North and West labels, and record their equivalence relationship No – Check next condition CENTURION INSTITUTE OF TECHNOLOGY, JATNI 5 E C E D E P A R T M E N T
  • 6. Steps in First Pass.. 3. Does the pixel to the left (West) have a different value and the one to the North the same value as the current pixel? Yes – Assign the label of the North pixel to the current pixel No – Check next condition 4. Do the pixel's North and West neighbors have different pixel values than current pixel? Yes – Create a new label id and assign it to the current pixel CENTURION INSTITUTE OF TECHNOLOGY, JATNI 6 E C E D E P A R T M E N T
  • 7. Steps in Second Pass  In the First pass we record some equivalence relationships.  In Second Pass: 1. Process Equivalence pairs to form equivalent classes. 2. Re-label the element with the label assigned to its equivalent classes. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 7 E C E D E P A R T M E N T
  • 8. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 8 E C E D E P A R T M E N T
  • 9. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 9 E C E D E P A R T M E N T 1
  • 10. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 10 E C E D E P A R T M E N T 1 2
  • 11. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 11 E C E D E P A R T M E N T 1 2 1
  • 12. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 12 E C E D E P A R T M E N T 1 2 1 2
  • 13. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 13 E C E D E P A R T M E N T 1 2 1 2 3
  • 14. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 14 E C E D E P A R T M E N T 1 2 1 2 3 3
  • 15. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 15 E C E D E P A R T M E N T 1 2 1 2 3 3 1
  • 16. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 16 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1
  • 17. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 17 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1
  • 18. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 18 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 (1,2) equivalent relation
  • 19. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 19 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4
  • 20. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 20 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 (3,4) equivalent relation
  • 21. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 21 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3
  • 22. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 22 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3
  • 23. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 23 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3 1
  • 24. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 24 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3 1 1
  • 25. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 25 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3 1 1 3
  • 26. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 26 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3 1 1 3 3
  • 27. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 27 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3 1 1 3 3 5
  • 28. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 28 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3 1 1 3 3 5 1 (1,5) equivalent relation
  • 29. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 29 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3 1 1 3 3 5 1 3
  • 30. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 30 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3 1 1 3 3 5 1 3 3
  • 31. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 31 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3 1 1 3 3 5 1 3 3 3
  • 32. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 32 E C E D E P A R T M E N T 1 2 1 2 3 3 1 1 1 1 4 3 3 3 1 1 3 3 5 1 3 3 3 5
  • 33. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 33 E C E D E P A R T M E N T 1 1 1 2 3 3 1 1 1 1 4 3 3 3 1 1 3 3 5 1 3 3 3 5 1<= 1,2,5
  • 34. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 34 E C E D E P A R T M E N T 1 1 1 1 3 3 1 1 1 1 4 3 3 3 1 1 3 3 5 1 3 3 3 5 1<= 1,2,5
  • 35. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 35 E C E D E P A R T M E N T 1 1 1 1 3 3 1 1 1 1 3 3 3 3 1 1 3 3 5 1 3 3 3 5 3<= 3,4
  • 36. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 36 E C E D E P A R T M E N T 1 1 1 1 3 3 1 1 1 1 3 3 3 3 1 1 3 3 1 1 3 3 3 5 1<= 1,2,5
  • 37. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 37 E C E D E P A R T M E N T 1 1 1 1 3 3 1 1 1 1 3 3 3 3 1 1 3 3 1 1 3 3 3 1 1<= 1,2,5
  • 38. CENTURION INSTITUTE OF TECHNOLOGY, JATNI 38 E C E D E P A R T M E N T 1 1 1 1 3 3 1 1 1 1 3 3 3 3 1 1 3 3 1 1 3 3 3 1 Here we observed that the image contain two distinct class of regions