SlideShare a Scribd company logo
1
Image Segmentation
2
Outline
 Introduction
 Edge-based segmentation
 Region-based segmentation
– Region Growing
– Split-and-merge
 Active contour models (snakes)
 Application in medical imaging
 Conclusion
 Assignment 2
3
Introduction
 What is Image segmentation ?
– The different partitioning of an image into non-
overlapping, constituent regions which are
homogeneous with respect to some characteristic
such as intensity or texture.
– Each of such homogeneous regions may
represent an object.
4
Introduction
The shape of an object can be described in terms of:
 Its boundary – requires image edge detection
 The region it occupies – requires image
segmentation in homogeneous regions, Image
regions generally have homogeneous
characteristics (e.g. intensity, texture)
 Segmentation methods are then classified into
– Edge-based
– Region-based
5
Edge-based Segmentation
 Emphasis:
– Determine the boundaries that separate regions
 Common approaches
– Find edge points in the image
 Gradient based methods
 Second order methods
– Linking these points in some way to produce
description of edges in terms of lines, curves etc
6
Detecting Edge points-Gradient based
methods
 An edge point is a point
where a discontinuity in
gradient occurs across
some line
 Different types of
discontinuity are shown
in the figure
7
Gradient based methods (cont.)
 The gradient is a vector whose components
measure how rapidly pixel values are changing
with distance, in the x and y directions
8
Gradient based methods (cont.)
 Considering dx=dy=1 (pixel spacing) and considering
a point (i,j)
Δx = f(i+1,j) – f(i,j)
Δy = f(i,j+1) – f(i,j)
Δx and Δy can be calculated by convolving the image
with convolution masks
9
Gradient based methods (cont.)
 To approximate the gradient along directions at 45o and 135o
to the axes respectively,
known as Roberts edge operator. The corresponding
convolution masks are
 Other 3x3 edge operators can be used such as Sobel and
Canny
10
Example
Original image Image produced by
the horizontal
gradient calculation
Image produced by
the vertical gradient
calculation
11
Example
Gradient image formed by combining horizontal
and vertical gradient detection
Gradient image is produced using
the magnitude M form
M = | Δx | + | Δy |
The gradient direction θ is equal
to
Θ = tan-1 (Δy / Δx )
12
Implementation using Matlab
 Read image and display it.
I = imread('coins.jpg'); imshow(I)
 Apply the Sobel and Canny
edge detectors to the image
and display them
BW1 = edge(I,'sobel');
BW2 = edge(I,'canny');
imshow(BW1) figure,
imshow(BW2)
Original image “coins.jpg”
13
Second order methods
 Laplacian operator
 The laplacian function is defined by
Laplacian mask
14
Edge Linking
 Edge detectors yield pixels that lie on edges
 The objective is to replace many points on
edges with real edges.
 Edge linking can be performed by:
– Local edge linkers – where edge points are
grouped according to their relationships with the
neighboring edge points.
– Global Edge Linkers – Hough transform
15
Hough Transform
 Allows recognition of global patterns in an
image
 Finds curves like straight lines, circles, etc
 Suppose that we are looking for straight lines
in an image
– If we take a point (x',y') in the image, all lines
which pass through that pixel have the form
y’ = mx’ +c
16
Hough Transform
 This equation can be
written as
c = -x’m + y’
where x’,y’ are constants
and m,c varies
 Each different line
through the point (x',y')
corresponds to one of
the points on the line in
(m,c) space
Lines through a
point
17
Hough Transform
 All pixels which lie on the
same line in (x,y) space are
represented by lines which
all pass through a single
point in (m,c) space.
 The single point through
which they all pass gives
the values of m and c in the
equation of the line y=mx+c.
18
Hough Transform
 The y=mx+c form for representing a straight line
breaks down for vertical lines, when m becomes
infinite.
 To avoid this problem, it is better to describe straight
lines in the form of
x cos θ + y sin θ = r
i.e. a point in (x,y) space is now represented by a curve
in (r,θ) space rather than a straight line
19
Hough Transform
 To detect straight lines in an image
1. Quantize (m,c) space into a two-dimensional array A for
appropriate steps of m and c.
2. Initialize all elements of A(m,c) to zero.
3. For each pixel (x',y') which lies on some edge in the image,
add 1 to all elements of A(m,c) whose indices m and c
satisfy y'=mx'+c.
4. Search for elements of A(m,c) which have large values --
Each one found corresponds to a line in the original image.
20
Hough Transform
 To find circles, with equation
