SlideShare a Scribd company logo
Study and
             Implementation of
            Watershed Algorithm
               using MATLAB




Supervisor– Prof. Sanjeev Kumar   By– Mukul Jindal

                                         1
Watershed Algorithm
The watershed transformation is a technique for
segmenting digital images that uses a type of
region growing method based on an image gradient. It
thus effectively combines elements from
both the discontinuity and similarity methods described
below.




                                                      2
What is Image Segmentation
The goal of image segmentation is to reduce the number of colours in the input
reference image and then group neighbouring pixels of similar colour together to
form bounded segments

Segmentation subdivides an image into its constituent regions or groups.

The level to which the subdivision is carried depends on the problem being
solved.

That is, segmentation should stop when the objects of interest in an application
have been isolated.

e.g. automated inspection of electronic assemblies; specific anomalies; missing
components or broken connection paths.



                                                                        3
Image Segmentation
algorithm

It is based on two basic properties of intensity values :

discontinuity and similarity

First Category : Abrupt changes in intensity.

Second Category : Partitioning of regions which are
similar according to a set of predefined criteria. e.g.
thresholding, region growing, region splitting and merging.

                                                          4
First Category is further subdivided
into-




•Points
•Lines
•Edges


                                       5
Detection of discontinuities
Points, lines, edges



The most common way



R = w1*z1 + w2*z2 + ……+ w9*z9




                                6
Point detection


 R  T
 T = Threshold




                  7
Point detection




(b) X-ray image    (c) Result of     (d) Result of point
of a turbine blade point detection   detection mask
with porosity      mask              with threshold
                                                   8
Line detection

– A Suitable Mask in desired direction
– Thresholding




                                         9
Line detection

  • Example:




-45º Mask         Thresholding


                     10
Edge Detection
– Two Mathematical model




                           11
Edge Detection

                      Gray level
                      profile




                   First
                   derivative




           Second derivative




                                   12
Gradient Operators




Y-direction           X-direction




                           13
Diagonal Edge




                  45-Direction
-45-Direction




                         14
Diagonal edge detection




                          15
Things done so far



• Read about different Image Segmentation processes.

• Working my way towards implementing Watershed
algorithm using MATLAB.




                                                       16
Things to be done



• Use preprocessing method to be implemented on
images.

• Implement Watershed Algorithm

• Analyse and record the difference after processing.




                                                        17
Test Result Expected from Watershed
Algorithm




   Test image         After Watershed Algorithm


                                           18
References -


• Paul R. Hill. Wavelet Based Texture Analysis and
Segmentation for Image Retrieval and Fusion. PhD thesis,
University of Bristol, March 2002.

• Richard E. Woods and R.C. Gonzalez. Digital Image
Processing. Pearson Education, 2005.




                                                      19
20

More Related Content

PPT
Dip Image Segmentation
Mubbasher Khaliq
 
PPTX
Segmentation Techniques -I
Hemantha Kulathilake
 
PPTX
Image parts and segmentation
Rappy Saha
 
PPTX
Image segmentation
Deepak Kumar
 
PPTX
Image segmentation
Rania H
 
PPTX
Image segmentation
Gayan Sampath
 
PPTX
Segmentation Techniques -II
Hemantha Kulathilake
 
PPT
Presentation on deformable model for medical image segmentation
Subhash Basistha
 
Dip Image Segmentation
Mubbasher Khaliq
 
Segmentation Techniques -I
Hemantha Kulathilake
 
Image parts and segmentation
Rappy Saha
 
Image segmentation
Deepak Kumar
 
Image segmentation
Rania H
 
Image segmentation
Gayan Sampath
 
Segmentation Techniques -II
Hemantha Kulathilake
 
Presentation on deformable model for medical image segmentation
Subhash Basistha
 

What's hot (20)

PPTX
Video Segmentation
Smriti Jain
 
PPT
Image segmentation
Bulbul Agrawal
 
PPTX
IMAGE SEGMENTATION TECHNIQUES
Vicky Kumar
 
PPTX
Comparison of image segmentation
Haitham Ahmed
 
PPTX
various methods for image segmentation
Raveesh Methi
 
PDF
A version of watershed algorithm for color image segmentation
Habibur Rahman
 
PPSX
Image segmentation 2
Rumah Belajar
 
PDF
Image Segmentation
Syed Muhammad Hammad
 
PPSX
Edge Detection and Segmentation
Dr. A. B. Shinde
 
PPT
Image segmentation ajal
AJAL A J
 
PPTX
Marker Controlled Segmentation Technique for Medical application
Rushin Shah
 
PPTX
Comparative study on image segmentation techniques
gmidhubala
 
