SlideShare a Scribd company logo
1 of 58
Download to read offline
Computer Vision
Chap.4 : Segmentation
SUB CODE: 3171614
SEMESTER: 7TH IT
PREPARED BY:
PROF. KHUSHALI B. KATHIRIYA
Outline
• Active Contours
• Split and Merge
• Watershed
• Region Splitting and Merging
• Graph-based Segmentation
• Mean shift and Model finding
• Normalized Cut
Prepared by: Prof. Khushali B Kathiriya
2
Active Contours
PREPARED BY:
PROF. KHUSHALI B. KATHIRIYA
Active Contour (Boundary Detection)
• Segmentation is a section of image processing for the separation or segregation
of information from the required target region of the image. There are different
techniques used for segmentation of pixels of interest from the image.
• Active contour is one of the active models in segmentation techniques, which
makes use of the energy constraints and forces in the image for separation of
region of interest. Active contour defines a separate boundary or curvature for
the regions of target object for segmentation.
Prepared by: Prof. Khushali B Kathiriya
4
Active Contour(Cont.)
• Application of Active Contour
• Medical Imaging
• Brain CT images
• MRI images
• Cardiac images
• Motion Tracking
• Stereo Tracking
Prepared by: Prof. Khushali B Kathiriya
5
What is Active Contour?
Prepared by: Prof. Khushali B Kathiriya
6
What is Active Contour?
Prepared by: Prof. Khushali B Kathiriya
7
Example of Active Contour
Prepared by: Prof. Khushali B Kathiriya
8
Example of Active Contour (Cont.)
Prepared by: Prof. Khushali B Kathiriya
9
Medical Imaging
Example of Active Contour (Cont.)
Prepared by: Prof. Khushali B Kathiriya
10
Motion Tracking
Split and Merge
PREPARED BY:
PROF. KHUSHALI B. KATHIRIYA
Split and Merge
• Split and merge segmentation is an image processing technique used
to segment an image. The image is successively split into quadrants based on
a homogeneity criterion and similar regions are merged to create the segmented
result. The technique incorporates a quadtree data structure, meaning that there
is a parent-child node relationship. The total region is a parent, and each of the
four splits is a child.
Prepared by: Prof. Khushali B Kathiriya
12
Split and Merge
Prepared by: Prof. Khushali B Kathiriya
13
Split and Merge Example
• The following example shows the segmentation of a gray scale image using
matlab. The homogeneity criterion is thresholding, max(region)-min(region) < 10
for a region to be homogeneous.
Prepared by: Prof. Khushali B Kathiriya
14
Split and Merge Example
• The blocks created during splitting are shown in the following picture:
Prepared by: Prof. Khushali B Kathiriya
15
Split and Merge Example
• And the segmented image is below.
Prepared by: Prof. Khushali B Kathiriya
16
Region Split and Merge
PREPARED BY:
PROF. KHUSHALI B. KATHIRIYA
Region Split and Merge Example (Cont.)
• Apply Region Split on following image. Assume that threshold value be <=3.
Prepared by: Prof. Khushali B Kathiriya
18
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
Region Split and Merge Example (Cont.)
• Step 1: Identify Max and Min pixel value from the whole image
• Max = 7
• Min = 0
• Max-Min= 7
• 7 <= 3 (Condition false)
• Split image
Prepared by: Prof. Khushali B Kathiriya
19
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
Region Split and Merge Example (Cont.)
• Step 1: Identify Max and Min pixel value from the whole image
• Max = 7
• Min = 0
• Max-Min= 7
• 7 <= 3 (Condition false)
• Split R image into R1a,R2b,cR3,R4d
Prepared by: Prof. Khushali B Kathiriya
20
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
R1a R2b
R3c R4d
Region Split and Merge Example (Cont.)
• Step 2: Compute for R1a region. Min and Max
• Max=7
• Min=4
• Max-Min=7-4=3
• 3 <= 3 (Condition true)
• No need to split R1a
Prepared by: Prof. Khushali B Kathiriya
21
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
R1a R2b
R3c R4d
Region Split and Merge Example (Cont.)
• Step 3: compute for R3c region. Min and Max
• Max=3
• Min=0
• Max-Min=3-0=3
• 3 <= 3 (Condition true)
• No need to split R3c
Prepared by: Prof. Khushali B Kathiriya
22
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
R1a R2b
R3c R4d
Region Split and Merge Example (Cont.)
• Step 4: Compute for R2b region. Min and Max
• Max=7
• Min=2
• Max-Min=7-2=5
Prepared by: Prof. Khushali B Kathiriya
23
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
R1a R2b
R3c R4d
Region Split and Merge Example (Cont.)
• Step 4: Compute for R2b region. Min and Max
• Max=7
• Min=2
• Max-Min=7-2=5
• 5 <= 3 (Condition false)
• Split R2b into R2b1,R2b2,R2b3,R2b4.
Prepared by: Prof. Khushali B Kathiriya
24
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
R1a R2b
R3c R4d
Region Split and Merge Example (Cont.)
• Step 5: Compute for R2b1,R2b2,R2b3,R2b4 region. Min and Max
• For all R2b1,R2b2,R2b3,R2b4
Condition have satisfied so no need
to splitting.
Prepared by: Prof. Khushali B Kathiriya
25
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
R1a R2b
R3c R4d
Region Split and Merge Example (Cont.)
• Step 6: Compute for R4d region. Min and Max
• Max=7
• Min=0
• Max-Min=7-0=7
Prepared by: Prof. Khushali B Kathiriya
26
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
R1a R2b
R3c R4d
Region Split and Merge Example (Cont.)
• Step 6: Compute for R4d region. Min and Max
• Max=7
• Min=0
• Max-Min=7-0=7
• 7 <= 3 (Condition false)
• Split R4d into R4d1,R4d2,R4d3,R4d4.
Prepared by: Prof. Khushali B Kathiriya
27
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
R1a R2b
R3c R4d
Region Split and Merge Example (Cont.)
• Step 7: Compute for R4d1,R4d2,R4d3,R4d4 region. Min and Max
• For all R4d1,R4d2,R4d3,R4d4
Condition have satisfied so no need
to splitting.
Prepared by: Prof. Khushali B Kathiriya
28
5 6 6 6 7 7 6 6
6 7 6 7 5 5 4 7
6 6 4 4 3 2 5 6
5 4 5 4 2 3 4 6
0 3 2 3 3 2 4 7
0 0 0 0 2 2 5 6
1 1 0 1 0 3 4 4
1 0 1 0 2 3 5 4
R1a R2b
R3c R4d
Watershed Segmentation
PREPARED BY:
PROF. KHUSHALI B. KATHIRIYA
Watershed Segmentation
• The watershed algorithm is a classic algorithm used for segmentation and is
especially useful when extracting touching or overlapping objects in images, such
as the coins in the figure above.
• Using traditional image processing methods such as thresholding and contour
detection, we would be unable to extract each individual coin from the image —
but by leveraging the watershed algorithm, we are able to detect and extract
each coin without a problem.
• When utilizing the watershed algorithm we must start with user-defined markers.
These markers can be either manually defined via point-and-click, or we
can automatically or heuristically define them using methods such as thresholding
and/or morphological operations.
Prepared by: Prof. Khushali B Kathiriya
30
Watershed Segmentation (Cont.)
Prepared by: Prof. Khushali B Kathiriya
31
Watershed Segmentation (Cont.)
Prepared by: Prof. Khushali B Kathiriya
32
The problem with basic thresholding and contour
extraction
Prepared by: Prof. Khushali B Kathiriya
33
Using the watershed algorithm for segmentation
Prepared by: Prof. Khushali B Kathiriya
34
Graph based Segmentation
PREPARED BY:
PROF. KHUSHALI B. KATHIRIYA
Graph based Segmentation
Prepared by: Prof. Khushali B Kathiriya
36
Measuring Affinity
Prepared by: Prof. Khushali B Kathiriya
37
Graph Cut Segmentation
Prepared by: Prof. Khushali B Kathiriya
38
Graph Cut Segmentation (Cont.)
Prepared by: Prof. Khushali B Kathiriya
39
Graph Cut Segmentation (Cont.)
Prepared by: Prof. Khushali B Kathiriya
40
Problem with Min-Cut
Prepared by: Prof. Khushali B Kathiriya
41
Measure of Subgraph Size
Prepared by: Prof. Khushali B Kathiriya
42
Normalized Cut (Ncut)
PREPARED BY:
PROF. KHUSHALI B. KATHIRIYA
Normalized Cut(Ncut)
Prepared by: Prof. Khushali B Kathiriya
44
Ncut Segmentation Results
Prepared by: Prof. Khushali B Kathiriya
45
The Concept of Mean Shift
PREPARED BY:
PROF. KHUSHALI B. KATHIRIYA
The Concept of Mean Shift
Prepared by: Prof. Khushali B Kathiriya
47
The Concept of Mean Shift (Cont.)
Prepared by: Prof. Khushali B Kathiriya
48
Hill Climbing using Mean Shift
Prepared by: Prof. Khushali B Kathiriya
49
Hill Climbing using Mean Shift (Cont.)
Prepared by: Prof. Khushali B Kathiriya
50
Hill Climbing using Mean Shift (Cont.)
Prepared by: Prof. Khushali B Kathiriya
51
Hill Climbing using Mean Shift (Cont.)
Prepared by: Prof. Khushali B Kathiriya
52
Hill Climbing using Mean Shift (Cont.)
Prepared by: Prof. Khushali B Kathiriya
53
Hill Climbing using Mean Shift (Cont.)
Prepared by: Prof. Khushali B Kathiriya
54
Mean Shift Algorithm
Prepared by: Prof. Khushali B Kathiriya
55
K-mean Vs. Mean shift
Prepared by: Prof. Khushali B Kathiriya
56
Example of K-mean Vs. Mean shift
Prepared by: Prof. Khushali B Kathiriya
57
Result of Mean Shift Segmentation
Prepared by: Prof. Khushali B Kathiriya
58