(x – a)2 + (y – b)2 = r2
– Every point in (x,y) space corresponds to a surface in (a,b,r) space
(as we can vary any two of a, b and r, but the third is determined
by the equation of the circle).
– The basic method is, thus, modified to use a three-dimensional
array A(a,b,r),
– All points in it which satisfy the equation for a circle are
incremented.
 The technique takes rapidly increasing amounts of time for
more complicated curves as the number of variables (and
hence the number of dimensions of A) increases
21
Outline
 Introduction
 Edge-based segmentation
 Region-based segmentation
– Region Growing
– Split-and-merge
 Active contour models (snakes)
22
Region Growing
 A simple approach to image segmentation is
to start from some pixels (seeds)
representing distinct image regions and to
grow them, until they cover the entire image
 Before assigning a pixel x to a region Ri(k),
check if the region is homogeneous: i.e.
H(Ri(k) U {x}) = TRUE
23
Region Growing
 The arithmetic mean M and standard
deviation sd can be used to decide if merging
two regions R1,R2 is allowed
 if |M1 – M2| < (k)*sd(i) , i = 1, 2 , merge the
two regions
where k is a certain threshold
24
Split-and-Merge
 The opposite approach to region growing is region
splitting.
 The approach starts with the assumption that the
entire image is homogeneous
 If the entire image is not homogeneous, the image is
split into four sub images
 This splitting procedure is repeated recursively until
the image is split into homogeneous regions
25
Split-and-Merge
 Since the procedure is recursive, it produces
an image representation that can be
described by a tree whose nodes have four
children each
 Such a tree is called a Quadtree.
26
Split-and-Merge
Quadtree
R0 R1
R2
R3
R0
R1
R00 R01 R02 R04
27
Example
Image and a representation of its quadtree decomposition
28
Split-and-Merge
 Splitting techniques create regions that may
be adjacent and homogeneous, but not
merged.
 Split and Merge method is an iterative
algorithm that includes both splitting and
merging at each iteration. It produces more
compact regions than the splitting algorithms
29
Split-and-Merge Algorithm
 If a region R is inhomogeneous
(H(R)= False) then split into four sub regions
 If two adjacent regions Ri,Rj are
homogeneous (H(Ri U Rj) = TRUE), merge
them
 Stop when no further splitting or merging is
possible
30
Outline
 Introduction
 Edge-based segmentation
 Region-based segmentation
– Region Growing
– Split-and-merge
 Active contour models (snakes)
 Application in medical imaging
 Conclusion
31
Active Contour Models (Snakes)
 First introduced in 1987 by Kass et al, and gained
popularity since then.
 Represents an object boundary as a parametric
curve.
 An energy function E is associated with the curve.
 The problem of finding object boundary is an energy
minimization problem.
32
Framework for snakes
 A higher level process or a user
initializes any curve close to the
object boundary.
 The snake then starts
deforming and moving towards
the desired object boundary.
 In the end it completely “wraps”
around the object.
(Digram courtesy “Snakes, shapes, gradient vector flow”, Xu, Prince)
33
Snakes
 Contour possesses an energy (Esnake) which is defined as the
sum of the three energy terms.
where Einternal represents the internal energy of the spline due to
bending, Eexternal denotes image forces, and Econstraint denotes
external constraint forces.
 The energy terms are defined such that the final position of
the contour will have a minimum energy (Emin)
 Therefore the problem of detecting objects reduces to an
energy minimization problem.
int intsnake ernal external constraE E E E  
34
Outline
 Introduction
 Edge-based segmentation
 Region-based segmentation
– Region Growing
– Split-and-merge
 Active contour models (snakes)
 Application in medical imaging
 Conclusion
35
Application in medical imaging
 In-vivo segmentation: automating or facilitating the
delineation of anatomical structures and other
regions of interest
 Segmentation methods vary widely depending on
the specific application and imaging modality.
 There is currently no single segmentation method
that yields acceptable results for every medical
image.
 Selecting an appropriate approach to a
segmentation problem can be a difficult dilemma.
36
Example
 In reconstructing a 3D