PPT
Im seg04
Sonali Gupta
 
PPT
Image segmentation
Md Shabir Alam
 
PPTX
Region based image segmentation
Safayet Hossain
 
PPT
Image segmentation ppt
Gichelle Amon
 
PPTX
Watershed
Amnaakhaan
 
PPTX
Image segmentation
khyati gupta
 
PPTX
Image segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
RCC Institute of Information Technology
 
PPT
Image segmentation
MadhuriMulik1
 
Video Segmentation
Smriti Jain
 
Image segmentation
Bulbul Agrawal
 
IMAGE SEGMENTATION TECHNIQUES
Vicky Kumar
 
Comparison of image segmentation
Haitham Ahmed
 
various methods for image segmentation
Raveesh Methi
 
A version of watershed algorithm for color image segmentation
Habibur Rahman
 
Image segmentation 2
Rumah Belajar
 
Image Segmentation
Syed Muhammad Hammad
 
Edge Detection and Segmentation
Dr. A. B. Shinde
 
Image segmentation ajal
AJAL A J
 
Marker Controlled Segmentation Technique for Medical application
Rushin Shah
 
Comparative study on image segmentation techniques
gmidhubala
 
Im seg04
Sonali Gupta
 
Image segmentation
Md Shabir Alam
 
Region based image segmentation
Safayet Hossain
 
Image segmentation ppt
Gichelle Amon
 
Watershed
Amnaakhaan
 
Image segmentation
khyati gupta
 
Image segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
RCC Institute of Information Technology
 
Image segmentation
MadhuriMulik1
 
Ad

Viewers also liked (16)

PPTX
IMAGE SEGMENTATION.
Tawose Olamide Timothy
 
PPT
Segmentation
guest49d49
 
PDF
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Habibur Rahman
 
PPT
MCS Project - Enhanced Watershed
asakpke
 
PDF
Review of Image Segmentation Techniques based on Region Merging Approach
Editor IJMTER
 
PPT
Ajay ppt region segmentation new copy
Ajay Kumar Singh
 
PPTX
Edge Detection algorithm and code
Vaddi Manikanta
 
PPTX
Image enhancement
Ayaelshiwi
 
PDF
Color based image processing , tracking and automation using matlab
Kamal Pradhan
 
PPTX
Image Enhancement in Spatial Domain
DEEPASHRI HK
 
PDF
Digital Image Processing: Image Segmentation
Mostafa G. M. Mostafa
 
PPTX
Edge detection
Ishraq Al Fataftah
 
PDF
Basics of Image Processing using MATLAB
vkn13
 
PPT
K means Clustering Algorithm
Kasun Ranga Wijeweera
 
PPTX
PPT on BRAIN TUMOR detection in MRI images based on IMAGE SEGMENTATION
khanam22
 
IMAGE SEGMENTATION.
Tawose Olamide Timothy
 
Segmentation
guest49d49
 
Segmentation of Color Image using Adaptive Thresholding and Masking with Wate...
Habibur Rahman
 
MCS Project - Enhanced Watershed
asakpke
 
Review of Image Segmentation Techniques based on Region Merging Approach
Editor IJMTER
 
Ajay ppt region segmentation new copy
Ajay Kumar Singh
 
Edge Detection algorithm and code
Vaddi Manikanta
 
Image enhancement
Ayaelshiwi
 
Color based image processing , tracking and automation using matlab
Kamal Pradhan
 
Image Enhancement in Spatial Domain
DEEPASHRI HK
 
Digital Image Processing: Image Segmentation
Mostafa G. M. Mostafa
 
Edge detection
Ishraq Al Fataftah
 
Basics of Image Processing using MATLAB
vkn13
 
K means Clustering Algorithm
Kasun Ranga Wijeweera
 
PPT on BRAIN TUMOR detection in MRI images based on IMAGE SEGMENTATION
khanam22
 
Ad

Similar to Image segmentation (20)

PPTX
segmentation in image processing .pptx
satyanarayana242612
 
PDF
Module-5-1_230523_171754 (1).pdf
vikasmittal92
 
PPT
digital imagesegmentation-191212120951.ppt
necece123
 
PDF
csc447dipch10-160628144302.pdf
satyanarayana242612
 
PDF
Module-V 096.pdf
SamrajECE
 
PPTX
[DL輪読会]ClearGrasp
Deep Learning JP
 
PDF
PPT s06-machine vision-s2
Binus Online Learning
 
PPTX
Cahall Final Intern Presentation
Daniel Cahall
 
PDF
A Novel Edge Detection Technique for Image Classification and Analysis
IOSR Journals
 