More Related Content

What's hot

morphological image processing
morphological image processingmorphological image processing
morphological image processingJohn Williams
 
Digital Image Processing - Image Restoration
Digital Image Processing - Image RestorationDigital Image Processing - Image Restoration
Digital Image Processing - Image RestorationMathankumar S
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainMalik obeisat
 
Chapter 2 Image Processing: Pixel Relation
Chapter 2 Image Processing: Pixel RelationChapter 2 Image Processing: Pixel Relation
Chapter 2 Image Processing: Pixel RelationVarun Ojha
 
introduction to Digital Image Processing
introduction to Digital Image Processingintroduction to Digital Image Processing
introduction to Digital Image Processingnikesh gadare
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and SegmentationA B Shinde
 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Kalyan Acharjya
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation modelAnupriyaDurai
 
Digital Image Processing 3rd edition Rafael C. Gonzalez, Richard E. Woods.pdf
Digital Image Processing 3rd edition Rafael C. Gonzalez, Richard E. Woods.pdfDigital Image Processing 3rd edition Rafael C. Gonzalez, Richard E. Woods.pdf
Digital Image Processing 3rd edition Rafael C. Gonzalez, Richard E. Woods.pdfssuserbe3944
 
Bit plane slicing
Bit plane slicingBit plane slicing
Bit plane slicingAsad Ali
 