model of a prostate, the
capsule contour needs to
be extracted from the
slices’ images
Capsule contour
37
Example
 The capsule consists of
collagen fibers tissues that
appear under the
microscope as wavy lines
(see figure)
However, the capsule line is sometimes unrecognizable because of the
naturally occurring intrusion of muscle into the prostate gland which
makes the segmentation problem more challenging.
38
Summary
 Introduction
 Edge-based segmentation
 Region-based segmentation
– Region Growing
– Split-and-merge
 Active contour models (snakes)
 Application in medical imaging
 Conclusion
39
Conclusion
 Edge detection and region growing algorithms are
very popular in most commercial image analysis
tools
 The reason is that they are simple to understand
and to implement, and they are very generic, as
they do not assume specific knowledge about the
objects to be analyzed.
 These methods are often the starting point for more
sophisticated model-based methods
40
Conclusion
 For complex image data, such as medical images,
their usefulness is quite limited.
 Effective image analysis methods must incorporate
a priori knowledge of the considered structures
such as photometric properties (object intensity,
contrast, texture); geometric properties (position,
shape, motion, deformation); and the context, such
as the relative position with respect to the other
objects in the neighborhood

More Related Content

What's hot

ppt on region segmentation by AJAY KUMAR SINGH (NITK)
ppt on region segmentation by AJAY KUMAR SINGH (NITK)ppt on region segmentation by AJAY KUMAR SINGH (NITK)
ppt on region segmentation by AJAY KUMAR SINGH (NITK)
Ajay Kumar Singh
 
Dip review
Dip reviewDip review
Dip review
Harish Reddy
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
asodariyabhavesh
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul Islam
Nazmul Islam
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.ppt
shankar64
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
Md Shabir Alam
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
ramya marichamy
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processing
VARUN KUMAR
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
AnupriyaDurai
 
Advance image processing
Advance image processingAdvance image processing
Advance image processing
AAKANKSHA JAIN
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
Bulbul Agrawal
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixels
VARUN KUMAR
 
Texture in image processing
Texture in image processing Texture in image processing
Texture in image processing
Anna Aquarian
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
A B Shinde
 
Image compression .
Image compression .Image compression .
Image compression .
Payal Vishwakarma
 
Image segmentation
Image segmentationImage segmentation
Image segmentationDeepak Kumar
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
asodariyabhavesh
 
Edge detection
Edge detectionEdge detection
Edge detection
Jyoti Dhall
 
Lec3: Pre-Processing Medical Images
Lec3: Pre-Processing Medical ImagesLec3: Pre-Processing Medical Images
Lec3: Pre-Processing Medical Images
Ulaş Bağcı
 

What's hot (20)

ppt on region segmentation by AJAY KUMAR SINGH (NITK)
ppt on region segmentation by AJAY KUMAR SINGH (NITK)ppt on region segmentation by AJAY KUMAR SINGH (NITK)
ppt on region segmentation by AJAY KUMAR SINGH (NITK)
 
Dip review
Dip reviewDip review
Dip review
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Segmentation
SegmentationSegmentation
Segmentation
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul Islam
 
Thresholding.ppt
Thresholding.pptThresholding.ppt
Thresholding.ppt
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Edge linking in image processing
Edge linking in image processingEdge linking in image processing
Edge linking in image processing
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 
Advance image processing
Advance image processingAdvance image processing
Advance image processing
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixels
 
Texture in image processing
Texture in image processing Texture in image processing
Texture in image processing
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Image compression .
Image compression .Image compression .
Image compression .
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Edge detection
Edge detectionEdge detection
Edge detection
 
Lec3: Pre-Processing Medical Images
Lec3: Pre-Processing Medical ImagesLec3: Pre-Processing Medical Images
Lec3: Pre-Processing Medical Images
 

Viewers also liked

Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation pptGichelle Amon
 
Image segmentation
Image segmentationImage segmentation
Image segmentationMukul Jindal
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUES
Vicky Kumar
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
Mostafa G. M. Mostafa
 
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
Image segmentation Image segmentation
Image segmentation techniques
Image segmentation techniquesImage segmentation techniques
Image segmentation techniques
gmidhubala
 
