SlideShare a Scribd company logo
A multilevel automatic
thresholding method based
on a genetic algorithm for a
fast image segmentation
ADVANCED DATA STRUCTURES (UCS632) PROJECT
BY: AKSHIT ARORA (101303012) | CHAHAK GUPTA (101303041)
THAPAR UNIVERSITY, PATIALA
Image Segmentation
Why is image segmentation important?
Scientific Motivation:
◦ Mostly studies focus on isolated object recognition. But, objects are typically immersed in an
environment.
Conventional Belief:
Image Segmentation
Image
partitioned
into Regions
Region to model
matching
Object
Recognized
Practical Motivation
Digital Compositing for
special effects in
movies.
Digital compositing is
the process of digitally
assembling multiple
images to make a final
image, typically for
print, motion pictures
or screen display.
What we did?
Studied Kamal Hammouche, Moussa Diaf, Patrick Siarry (2008). A multilevel
automatic thresholding method based on a genetic algorithm for a fast image
segmentation. Computer Vision and Image Understanding (Elsevier), 163-175.
Implemented the image segmentation method (described in article mentioned
above) in MATLAB.
Understood the basics of:
Genetic Algorithm
Wavelet Transform (for histogram reduction)
Image Processing in MATLAB
General Optimization Algorithms
Various approaches to image segmentation
Main
Algorithm
1. Compute histogram
of the image
2. Reduce the length of
histogram
3. Generate initial
population
4. Store the best string
A * with the best fitness
in a separate location.
5. Apply the learning
strategy to improve the
fitness value of A* .
6. Generate the next
population by
performing selection,
crossover and mutation
operations.
7. Compare the best
string A of the current
population with A* .
If A has a better fitness
value than A * , then
replace A * with A.
8. Go to step 3 if the
desired number of
generations is not
reached.
9. Expand the best
thresholds.
10. Refine the expanded
thresholds.
LENA.png (256x256)
Population initialization:
t = [ 5 11 12 14 15 16 ]
Refinement
Algorithm
Compute the mean grey
level m of class C at time
s
Update value of t(i) as
the mean of last two
mean grey levels
Repeat steps 1 and 2
until iteration converges
What is Genetic Algorithm?
Why Genetic Algorithm?
Classical Algorithms Genetic Algorithm
Generates a single point at each iteration. The
sequence of points approaches an optimal
solution.
Generates population of points at each
iteration. The best point in the population
approaches optimal solution.
Selects the next point in the sequence by
deterministic computation.
Selects the next population by computation
which uses random number generators.
Automatic
determinatio
n of
threshold
number
Compute the mean grey
level m of class C at time
s
Update value of t(i) as
the mean of last two
mean grey levels
Repeat steps 1 and 2
until iteration converges
Akshit Arora
101303012
akshit.arora1995@gmail.com
Chahak Gupta
101303041
chahakgupta4@gmail.com
Thank You

More Related Content

PPTX
Pillar k means
PPTX
search engine for images
PPTX
Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...
DOCX
The method of comparing two image files
PPTX
InfoGAN: Interpretable Representation Learning by Information Maximizing Gene...
PPT
Visual Search
PDF
Project 8
Pillar k means
search engine for images
Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...
The method of comparing two image files
InfoGAN: Interpretable Representation Learning by Information Maximizing Gene...
Visual Search
Project 8

What's hot (20)

PPTX
Implement principal component analysis (PCA) in python from scratch
PDF
Principal Component Analysis
DOCX
System architecture
PDF
Visual diagnostics for more effective machine learning
PDF
Comparison of Various RCNN techniques for Classification of Object from Image
PPT
Lec4 Clustering
PPTX
K Nearest Neighbor V1.0 Supervised Machine Learning Algorithm
PDF
Project 5
PDF
R Packages for Time-Varying Networks and Extremal Dependence
PPT
Clustering (from Google)
PPTX
Kyle DiGirolamo octave project summary
PDF
Project 6
PDF
MATLAB IMPLEMENTATION OF SELF-ORGANIZING MAPS FOR CLUSTERING OF REMOTE SENSIN...
PPT
Facial keypoint recognition
PDF
Me 443 2 tour of mathematica Erdi Karaçal Mechanical Engineer University of...
PPTX
Knn Algorithm presentation
DOCX
PDF
Lecture 5 Relationship between pixel-2
PPTX
Self Organizing Maps
DOCX
lab report 4
Implement principal component analysis (PCA) in python from scratch
Principal Component Analysis
System architecture
Visual diagnostics for more effective machine learning
Comparison of Various RCNN techniques for Classification of Object from Image
Lec4 Clustering
K Nearest Neighbor V1.0 Supervised Machine Learning Algorithm
Project 5
R Packages for Time-Varying Networks and Extremal Dependence
Clustering (from Google)
Kyle DiGirolamo octave project summary
Project 6
MATLAB IMPLEMENTATION OF SELF-ORGANIZING MAPS FOR CLUSTERING OF REMOTE SENSIN...
Facial keypoint recognition
Me 443 2 tour of mathematica Erdi Karaçal Mechanical Engineer University of...
Knn Algorithm presentation
Lecture 5 Relationship between pixel-2
Self Organizing Maps
lab report 4
Ad