Object Detection & Tracking
Object Detection & TrackingObject Detection & Tracking
Object Detection & TrackingAkshay Gujarathi
 
Introduction to object detection
Introduction to object detectionIntroduction to object detection
Introduction to object detectionBrodmann17
 
morphological image processing
morphological image processingmorphological image processing
morphological image processingAnubhav Kumar
 
Digital image processing - Image Enhancement (MATERIAL)
Digital image processing  - Image Enhancement (MATERIAL)Digital image processing  - Image Enhancement (MATERIAL)
Digital image processing - Image Enhancement (MATERIAL)Mathankumar S
 

What's hot (20)

morphological image processing
morphological image processingmorphological image processing
morphological image processing
 
Computer Vision
Computer VisionComputer Vision
Computer Vision
 
Digital Image Processing - Image Restoration
Digital Image Processing - Image RestorationDigital Image Processing - Image Restoration
Digital Image Processing - Image Restoration
 
Image segmentation
Image segmentation Image segmentation
Image segmentation
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
 
Chapter 2 Image Processing: Pixel Relation
Chapter 2 Image Processing: Pixel RelationChapter 2 Image Processing: Pixel Relation
Chapter 2 Image Processing: Pixel Relation
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Image transforms
Image transformsImage transforms
Image transforms
 
introduction to Digital Image Processing
introduction to Digital Image Processingintroduction to Digital Image Processing
introduction to Digital Image Processing
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 
Digital Image Processing 3rd edition Rafael C. Gonzalez, Richard E. Woods.pdf
Digital Image Processing 3rd edition Rafael C. Gonzalez, Richard E. Woods.pdfDigital Image Processing 3rd edition Rafael C. Gonzalez, Richard E. Woods.pdf
Digital Image Processing 3rd edition Rafael C. Gonzalez, Richard E. Woods.pdf
 
Bit plane slicing
Bit plane slicingBit plane slicing
Bit plane slicing
 
Object Detection & Tracking
Object Detection & TrackingObject Detection & Tracking
Object Detection & Tracking
 
Object detection
Object detectionObject detection
Object detection
 
Shape context
Shape context Shape context
Shape context
 
Introduction to object detection
Introduction to object detectionIntroduction to object detection
Introduction to object detection
 
morphological image processing
morphological image processingmorphological image processing
morphological image processing
 
Digital image processing - Image Enhancement (MATERIAL)
Digital image processing  - Image Enhancement (MATERIAL)Digital image processing  - Image Enhancement (MATERIAL)
Digital image processing - Image Enhancement (MATERIAL)
 

Similar to Cv_Chap 4 Segmentation

Mb 106 quantitative techniques 2
Mb 106 quantitative techniques 2Mb 106 quantitative techniques 2
Mb 106 quantitative techniques 2KrishnaRoy45
 