A comparison of image segmentation techniques, otsu and watershed for x ray i...
A comparison of image segmentation techniques, otsu and watershed for x ray i...A comparison of image segmentation techniques, otsu and watershed for x ray i...
A comparison of image segmentation techniques, otsu and watershed for x ray i...
eSAT Journals
 
Segmentation Techniques -II
Segmentation Techniques -IISegmentation Techniques -II
Segmentation Techniques -II
Hemantha Kulathilake
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
DEEPASHRI HK
 
CANCER CELL DETECTION USING DIGITAL IMAGE PROCESSING
CANCER  CELL  DETECTION USING DIGITAL IMAGE PROCESSINGCANCER  CELL  DETECTION USING DIGITAL IMAGE PROCESSING
CANCER CELL DETECTION USING DIGITAL IMAGE PROCESSING
kajikho9
 
Moving object detection
Moving object detectionMoving object detection
Moving object detectionManav Mittal
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
sakshij91
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquesSaideep
 
Readership Development
Readership DevelopmentReadership Development
One-Pass Clustering Superpixels
One-Pass Clustering SuperpixelsOne-Pass Clustering Superpixels
One-Pass Clustering Superpixels
Kesavan Yogarajah
 
A Literature Review on Iris Segmentation Techniques for Iris Recognition Systems
A Literature Review on Iris Segmentation Techniques for Iris Recognition SystemsA Literature Review on Iris Segmentation Techniques for Iris Recognition Systems
A Literature Review on Iris Segmentation Techniques for Iris Recognition Systems
IOSR Journals
 
Improvement of Image Deblurring Through Different Methods
Improvement of Image Deblurring Through Different MethodsImprovement of Image Deblurring Through Different Methods
Improvement of Image Deblurring Through Different Methods
IOSR Journals
 
Review of Image Segmentation Techniques based on Region Merging Approach
Review of Image Segmentation Techniques based on Region Merging ApproachReview of Image Segmentation Techniques based on Region Merging Approach
Review of Image Segmentation Techniques based on Region Merging Approach
Editor IJMTER
 

Viewers also liked (20)

Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
IMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUESIMAGE SEGMENTATION TECHNIQUES
IMAGE SEGMENTATION TECHNIQUES
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
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
Image segmentation Image segmentation
Image segmentation
 
Image segmentation techniques
Image segmentation techniquesImage segmentation techniques
Image segmentation techniques
 
A comparison of image segmentation techniques, otsu and watershed for x ray i...
A comparison of image segmentation techniques, otsu and watershed for x ray i...A comparison of image segmentation techniques, otsu and watershed for x ray i...
A comparison of image segmentation techniques, otsu and watershed for x ray i...
 
Segmentation Techniques -II
Segmentation Techniques -IISegmentation Techniques -II
Segmentation Techniques -II
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
CANCER CELL DETECTION USING DIGITAL IMAGE PROCESSING
CANCER  CELL  DETECTION USING DIGITAL IMAGE PROCESSINGCANCER  CELL  DETECTION USING DIGITAL IMAGE PROCESSING
CANCER CELL DETECTION USING DIGITAL IMAGE PROCESSING
 
Moving object detection
Moving object detectionMoving object detection
Moving object detection
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Readership Development
Readership DevelopmentReadership Development
Readership Development
 
One-Pass Clustering Superpixels
One-Pass Clustering SuperpixelsOne-Pass Clustering Superpixels
One-Pass Clustering Superpixels
 
A Literature Review on Iris Segmentation Techniques for Iris Recognition Systems
A Literature Review on Iris Segmentation Techniques for Iris Recognition SystemsA Literature Review on Iris Segmentation Techniques for Iris Recognition Systems
A Literature Review on Iris Segmentation Techniques for Iris Recognition Systems
 
CV(Dr.B.Kazemi)
CV(Dr.B.Kazemi)CV(Dr.B.Kazemi)
CV(Dr.B.Kazemi)
 
Improvement of Image Deblurring Through Different Methods
Improvement of Image Deblurring Through Different MethodsImprovement of Image Deblurring Through Different Methods
Improvement of Image Deblurring Through Different Methods
 
Review of Image Segmentation Techniques based on Region Merging Approach
Review of Image Segmentation Techniques based on Region Merging ApproachReview of Image Segmentation Techniques based on Region Merging Approach
Review of Image Segmentation Techniques based on Region Merging Approach
 