Viewers also liked (20)

PPTX
Edge detection using evolutionary algorithms new
PPT
ZIG ZAG FEEDER
PPT
PPTX
Advance operator and technique in genetic algorithm
PPTX
Genetic Algorithm
PPT
Genetic Algorithms
PPTX
Edge Detection
PPT
brain tumor detection by thresholding approach
PDF
Genetic Algorithms Made Easy
PPTX
Genetic Algorithms
PPTX
Introduction to Genetic Algorithms
PPTX
Edge detection
PPT
Genetic algorithms
PPTX
Image proceesing with matlab
PDF
Basics of Image Processing using MATLAB
PPTX
Genetic algorithm
PPT
មេរៀនៈ Data Structure and Algorithm in C/C++
PPTX
Genetic Algorithm by Example
PPT
Genetic algorithm
PPT
Genetic Algorithms - Artificial Intelligence
Edge detection using evolutionary algorithms new
ZIG ZAG FEEDER
Advance operator and technique in genetic algorithm
Genetic Algorithm
Genetic Algorithms
Edge Detection
brain tumor detection by thresholding approach
Genetic Algorithms Made Easy
Genetic Algorithms
Introduction to Genetic Algorithms
Edge detection
Genetic algorithms
Image proceesing with matlab
Basics of Image Processing using MATLAB
Genetic algorithm
មេរៀនៈ Data Structure and Algorithm in C/C++
Genetic Algorithm by Example
Genetic algorithm
Genetic Algorithms - Artificial Intelligence
Ad

Similar to A multilevel automatic thresholding method based on a genetic algorithm for a fast image segmentation (20)

PPTX
An approach to enhancing image contrast using genetic algorithm
PDF
An Heterogeneous Population-Based Genetic Algorithm for Data Clustering
PDF
Genetic Algorithm based Analysis of Rigid and Non Rigid Medical Images
PDF
An Evolutionary Dynamic Clustering based Colour Image Segmentation
PDF
An implementation of novel genetic based clustering algorithm for color image...
PPTX
Class Scheduling using Generative AI.pptx
PDF
Dh3211231128
PPTX
Fuzzy Genetic Algorithm
PDF
A Review on Image Segmentation using Clustering and Swarm Optimization Techni...
PDF
Automatic Feature Subset Selection using Genetic Algorithm for Clustering
PPTX
Image segmentation
PPTX
Ga presentation
PDF
PERFORMANCE ANALYSIS OF CLUSTERING BASED IMAGE SEGMENTATION AND OPTIMIZATION ...
PDF
A Novel Efficient Medical Image Segmentation Methodology
PDF
A Novel Efficient Medical Image Segmentation Methodology
PPTX
GENETIC ALGORITHM ( GA )
PPTX
Genetic algorithm artificial intelligence presentation
PDF
A0150106
PDF
A0150106
PPTX
Machine Learning Algorithms
An approach to enhancing image contrast using genetic algorithm
An Heterogeneous Population-Based Genetic Algorithm for Data Clustering
Genetic Algorithm based Analysis of Rigid and Non Rigid Medical Images
An Evolutionary Dynamic Clustering based Colour Image Segmentation
An implementation of novel genetic based clustering algorithm for color image...
Class Scheduling using Generative AI.pptx
Dh3211231128
Fuzzy Genetic Algorithm
A Review on Image Segmentation using Clustering and Swarm Optimization Techni...
Automatic Feature Subset Selection using Genetic Algorithm for Clustering
Image segmentation
Ga presentation
PERFORMANCE ANALYSIS OF CLUSTERING BASED IMAGE SEGMENTATION AND OPTIMIZATION ...
A Novel Efficient Medical Image Segmentation Methodology
A Novel Efficient Medical Image Segmentation Methodology
GENETIC ALGORITHM ( GA )
Genetic algorithm artificial intelligence presentation
A0150106
A0150106
Machine Learning Algorithms

More from Akshit Arora (18)

PPTX
Kalam innovation award
PDF
Cv akshitarora
PDF
Capstone Report - Industrial Attachment Program (IAP) Evaluation Portal
PPTX
Organizational behavior presentation - Origins of Intelligence
PPTX
Application of Management Tools: Total Quality Management Course
PDF
Industrial Attachment Program (IAP) Report
PPTX
G.D.P. Trends in India
PDF
SRS for Ph.D. Student Portal (C.S.E.D., Thapar University)
PPTX
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPT
PDF
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project R...
PDF
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
PDF
Souvenir's Booth - Algorithm Design and Analysis Project Presentation
PDF
Developing Interactive Landslide Simulator
PDF
Developing Interactive Landslide Simulator (Poster)
PDF
Developing Interactive Landslide Simulator (Report)
DOCX
Emotional Regulation and Stress Burnout
PDF
Asynchronous processors Poster
PPTX
Asynchronous Processors - The Clock less Future
Kalam innovation award
Cv akshitarora
Capstone Report - Industrial Attachment Program (IAP) Evaluation Portal
Organizational behavior presentation - Origins of Intelligence
Application of Management Tools: Total Quality Management Course
Industrial Attachment Program (IAP) Report
G.D.P. Trends in India
SRS for Ph.D. Student Portal (C.S.E.D., Thapar University)
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project PPT
Image Segmentation using Otsu's Method - Computer Graphics (UCS505) Project R...
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Presentation
Developing Interactive Landslide Simulator
Developing Interactive Landslide Simulator (Poster)
Developing Interactive Landslide Simulator (Report)
Emotional Regulation and Stress Burnout
Asynchronous processors Poster
Asynchronous Processors - The Clock less Future