[db analytics showcase Sapporo 2018] B33 H2O4GPU and GoAI: harnessing the pow...
[db analytics showcase Sapporo 2018] B33 H2O4GPU and GoAI: harnessing the pow...[db analytics showcase Sapporo 2018] B33 H2O4GPU and GoAI: harnessing the pow...
[db analytics showcase Sapporo 2018] B33 H2O4GPU and GoAI: harnessing the pow...Insight Technology, Inc.
 
Math Solutions for Lens and Wave.pdf
Math Solutions for Lens and Wave.pdfMath Solutions for Lens and Wave.pdf
Math Solutions for Lens and Wave.pdfBrij Consulting, LLC
 
Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5Stats Statswork
 
Rethinking garbage collection
Rethinking garbage collectionRethinking garbage collection
Rethinking garbage collectionJUGBD
 
Rethinking garbage collection
Rethinking garbage collectionRethinking garbage collection
Rethinking garbage collectionBazlur Rokon
 
Moving Toward Deep Learning Algorithms on HPCC Systems
Moving Toward Deep Learning Algorithms on HPCC SystemsMoving Toward Deep Learning Algorithms on HPCC Systems
Moving Toward Deep Learning Algorithms on HPCC SystemsHPCC Systems
 
ePBCS Gridbuilder Deep Dive - Last Minute KScope Souvenirs
ePBCS Gridbuilder Deep Dive - Last Minute KScope SouvenirsePBCS Gridbuilder Deep Dive - Last Minute KScope Souvenirs
ePBCS Gridbuilder Deep Dive - Last Minute KScope SouvenirsKyle Goodfriend
 
Determination of System Geometrical Parameters and Consistency between Scans ...
Determination of System Geometrical Parameters and Consistency between Scans ...Determination of System Geometrical Parameters and Consistency between Scans ...
Determination of System Geometrical Parameters and Consistency between Scans ...David Scaduto
 
Dream3D and its Extension to Abaqus Input Files
Dream3D and its Extension to Abaqus Input FilesDream3D and its Extension to Abaqus Input Files
Dream3D and its Extension to Abaqus Input FilesMatthew Priddy
 
Backtracking & branch and bound
Backtracking & branch and boundBacktracking & branch and bound
Backtracking & branch and boundVipul Chauhan
 
ZJPeng.3DSolderBallReconstruction
ZJPeng.3DSolderBallReconstructionZJPeng.3DSolderBallReconstruction
ZJPeng.3DSolderBallReconstructionZhejian Peng
 
Algorithmic Techniques for Parametric Model Recovery
Algorithmic Techniques for Parametric Model RecoveryAlgorithmic Techniques for Parametric Model Recovery
Algorithmic Techniques for Parametric Model RecoveryCurvSurf
 
Kaggle boschコンペ振り返り
Kaggle boschコンペ振り返りKaggle boschコンペ振り返り
Kaggle boschコンペ振り返りKeisuke Hosaka
 
Using Feature Grouping as a Stochastic Regularizer for High Dimensional Noisy...
Using Feature Grouping as a Stochastic Regularizer for High Dimensional Noisy...Using Feature Grouping as a Stochastic Regularizer for High Dimensional Noisy...
Using Feature Grouping as a Stochastic Regularizer for High Dimensional Noisy...WiMLDSMontreal
 
2018,sem7,ala,pm,160993119017,160993119018,160993119019,160993119020,16099311...
2018,sem7,ala,pm,160993119017,160993119018,160993119019,160993119020,16099311...2018,sem7,ala,pm,160993119017,160993119018,160993119019,160993119020,16099311...
2018,sem7,ala,pm,160993119017,160993119018,160993119019,160993119020,16099311...Siddharth Modi
 
Online Stochastic Tensor Decomposition for Background Subtraction in Multispe...
Online Stochastic Tensor Decomposition for Background Subtraction in Multispe...Online Stochastic Tensor Decomposition for Background Subtraction in Multispe...
Online Stochastic Tensor Decomposition for Background Subtraction in Multispe...ActiveEon
 
Final edited master defense-hyun_wong choi_2019_05_23_rev21
Final edited master defense-hyun_wong choi_2019_05_23_rev21Final edited master defense-hyun_wong choi_2019_05_23_rev21
Final edited master defense-hyun_wong choi_2019_05_23_rev21Hyun Wong Choi
 
SP18 Generative Design - Week 8 - Optimization
SP18 Generative Design - Week 8 - OptimizationSP18 Generative Design - Week 8 - Optimization
SP18 Generative Design - Week 8 - OptimizationDanil Nagy
 

Similar to Cv_Chap 4 Segmentation (20)

Mb 106 quantitative techniques 2
Mb 106 quantitative techniques 2Mb 106 quantitative techniques 2
Mb 106 quantitative techniques 2
 