Similar to Image segmentation

06 robot vision
06 robot vision06 robot vision
06 robot vision
Tianlu Wang
 
Line Detection using Hough transform .pptx
Line Detection using Hough transform .pptxLine Detection using Hough transform .pptx
Line Detection using Hough transform .pptx
shubham loni
 
Detection of Seam Carving in Uncompressed Images using eXtreme Gradient Boosting
Detection of Seam Carving in Uncompressed Images using eXtreme Gradient BoostingDetection of Seam Carving in Uncompressed Images using eXtreme Gradient Boosting
Detection of Seam Carving in Uncompressed Images using eXtreme Gradient Boosting
IJCSIS Research Publications
 
Image segmentation Based on Chan-Vese Active Contours using Finite Difference...
Image segmentation Based on Chan-Vese Active Contours using Finite Difference...Image segmentation Based on Chan-Vese Active Contours using Finite Difference...
Image segmentation Based on Chan-Vese Active Contours using Finite Difference...
ijsrd.com
 
regions
regionsregions
regions
mjbahmani
 
A new hybrid method for the segmentation of the brain mris
A new hybrid method for the segmentation of the brain mrisA new hybrid method for the segmentation of the brain mris
A new hybrid method for the segmentation of the brain mris
sipij
 
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUESA STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
cscpconf
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
MadhuriMulik1
 
ImageSegmentation (1).ppt
ImageSegmentation (1).pptImageSegmentation (1).ppt
ImageSegmentation (1).ppt
NoorUlHaq47
 
ImageSegmentation.ppt
ImageSegmentation.pptImageSegmentation.ppt
ImageSegmentation.ppt
AVUDAI1
 
ImageSegmentation.ppt
ImageSegmentation.pptImageSegmentation.ppt
ImageSegmentation.ppt
DEEPUKUMARR
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
Ankur Tyagi
 
image segmentation by ppres.pptx
image segmentation by ppres.pptximage segmentation by ppres.pptx
image segmentation by ppres.pptx
mohan134666
 
Electrical Engineering Assignment Help
Electrical Engineering Assignment HelpElectrical Engineering Assignment Help
Electrical Engineering Assignment Help
Matlab Assignment Experts
 
Joint3DShapeMatching - a fast approach to 3D model matching using MatchALS 3...
Joint3DShapeMatching  - a fast approach to 3D model matching using MatchALS 3...Joint3DShapeMatching  - a fast approach to 3D model matching using MatchALS 3...
Joint3DShapeMatching - a fast approach to 3D model matching using MatchALS 3...
Mamoon Ismail Khalid
 
Curves and surfaces
Curves and surfacesCurves and surfaces
Curves and surfaces
Mohammed Mahmoud
 
On mesh
On meshOn mesh
47549379 paper-on-image-processing
47549379 paper-on-image-processing47549379 paper-on-image-processing
47549379 paper-on-image-processing
maisali4
 
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
IJERA Editor
 

Similar to Image segmentation (20)

06 robot vision
06 robot vision06 robot vision
06 robot vision
 
Line Detection using Hough transform .pptx
Line Detection using Hough transform .pptxLine Detection using Hough transform .pptx
Line Detection using Hough transform .pptx
 
Detection of Seam Carving in Uncompressed Images using eXtreme Gradient Boosting
Detection of Seam Carving in Uncompressed Images using eXtreme Gradient BoostingDetection of Seam Carving in Uncompressed Images using eXtreme Gradient Boosting
Detection of Seam Carving in Uncompressed Images using eXtreme Gradient Boosting
 
Image segmentation Based on Chan-Vese Active Contours using Finite Difference...
Image segmentation Based on Chan-Vese Active Contours using Finite Difference...Image segmentation Based on Chan-Vese Active Contours using Finite Difference...
Image segmentation Based on Chan-Vese Active Contours using Finite Difference...
 
regions
regionsregions
regions
 
A new hybrid method for the segmentation of the brain mris
A new hybrid method for the segmentation of the brain mrisA new hybrid method for the segmentation of the brain mris
A new hybrid method for the segmentation of the brain mris
 
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUESA STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
A STUDY AND ANALYSIS OF DIFFERENT EDGE DETECTION TECHNIQUES
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
ImageSegmentation (1).ppt
ImageSegmentation (1).pptImageSegmentation (1).ppt
ImageSegmentation (1).ppt
 