PPTX
08_Lecture -Chapter 10- Image Segmentation_Part I_Edge Detection.pptx
MDYousufALI56
 
PPTX
Image Segmentation Using Deep Learning : A survey
NUPUR YADAV
 
PPTX
Computer Vision - Real Time Face Recognition using Open CV and Python
Akash Satamkar
 
PDF
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
cscpconf
 
PDF
DeepStrip: High Resolution Boundary Refinement
Seunghyun Hwang
 
PDF
物件偵測與辨識技術
CHENHuiMei
 
PDF
Data Processing Using THEOS Satellite Imagery for Disaster Monitoring (Case S...
NopphawanTamkuan
 
PPTX
ppt 20BET1024.pptx
ManeetBali
 
PPTX
cvpresentation-190812154654 (1).pptx
PyariMohanJena
 
PDF
Large Scale Image Retrieval 2022.pdf
SamuCerezo
 
PPTX
Image processing
Pooja G N
 
segmentation in image processing .pptx
satyanarayana242612
 
Module-5-1_230523_171754 (1).pdf
vikasmittal92
 
digital imagesegmentation-191212120951.ppt
necece123
 
csc447dipch10-160628144302.pdf
satyanarayana242612
 
Module-V 096.pdf
SamrajECE
 
[DL輪読会]ClearGrasp
Deep Learning JP
 
PPT s06-machine vision-s2
Binus Online Learning
 
Cahall Final Intern Presentation
Daniel Cahall
 
A Novel Edge Detection Technique for Image Classification and Analysis
IOSR Journals
 
08_Lecture -Chapter 10- Image Segmentation_Part I_Edge Detection.pptx
MDYousufALI56
 
Image Segmentation Using Deep Learning : A survey
NUPUR YADAV
 
Computer Vision - Real Time Face Recognition using Open CV and Python
Akash Satamkar
 
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
cscpconf
 
DeepStrip: High Resolution Boundary Refinement
Seunghyun Hwang
 
物件偵測與辨識技術
CHENHuiMei
 
Data Processing Using THEOS Satellite Imagery for Disaster Monitoring (Case S...
NopphawanTamkuan
 
ppt 20BET1024.pptx
ManeetBali
 
cvpresentation-190812154654 (1).pptx
PyariMohanJena
 
Large Scale Image Retrieval 2022.pdf
SamuCerezo
 
Image processing
Pooja G N
 

Recently uploaded (20)

PPT
TA- C-7 MACD, VWAP, STREND.ppttttttttttt
AnubhavBatra2
 
PPTX
Econometrics - Introduction and Fundamentals.pptx
skillcipetcsn
 
PDF
The Future of Electricity Pricing in South Africa by Matthews Mooketsane Bant...
Matthews Bantsijang
 
PDF
PROBABLE ECONOMIC SHOCKWAVES APPROACHING: HOW BAYER'S GLYPHOSATE EXIT IN THE ...
Srivaanchi Nathan
 
PPTX
Scalping_vs_Swing_Core_Differences.at a glance pptx
Telegram Signal Copier
 
PPTX
办理加利福尼亚大学圣芭芭拉分校文凭|购买UCSB毕业证录取通知书学位证书
1cz3lou8
 
PDF
The Future of Electricity Regulation in South Africa by Matthews Mooketsane B...
Matthews Bantsijang
 
PPTX
Principles of Management buisness sti.pptx
CarToonMaNia5
 
PDF
Eni 2023 Second Quarter Results - July 2025
Eni
 
PDF
Black Child! Ngwana wa Mmu! An Expository Exploration of Matthews Bantsijang'...
Matthews Bantsijang
 
PDF
Abhay Bhutada’s Contribution to Learning and Progress
Lokesh Agrawal
 
PDF
Stormy Decade - A Ten-Year Retrospective on the Ukrainian Investment Landscape
Ukrainian Venture Capital and Private Equity Association
 
PDF
Cryptocurrency Wallet Security Protecting Your Digital Assets.pdf
Kabir Singh
 
PDF
An Uncut Conversation With ChatGPT | PDF Document
Mike Hydes
 
PDF
An Uncut Conversation With Gemini | PDF Document
Mike Hydes
 
PDF
Asia’s Top 10 Hospital CEOs Transforming Healthcare in 2025
Gorman Bain Capital
 
PPTX
Unit1_Managerial_Economics_SEM 1-PPT.pptx
RISHIRISHI87
 
PPTX
Avoid These Costly Blunders_ Critical Mistakes When Selecting CA Services in ...
Sachin Gujar & Associates
 
PPTX
Accounting for liabilities stockholderss
Adugna37
 
PDF
STEM Education in Rural Maharashtra by Abhay Bhutada Foundation
Heera Yadav
 
TA- C-7 MACD, VWAP, STREND.ppttttttttttt
AnubhavBatra2
 
Econometrics - Introduction and Fundamentals.pptx
skillcipetcsn
 
The Future of Electricity Pricing in South Africa by Matthews Mooketsane Bant...
Matthews Bantsijang
 
PROBABLE ECONOMIC SHOCKWAVES APPROACHING: HOW BAYER'S GLYPHOSATE EXIT IN THE ...
Srivaanchi Nathan
 
Scalping_vs_Swing_Core_Differences.at a glance pptx
Telegram Signal Copier
 
办理加利福尼亚大学圣芭芭拉分校文凭|购买UCSB毕业证录取通知书学位证书
1cz3lou8
 
The Future of Electricity Regulation in South Africa by Matthews Mooketsane B...
Matthews Bantsijang
 
Principles of Management buisness sti.pptx
CarToonMaNia5
 
Eni 2023 Second Quarter Results - July 2025
Eni
 
Black Child! Ngwana wa Mmu! An Expository Exploration of Matthews Bantsijang'...
Matthews Bantsijang
 
Abhay Bhutada’s Contribution to Learning and Progress
Lokesh Agrawal
 
Stormy Decade - A Ten-Year Retrospective on the Ukrainian Investment Landscape
Ukrainian Venture Capital and Private Equity Association
 
Cryptocurrency Wallet Security Protecting Your Digital Assets.pdf
Kabir Singh
 
An Uncut Conversation With ChatGPT | PDF Document
Mike Hydes
 
An Uncut Conversation With Gemini | PDF Document
Mike Hydes
 
Asia’s Top 10 Hospital CEOs Transforming Healthcare in 2025
Gorman Bain Capital
 
Unit1_Managerial_Economics_SEM 1-PPT.pptx
RISHIRISHI87
 
Avoid These Costly Blunders_ Critical Mistakes When Selecting CA Services in ...
Sachin Gujar & Associates
 
Accounting for liabilities stockholderss
Adugna37
 
STEM Education in Rural Maharashtra by Abhay Bhutada Foundation
Heera Yadav
 

Image segmentation

  • 1. Study and Implementation of Watershed Algorithm using MATLAB Supervisor– Prof. Sanjeev Kumar By– Mukul Jindal 1
  • 2. Watershed Algorithm The watershed transformation is a technique for segmenting digital images that uses a type of region growing method based on an image gradient. It thus effectively combines elements from both the discontinuity and similarity methods described below. 2
  • 3. What is Image Segmentation The goal of image segmentation is to reduce the number of colours in the input reference image and then group neighbouring pixels of similar colour together to form bounded segments Segmentation subdivides an image into its constituent regions or groups. The level to which the subdivision is carried depends on the problem being solved. That is, segmentation should stop when the objects of interest in an application have been isolated. e.g. automated inspection of electronic assemblies; specific anomalies; missing components or broken connection paths. 3
  • 4. Image Segmentation algorithm It is based on two basic properties of intensity values : discontinuity and similarity First Category : Abrupt changes in intensity. Second Category : Partitioning of regions which are similar according to a set of predefined criteria. e.g. thresholding, region growing, region splitting and merging. 4
  • 5. First Category is further subdivided into- •Points •Lines •Edges 5
  • 6. Detection of discontinuities Points, lines, edges The most common way R = w1*z1 + w2*z2 + ……+ w9*z9 6
  • 7. Point detection R  T T = Threshold 7
  • 8. Point detection (b) X-ray image (c) Result of (d) Result of point of a turbine blade point detection detection mask with porosity mask with threshold 8
  • 9. Line detection – A Suitable Mask in desired direction – Thresholding 9
  • 10. Line detection • Example: -45º Mask Thresholding 10
  • 11. Edge Detection – Two Mathematical model 11
  • 12. Edge Detection Gray level profile First derivative Second derivative 12
  • 14. Diagonal Edge 45-Direction -45-Direction 14
  • 16. Things done so far • Read about different Image Segmentation processes. • Working my way towards implementing Watershed algorithm using MATLAB. 16
  • 17. Things to be done • Use preprocessing method to be implemented on images. • Implement Watershed Algorithm • Analyse and record the difference after processing. 17
  • 18. Test Result Expected from Watershed Algorithm Test image After Watershed Algorithm 18
  • 19. References - • Paul R. Hill. Wavelet Based Texture Analysis and Segmentation for Image Retrieval and Fusion. PhD thesis, University of Bristol, March 2002. • Richard E. Woods and R.C. Gonzalez. Digital Image Processing. Pearson Education, 2005. 19
  • 20. 20