[db analytics showcase Sapporo 2018] B33 H2O4GPU and GoAI: harnessing the pow...
[db analytics showcase Sapporo 2018] B33 H2O4GPU and GoAI: harnessing the pow...[db analytics showcase Sapporo 2018] B33 H2O4GPU and GoAI: harnessing the pow...
[db analytics showcase Sapporo 2018] B33 H2O4GPU and GoAI: harnessing the pow...
 
Math Solutions for Lens and Wave.pdf
Math Solutions for Lens and Wave.pdfMath Solutions for Lens and Wave.pdf
Math Solutions for Lens and Wave.pdf
 
Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5
 
Rethinking garbage collection
Rethinking garbage collectionRethinking garbage collection
Rethinking garbage collection
 
Rethinking garbage collection
Rethinking garbage collectionRethinking garbage collection
Rethinking garbage collection
 
Moving Toward Deep Learning Algorithms on HPCC Systems
Moving Toward Deep Learning Algorithms on HPCC SystemsMoving Toward Deep Learning Algorithms on HPCC Systems
Moving Toward Deep Learning Algorithms on HPCC Systems
 
ePBCS Gridbuilder Deep Dive - Last Minute KScope Souvenirs
ePBCS Gridbuilder Deep Dive - Last Minute KScope SouvenirsePBCS Gridbuilder Deep Dive - Last Minute KScope Souvenirs
ePBCS Gridbuilder Deep Dive - Last Minute KScope Souvenirs
 
Determination of System Geometrical Parameters and Consistency between Scans ...
Determination of System Geometrical Parameters and Consistency between Scans ...Determination of System Geometrical Parameters and Consistency between Scans ...
Determination of System Geometrical Parameters and Consistency between Scans ...
 
Dream3D and its Extension to Abaqus Input Files
Dream3D and its Extension to Abaqus Input FilesDream3D and its Extension to Abaqus Input Files
Dream3D and its Extension to Abaqus Input Files
 
Backtracking & branch and bound
Backtracking & branch and boundBacktracking & branch and bound
Backtracking & branch and bound
 
ZJPeng.3DSolderBallReconstruction
ZJPeng.3DSolderBallReconstructionZJPeng.3DSolderBallReconstruction
ZJPeng.3DSolderBallReconstruction
 
Algorithmic Techniques for Parametric Model Recovery
Algorithmic Techniques for Parametric Model RecoveryAlgorithmic Techniques for Parametric Model Recovery
Algorithmic Techniques for Parametric Model Recovery
 
Kaggle boschコンペ振り返り
Kaggle boschコンペ振り返りKaggle boschコンペ振り返り
Kaggle boschコンペ振り返り
 
Using Feature Grouping as a Stochastic Regularizer for High Dimensional Noisy...
Using Feature Grouping as a Stochastic Regularizer for High Dimensional Noisy...Using Feature Grouping as a Stochastic Regularizer for High Dimensional Noisy...
Using Feature Grouping as a Stochastic Regularizer for High Dimensional Noisy...
 
2018,sem7,ala,pm,160993119017,160993119018,160993119019,160993119020,16099311...
2018,sem7,ala,pm,160993119017,160993119018,160993119019,160993119020,16099311...2018,sem7,ala,pm,160993119017,160993119018,160993119019,160993119020,16099311...
2018,sem7,ala,pm,160993119017,160993119018,160993119019,160993119020,16099311...
 
Online Stochastic Tensor Decomposition for Background Subtraction in Multispe...
Online Stochastic Tensor Decomposition for Background Subtraction in Multispe...Online Stochastic Tensor Decomposition for Background Subtraction in Multispe...
Online Stochastic Tensor Decomposition for Background Subtraction in Multispe...
 
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)
 
Final edited master defense-hyun_wong choi_2019_05_23_rev21
Final edited master defense-hyun_wong choi_2019_05_23_rev21Final edited master defense-hyun_wong choi_2019_05_23_rev21
Final edited master defense-hyun_wong choi_2019_05_23_rev21
 
SP18 Generative Design - Week 8 - Optimization
SP18 Generative Design - Week 8 - OptimizationSP18 Generative Design - Week 8 - Optimization
SP18 Generative Design - Week 8 - Optimization
 

More from Khushali Kathiriya

learning with complete data.pdf
learning with complete data.pdflearning with complete data.pdf
learning with complete data.pdfKhushali Kathiriya
 
ADA_1 Introduction of Algorithm
ADA_1 Introduction of AlgorithmADA_1 Introduction of Algorithm
ADA_1 Introduction of AlgorithmKhushali Kathiriya
 
AI_ 8 Weak Slot and Filler Structure
AI_ 8 Weak Slot and Filler  StructureAI_ 8 Weak Slot and Filler  Structure
AI_ 8 Weak Slot and Filler StructureKhushali Kathiriya
 