ImageSegmentation.ppt
ImageSegmentation.pptImageSegmentation.ppt
ImageSegmentation.ppt
 
ImageSegmentation.ppt
ImageSegmentation.pptImageSegmentation.ppt
ImageSegmentation.ppt
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
 
Joint3DShapeMatching
Joint3DShapeMatchingJoint3DShapeMatching
Joint3DShapeMatching
 
image segmentation by ppres.pptx
image segmentation by ppres.pptximage segmentation by ppres.pptx
image segmentation by ppres.pptx
 
Electrical Engineering Assignment Help
Electrical Engineering Assignment HelpElectrical Engineering Assignment Help
Electrical Engineering Assignment Help
 
Joint3DShapeMatching - a fast approach to 3D model matching using MatchALS 3...
Joint3DShapeMatching  - a fast approach to 3D model matching using MatchALS 3...Joint3DShapeMatching  - a fast approach to 3D model matching using MatchALS 3...
Joint3DShapeMatching - a fast approach to 3D model matching using MatchALS 3...
 
Curves and surfaces
Curves and surfacesCurves and surfaces
Curves and surfaces
 
On mesh
On meshOn mesh
On mesh
 
47549379 paper-on-image-processing
47549379 paper-on-image-processing47549379 paper-on-image-processing
47549379 paper-on-image-processing
 
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
Image Restoration UsingNonlocally Centralized Sparse Representation and histo...
 

More from Rania H

Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
Rania H
 
Puberty in Islam for Boys
Puberty in Islam for BoysPuberty in Islam for Boys
Puberty in Islam for Boys
Rania H
 
Passive filters
Passive filtersPassive filters
Passive filters
Rania H
 
Women and Youth affairs @ICOB
Women and Youth affairs @ICOBWomen and Youth affairs @ICOB
Women and Youth affairs @ICOB
Rania H
 
Islam 101
Islam 101Islam 101
Islam 101Rania H
 
Puberty for girls in Islam
Puberty for girls in IslamPuberty for girls in Islam
Puberty for girls in IslamRania H
 
Women In Islam
Women In IslamWomen In Islam
Women In IslamRania H
 
Many Cultures One Community May 2012
Many Cultures One Community May 2012Many Cultures One Community May 2012
Many Cultures One Community May 2012
Rania H
 

More from Rania H (8)

Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Puberty in Islam for Boys
Puberty in Islam for BoysPuberty in Islam for Boys
Puberty in Islam for Boys
 
Passive filters
Passive filtersPassive filters
Passive filters
 
Women and Youth affairs @ICOB
Women and Youth affairs @ICOBWomen and Youth affairs @ICOB
Women and Youth affairs @ICOB
 
Islam 101
Islam 101Islam 101
Islam 101
 
Puberty for girls in Islam
Puberty for girls in IslamPuberty for girls in Islam
Puberty for girls in Islam
 
Women In Islam
Women In IslamWomen In Islam
Women In Islam
 
Many Cultures One Community May 2012
Many Cultures One Community May 2012Many Cultures One Community May 2012
Many Cultures One Community May 2012
 

Recently uploaded

Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
RicletoEspinosa1
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
dxobcob
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
bhadouriyakaku
 
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptxTOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
nikitacareer3
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 

Recently uploaded (20)

Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
 
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptxTOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 