Recently uploaded (20)

PPTX
MET 305 MODULE 1 KTU 2019 SCHEME 25.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Internship_Presentation_Final engineering.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT
Chapter 6 Design in software Engineeing.ppt
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
OOP with Java - Java Introduction (Basics)
PPT
Project quality management in manufacturing
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Road Safety tips for School Kids by a k maurya.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
“Next-Gen AI: Trends Reshaping Our World”
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Practice Questions on recent development part 1.pptx
MET 305 MODULE 1 KTU 2019 SCHEME 25.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Lecture Notes Electrical Wiring System Components
Internship_Presentation_Final engineering.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Chapter 6 Design in software Engineeing.ppt
Foundation to blockchain - A guide to Blockchain Tech
OOP with Java - Java Introduction (Basics)
Project quality management in manufacturing
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Road Safety tips for School Kids by a k maurya.pptx
bas. eng. economics group 4 presentation 1.pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Arduino robotics embedded978-1-4302-3184-4.pdf
“Next-Gen AI: Trends Reshaping Our World”
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Structs to JSON How Go Powers REST APIs.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Practice Questions on recent development part 1.pptx

A multilevel automatic thresholding method based on a genetic algorithm for a fast image segmentation

  • 1. A multilevel automatic thresholding method based on a genetic algorithm for a fast image segmentation ADVANCED DATA STRUCTURES (UCS632) PROJECT BY: AKSHIT ARORA (101303012) | CHAHAK GUPTA (101303041) THAPAR UNIVERSITY, PATIALA
  • 2. Image Segmentation Why is image segmentation important? Scientific Motivation: ◦ Mostly studies focus on isolated object recognition. But, objects are typically immersed in an environment. Conventional Belief: Image Segmentation Image partitioned into Regions Region to model matching Object Recognized
  • 3. Practical Motivation Digital Compositing for special effects in movies. Digital compositing is the process of digitally assembling multiple images to make a final image, typically for print, motion pictures or screen display.
  • 4. What we did? Studied Kamal Hammouche, Moussa Diaf, Patrick Siarry (2008). A multilevel automatic thresholding method based on a genetic algorithm for a fast image segmentation. Computer Vision and Image Understanding (Elsevier), 163-175. Implemented the image segmentation method (described in article mentioned above) in MATLAB. Understood the basics of: Genetic Algorithm Wavelet Transform (for histogram reduction) Image Processing in MATLAB General Optimization Algorithms Various approaches to image segmentation
  • 5. Main Algorithm 1. Compute histogram of the image 2. Reduce the length of histogram 3. Generate initial population 4. Store the best string A * with the best fitness in a separate location. 5. Apply the learning strategy to improve the fitness value of A* . 6. Generate the next population by performing selection, crossover and mutation operations. 7. Compare the best string A of the current population with A* . If A has a better fitness value than A * , then replace A * with A. 8. Go to step 3 if the desired number of generations is not reached. 9. Expand the best thresholds. 10. Refine the expanded thresholds.
  • 7. Refinement Algorithm Compute the mean grey level m of class C at time s Update value of t(i) as the mean of last two mean grey levels Repeat steps 1 and 2 until iteration converges
  • 8. What is Genetic Algorithm?
  • 9. Why Genetic Algorithm? Classical Algorithms Genetic Algorithm Generates a single point at each iteration. The sequence of points approaches an optimal solution. Generates population of points at each iteration. The best point in the population approaches optimal solution. Selects the next point in the sequence by deterministic computation. Selects the next population by computation which uses random number generators.
  • 10. Automatic determinatio n of threshold number Compute the mean grey level m of class C at time s Update value of t(i) as the mean of last two mean grey levels Repeat steps 1 and 2 until iteration converges

Editor's Notes

  • #6: Here is the algorithm proposed in Hammouche paper
  • #8: Since a GA is a stochastic technique, the expanded threshold values change at each run of the algorithm and are generally located in a range around the desired optimal threshold values.
  • #9: A genetic algorithm (GA) is a method for solving both constrained and unconstrained optimization problems based on a natural selection process that mimics biological evolution. At each step, the genetic algorithm randomly selects individuals from the current population and uses them as parents to produce the children for the next generation. Over successive generations, the population "evolves" toward an optimal solution.
  • #10: Genetic approach is particularly helpful / faster when the search space is complicated
  • #11: Since a GA is a stochastic technique, the expanded threshold values change at each run of the algorithm and are generally located in a range around the desired optimal threshold values.