AI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesAI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesKhushali Kathiriya
 
DDBMS_ Chap 9 Distributed Deadlock & Recovery Deadlock concept
DDBMS_ Chap 9 Distributed Deadlock & Recovery Deadlock conceptDDBMS_ Chap 9 Distributed Deadlock & Recovery Deadlock concept
DDBMS_ Chap 9 Distributed Deadlock & Recovery Deadlock conceptKhushali Kathiriya
 
DDBMS_ Chap 8 Distributed Transaction Management & Concurrency Control
DDBMS_ Chap 8 Distributed Transaction Management & Concurrency ControlDDBMS_ Chap 8 Distributed Transaction Management & Concurrency Control
DDBMS_ Chap 8 Distributed Transaction Management & Concurrency ControlKhushali Kathiriya
 

More from Khushali Kathiriya (20)

learning with complete data.pdf
learning with complete data.pdflearning with complete data.pdf
learning with complete data.pdf
 
ADA_2_Analysis of Algorithms
ADA_2_Analysis of AlgorithmsADA_2_Analysis of Algorithms
ADA_2_Analysis of Algorithms
 
ADA_1 Introduction of Algorithm
ADA_1 Introduction of AlgorithmADA_1 Introduction of Algorithm
ADA_1 Introduction of Algorithm
 
AI_ Backtracking in prolog
AI_ Backtracking in prologAI_ Backtracking in prolog
AI_ Backtracking in prolog
 
AI_Cuts in prolog
AI_Cuts in prologAI_Cuts in prolog
AI_Cuts in prolog
 
AI_Recursive search in prolog
AI_Recursive search in prologAI_Recursive search in prolog
AI_Recursive search in prolog
 
AI_List in prolog
AI_List in prologAI_List in prolog
AI_List in prolog
 
AI_11 Game playing
AI_11 Game playingAI_11 Game playing
AI_11 Game playing
 
AI_ Bays theorem
AI_ Bays theoremAI_ Bays theorem
AI_ Bays theorem
 
AI_Bayesian belief network
AI_Bayesian belief networkAI_Bayesian belief network
AI_Bayesian belief network
 
AI_11 Understanding
AI_11  UnderstandingAI_11  Understanding
AI_11 Understanding
 
AI_ 8 Weak Slot and Filler Structure
AI_ 8 Weak Slot and Filler  StructureAI_ 8 Weak Slot and Filler  Structure
AI_ 8 Weak Slot and Filler Structure
 
AI_7 Statistical Reasoning
AI_7 Statistical Reasoning AI_7 Statistical Reasoning
AI_7 Statistical Reasoning
 
AI_6 Uncertainty
AI_6 Uncertainty AI_6 Uncertainty
AI_6 Uncertainty
 
AI_5 Resolution/ Channing
AI_5 Resolution/ ChanningAI_5 Resolution/ Channing
AI_5 Resolution/ Channing
 
AI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issuesAI_ 3 & 4 Knowledge Representation issues
AI_ 3 & 4 Knowledge Representation issues
 
AI_2 State Space Search
AI_2 State Space SearchAI_2 State Space Search
AI_2 State Space Search
 
AI_1 Introduction of AI
AI_1 Introduction of AIAI_1 Introduction of AI
AI_1 Introduction of AI
 
DDBMS_ Chap 9 Distributed Deadlock & Recovery Deadlock concept
DDBMS_ Chap 9 Distributed Deadlock & Recovery Deadlock conceptDDBMS_ Chap 9 Distributed Deadlock & Recovery Deadlock concept
DDBMS_ Chap 9 Distributed Deadlock & Recovery Deadlock concept
 
DDBMS_ Chap 8 Distributed Transaction Management & Concurrency Control
DDBMS_ Chap 8 Distributed Transaction Management & Concurrency ControlDDBMS_ Chap 8 Distributed Transaction Management & Concurrency Control
DDBMS_ Chap 8 Distributed Transaction Management & Concurrency Control
 

Recently uploaded

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
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
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
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
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 