Image segmentation

  • 2. 2 Outline  Introduction  Edge-based segmentation  Region-based segmentation – Region Growing – Split-and-merge  Active contour models (snakes)  Application in medical imaging  Conclusion  Assignment 2
  • 3. 3 Introduction  What is Image segmentation ? – The different partitioning of an image into non- overlapping, constituent regions which are homogeneous with respect to some characteristic such as intensity or texture. – Each of such homogeneous regions may represent an object.
  • 4. 4 Introduction The shape of an object can be described in terms of:  Its boundary – requires image edge detection  The region it occupies – requires image segmentation in homogeneous regions, Image regions generally have homogeneous characteristics (e.g. intensity, texture)  Segmentation methods are then classified into – Edge-based – Region-based
  • 5. 5 Edge-based Segmentation  Emphasis: – Determine the boundaries that separate regions  Common approaches – Find edge points in the image  Gradient based methods  Second order methods – Linking these points in some way to produce description of edges in terms of lines, curves etc
  • 6. 6 Detecting Edge points-Gradient based methods  An edge point is a point where a discontinuity in gradient occurs across some line  Different types of discontinuity are shown in the figure
  • 7. 7 Gradient based methods (cont.)  The gradient is a vector whose components measure how rapidly pixel values are changing with distance, in the x and y directions
  • 8. 8 Gradient based methods (cont.)  Considering dx=dy=1 (pixel spacing) and considering a point (i,j) Δx = f(i+1,j) – f(i,j) Δy = f(i,j+1) – f(i,j) Δx and Δy can be calculated by convolving the image with convolution masks
  • 9. 9 Gradient based methods (cont.)  To approximate the gradient along directions at 45o and 135o to the axes respectively, known as Roberts edge operator. The corresponding convolution masks are  Other 3x3 edge operators can be used such as Sobel and Canny
  • 10. 10 Example Original image Image produced by the horizontal gradient calculation Image produced by the vertical gradient calculation
  • 11. 11 Example Gradient image formed by combining horizontal and vertical gradient detection Gradient image is produced using the magnitude M form M = | Δx | + | Δy | The gradient direction θ is equal to Θ = tan-1 (Δy / Δx )
  • 12. 12 Implementation using Matlab  Read image and display it. I = imread('coins.jpg'); imshow(I)  Apply the Sobel and Canny edge detectors to the image and display them BW1 = edge(I,'sobel'); BW2 = edge(I,'canny'); imshow(BW1) figure, imshow(BW2) Original image “coins.jpg”
  • 13. 13 Second order methods  Laplacian operator  The laplacian function is defined by Laplacian mask
  • 14. 14 Edge Linking  Edge detectors yield pixels that lie on edges  The objective is to replace many points on edges with real edges.  Edge linking can be performed by: – Local edge linkers – where edge points are grouped according to their relationships with the neighboring edge points. – Global Edge Linkers – Hough transform
  • 15. 15 Hough Transform  Allows recognition of global patterns in an image  Finds curves like straight lines, circles, etc  Suppose that we are looking for straight lines in an image – If we take a point (x',y') in the image, all lines which pass through that pixel have the form y’ = mx’ +c
  • 16. 16 Hough Transform  This equation can be written as c = -x’m + y’ where x’,y’ are constants and m,c varies  Each different line through the point (x',y') corresponds to one of the points on the line in (m,c) space Lines through a point
  • 17. 17 Hough Transform  All pixels which lie on the same line in (x,y) space are represented by lines which all pass through a single point in (m,c) space.  The single point through which they all pass gives the values of m and c in the equation of the line y=mx+c.
  • 18. 18 Hough Transform  The y=mx+c form for representing a straight line breaks down for vertical lines, when m becomes infinite.  To avoid this problem, it is better to describe straight lines in the form of x cos θ + y sin θ = r i.e. a point in (x,y) space is now represented by a curve in (r,θ) space rather than a straight line
  • 19. 19 Hough Transform  To detect straight lines in an image 1. Quantize (m,c) space into a two-dimensional array A for appropriate steps of m and c. 2. Initialize all elements of A(m,c) to zero. 3. For each pixel (x',y') which lies on some edge in the image, add 1 to all elements of A(m,c) whose indices m and c satisfy y'=mx'+c. 4. Search for elements of A(m,c) which have large values -- Each one found corresponds to a line in the original image.
  • 20. 20 Hough Transform  To find circles, with equation (x – a)2 + (y – b)2 = r2 – Every point in (x,y) space corresponds to a surface in (a,b,r) space (as we can vary any two of a, b and r, but the third is determined by the equation of the circle). – The basic method is, thus, modified to use a three-dimensional array A(a,b,r), – All points in it which satisfy the equation for a circle are incremented.  The technique takes rapidly increasing amounts of time for more complicated curves as the number of variables (and hence the number of dimensions of A) increases
  • 21. 21 Outline  Introduction  Edge-based segmentation  Region-based segmentation – Region Growing – Split-and-merge  Active contour models (snakes)
  • 22. 22 Region Growing  A simple approach to image segmentation is to start from some pixels (seeds) representing distinct image regions and to grow them, until they cover the entire image  Before assigning a pixel x to a region Ri(k), check if the region is homogeneous: i.e. H(Ri(k) U {x}) = TRUE
  • 23. 23 Region Growing  The arithmetic mean M and standard deviation sd can be used to decide if merging two regions R1,R2 is allowed  if |M1 – M2| < (k)*sd(i) , i = 1, 2 , merge the two regions where k is a certain threshold
  • 24. 24 Split-and-Merge  The opposite approach to region growing is region splitting.  The approach starts with the assumption that the entire image is homogeneous  If the entire image is not homogeneous, the image is split into four sub images  This splitting procedure is repeated recursively until the image is split into homogeneous regions
  • 25. 25 Split-and-Merge  Since the procedure is recursive, it produces an image representation that can be described by a tree whose nodes have four children each  Such a tree is called a Quadtree.
  • 27. 27 Example Image and a representation of its quadtree decomposition
  • 28. 28 Split-and-Merge  Splitting techniques create regions that may be adjacent and homogeneous, but not merged.  Split and Merge method is an iterative algorithm that includes both splitting and merging at each iteration. It produces more compact regions than the splitting algorithms
  • 29. 29 Split-and-Merge Algorithm  If a region R is inhomogeneous (H(R)= False) then split into four sub regions  If two adjacent regions Ri,Rj are homogeneous (H(Ri U Rj) = TRUE), merge them  Stop when no further splitting or merging is possible
  • 30. 30 Outline  Introduction  Edge-based segmentation  Region-based segmentation – Region Growing – Split-and-merge  Active contour models (snakes)  Application in medical imaging  Conclusion
  • 31. 31 Active Contour Models (Snakes)  First introduced in 1987 by Kass et al, and gained popularity since then.  Represents an object boundary as a parametric curve.  An energy function E is associated with the curve.  The problem of finding object boundary is an energy minimization problem.
  • 32. 32 Framework for snakes  A higher level process or a user initializes any curve close to the object boundary.  The snake then starts deforming and moving towards the desired object boundary.  In the end it completely “wraps” around the object. (Digram courtesy “Snakes, shapes, gradient vector flow”, Xu, Prince)
  • 33. 33 Snakes  Contour possesses an energy (Esnake) which is defined as the sum of the three energy terms. where Einternal represents the internal energy of the spline due to bending, Eexternal denotes image forces, and Econstraint denotes external constraint forces.  The energy terms are defined such that the final position of the contour will have a minimum energy (Emin)  Therefore the problem of detecting objects reduces to an energy minimization problem. int intsnake ernal external constraE E E E  
  • 34. 34 Outline  Introduction  Edge-based segmentation  Region-based segmentation – Region Growing – Split-and-merge  Active contour models (snakes)  Application in medical imaging  Conclusion
  • 35. 35 Application in medical imaging  In-vivo segmentation: automating or facilitating the delineation of anatomical structures and other regions of interest  Segmentation methods vary widely depending on the specific application and imaging modality.  There is currently no single segmentation method that yields acceptable results for every medical image.  Selecting an appropriate approach to a segmentation problem can be a difficult dilemma.
  • 36. 36 Example  In reconstructing a 3D model of a prostate, the capsule contour needs to be extracted from the slices’ images Capsule contour
  • 37. 37 Example  The capsule consists of collagen fibers tissues that appear under the microscope as wavy lines (see figure) However, the capsule line is sometimes unrecognizable because of the naturally occurring intrusion of muscle into the prostate gland which makes the segmentation problem more challenging.
  • 38. 38 Summary  Introduction  Edge-based segmentation  Region-based segmentation – Region Growing – Split-and-merge  Active contour models (snakes)  Application in medical imaging  Conclusion
  • 39. 39 Conclusion  Edge detection and region growing algorithms are very popular in most commercial image analysis tools  The reason is that they are simple to understand and to implement, and they are very generic, as they do not assume specific knowledge about the objects to be analyzed.  These methods are often the starting point for more sophisticated model-based methods
  • 40. 40 Conclusion  For complex image data, such as medical images, their usefulness is quite limited.  Effective image analysis methods must incorporate a priori knowledge of the considered structures such as photometric properties (object intensity, contrast, texture); geometric properties (position, shape, motion, deformation); and the context, such as the relative position with respect to the other objects in the neighborhood