Cv_Chap 4 Segmentation

  • 1. Computer Vision Chap.4 : Segmentation SUB CODE: 3171614 SEMESTER: 7TH IT PREPARED BY: PROF. KHUSHALI B. KATHIRIYA
  • 2. Outline • Active Contours • Split and Merge • Watershed • Region Splitting and Merging • Graph-based Segmentation • Mean shift and Model finding • Normalized Cut Prepared by: Prof. Khushali B Kathiriya 2
  • 3. Active Contours PREPARED BY: PROF. KHUSHALI B. KATHIRIYA
  • 4. Active Contour (Boundary Detection) • Segmentation is a section of image processing for the separation or segregation of information from the required target region of the image. There are different techniques used for segmentation of pixels of interest from the image. • Active contour is one of the active models in segmentation techniques, which makes use of the energy constraints and forces in the image for separation of region of interest. Active contour defines a separate boundary or curvature for the regions of target object for segmentation. Prepared by: Prof. Khushali B Kathiriya 4
  • 5. Active Contour(Cont.) • Application of Active Contour • Medical Imaging • Brain CT images • MRI images • Cardiac images • Motion Tracking • Stereo Tracking Prepared by: Prof. Khushali B Kathiriya 5
  • 6. What is Active Contour? Prepared by: Prof. Khushali B Kathiriya 6
  • 7. What is Active Contour? Prepared by: Prof. Khushali B Kathiriya 7
  • 8. Example of Active Contour Prepared by: Prof. Khushali B Kathiriya 8
  • 9. Example of Active Contour (Cont.) Prepared by: Prof. Khushali B Kathiriya 9 Medical Imaging
  • 10. Example of Active Contour (Cont.) Prepared by: Prof. Khushali B Kathiriya 10 Motion Tracking
  • 11. Split and Merge PREPARED BY: PROF. KHUSHALI B. KATHIRIYA
  • 12. Split and Merge • Split and merge segmentation is an image processing technique used to segment an image. The image is successively split into quadrants based on a homogeneity criterion and similar regions are merged to create the segmented result. The technique incorporates a quadtree data structure, meaning that there is a parent-child node relationship. The total region is a parent, and each of the four splits is a child. Prepared by: Prof. Khushali B Kathiriya 12
  • 13. Split and Merge Prepared by: Prof. Khushali B Kathiriya 13
  • 14. Split and Merge Example • The following example shows the segmentation of a gray scale image using matlab. The homogeneity criterion is thresholding, max(region)-min(region) < 10 for a region to be homogeneous. Prepared by: Prof. Khushali B Kathiriya 14
  • 15. Split and Merge Example • The blocks created during splitting are shown in the following picture: Prepared by: Prof. Khushali B Kathiriya 15
  • 16. Split and Merge Example • And the segmented image is below. Prepared by: Prof. Khushali B Kathiriya 16
  • 17. Region Split and Merge PREPARED BY: PROF. KHUSHALI B. KATHIRIYA
  • 18. Region Split and Merge Example (Cont.) • Apply Region Split on following image. Assume that threshold value be <=3. Prepared by: Prof. Khushali B Kathiriya 18 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4
  • 19. Region Split and Merge Example (Cont.) • Step 1: Identify Max and Min pixel value from the whole image • Max = 7 • Min = 0 • Max-Min= 7 • 7 <= 3 (Condition false) • Split image Prepared by: Prof. Khushali B Kathiriya 19 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4
  • 20. Region Split and Merge Example (Cont.) • Step 1: Identify Max and Min pixel value from the whole image • Max = 7 • Min = 0 • Max-Min= 7 • 7 <= 3 (Condition false) • Split R image into R1a,R2b,cR3,R4d Prepared by: Prof. Khushali B Kathiriya 20 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4 R1a R2b R3c R4d
  • 21. Region Split and Merge Example (Cont.) • Step 2: Compute for R1a region. Min and Max • Max=7 • Min=4 • Max-Min=7-4=3 • 3 <= 3 (Condition true) • No need to split R1a Prepared by: Prof. Khushali B Kathiriya 21 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4 R1a R2b R3c R4d
  • 22. Region Split and Merge Example (Cont.) • Step 3: compute for R3c region. Min and Max • Max=3 • Min=0 • Max-Min=3-0=3 • 3 <= 3 (Condition true) • No need to split R3c Prepared by: Prof. Khushali B Kathiriya 22 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4 R1a R2b R3c R4d
  • 23. Region Split and Merge Example (Cont.) • Step 4: Compute for R2b region. Min and Max • Max=7 • Min=2 • Max-Min=7-2=5 Prepared by: Prof. Khushali B Kathiriya 23 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4 R1a R2b R3c R4d
  • 24. Region Split and Merge Example (Cont.) • Step 4: Compute for R2b region. Min and Max • Max=7 • Min=2 • Max-Min=7-2=5 • 5 <= 3 (Condition false) • Split R2b into R2b1,R2b2,R2b3,R2b4. Prepared by: Prof. Khushali B Kathiriya 24 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4 R1a R2b R3c R4d
  • 25. Region Split and Merge Example (Cont.) • Step 5: Compute for R2b1,R2b2,R2b3,R2b4 region. Min and Max • For all R2b1,R2b2,R2b3,R2b4 Condition have satisfied so no need to splitting. Prepared by: Prof. Khushali B Kathiriya 25 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4 R1a R2b R3c R4d
  • 26. Region Split and Merge Example (Cont.) • Step 6: Compute for R4d region. Min and Max • Max=7 • Min=0 • Max-Min=7-0=7 Prepared by: Prof. Khushali B Kathiriya 26 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4 R1a R2b R3c R4d
  • 27. Region Split and Merge Example (Cont.) • Step 6: Compute for R4d region. Min and Max • Max=7 • Min=0 • Max-Min=7-0=7 • 7 <= 3 (Condition false) • Split R4d into R4d1,R4d2,R4d3,R4d4. Prepared by: Prof. Khushali B Kathiriya 27 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4 R1a R2b R3c R4d
  • 28. Region Split and Merge Example (Cont.) • Step 7: Compute for R4d1,R4d2,R4d3,R4d4 region. Min and Max • For all R4d1,R4d2,R4d3,R4d4 Condition have satisfied so no need to splitting. Prepared by: Prof. Khushali B Kathiriya 28 5 6 6 6 7 7 6 6 6 7 6 7 5 5 4 7 6 6 4 4 3 2 5 6 5 4 5 4 2 3 4 6 0 3 2 3 3 2 4 7 0 0 0 0 2 2 5 6 1 1 0 1 0 3 4 4 1 0 1 0 2 3 5 4 R1a R2b R3c R4d
  • 30. Watershed Segmentation • The watershed algorithm is a classic algorithm used for segmentation and is especially useful when extracting touching or overlapping objects in images, such as the coins in the figure above. • Using traditional image processing methods such as thresholding and contour detection, we would be unable to extract each individual coin from the image — but by leveraging the watershed algorithm, we are able to detect and extract each coin without a problem. • When utilizing the watershed algorithm we must start with user-defined markers. These markers can be either manually defined via point-and-click, or we can automatically or heuristically define them using methods such as thresholding and/or morphological operations. Prepared by: Prof. Khushali B Kathiriya 30
  • 31. Watershed Segmentation (Cont.) Prepared by: Prof. Khushali B Kathiriya 31
  • 32. Watershed Segmentation (Cont.) Prepared by: Prof. Khushali B Kathiriya 32
  • 33. The problem with basic thresholding and contour extraction Prepared by: Prof. Khushali B Kathiriya 33
  • 34. Using the watershed algorithm for segmentation Prepared by: Prof. Khushali B Kathiriya 34
  • 35. Graph based Segmentation PREPARED BY: PROF. KHUSHALI B. KATHIRIYA
  • 36. Graph based Segmentation Prepared by: Prof. Khushali B Kathiriya 36
  • 37. Measuring Affinity Prepared by: Prof. Khushali B Kathiriya 37
  • 38. Graph Cut Segmentation Prepared by: Prof. Khushali B Kathiriya 38
  • 39. Graph Cut Segmentation (Cont.) Prepared by: Prof. Khushali B Kathiriya 39
  • 40. Graph Cut Segmentation (Cont.) Prepared by: Prof. Khushali B Kathiriya 40
  • 41. Problem with Min-Cut Prepared by: Prof. Khushali B Kathiriya 41
  • 42. Measure of Subgraph Size Prepared by: Prof. Khushali B Kathiriya 42
  • 43. Normalized Cut (Ncut) PREPARED BY: PROF. KHUSHALI B. KATHIRIYA
  • 44. Normalized Cut(Ncut) Prepared by: Prof. Khushali B Kathiriya 44
  • 45. Ncut Segmentation Results Prepared by: Prof. Khushali B Kathiriya 45
  • 46. The Concept of Mean Shift PREPARED BY: PROF. KHUSHALI B. KATHIRIYA
  • 47. The Concept of Mean Shift Prepared by: Prof. Khushali B Kathiriya 47
  • 48. The Concept of Mean Shift (Cont.) Prepared by: Prof. Khushali B Kathiriya 48
  • 49. Hill Climbing using Mean Shift Prepared by: Prof. Khushali B Kathiriya 49
  • 50. Hill Climbing using Mean Shift (Cont.) Prepared by: Prof. Khushali B Kathiriya 50
  • 51. Hill Climbing using Mean Shift (Cont.) Prepared by: Prof. Khushali B Kathiriya 51
  • 52. Hill Climbing using Mean Shift (Cont.) Prepared by: Prof. Khushali B Kathiriya 52
  • 53. Hill Climbing using Mean Shift (Cont.) Prepared by: Prof. Khushali B Kathiriya 53
  • 54. Hill Climbing using Mean Shift (Cont.) Prepared by: Prof. Khushali B Kathiriya 54
  • 55. Mean Shift Algorithm Prepared by: Prof. Khushali B Kathiriya 55
  • 56. K-mean Vs. Mean shift Prepared by: Prof. Khushali B Kathiriya 56
  • 57. Example of K-mean Vs. Mean shift Prepared by: Prof. Khushali B Kathiriya 57
  • 58. Result of Mean Shift Segmentation Prepared by: Prof. Khushali B Kathiriya 58