Medical Image Computing (Cap 5937)
Medical Image Computing (Cap 5937)
Outline
• Introduction to Medical Image Segmentation, type of
segmentation methods, and definitions
– Recognition & Delineation
• Simplest Segmentation Method(s): Thresholding
– Otsu Thresholding
– Parametric Method
– PET Image Thresholding Methods
• ITM (Iterative Thresholding Method)
3
amygdala
hippocampus
Image Segmentation
Definition: Partitioning a picture/image into distinctive subsets is
called segmentation.
14
Image Segmentation
Definition: Partitioning a picture/image into distinctive subsets is
called segmentation.
Image Segmentation
Definition: Partitioning a picture/image into distinctive subsets is
called segmentation.
Image Segmentation
Definition: Partitioning a picture/image into distinctive subsets is
called segmentation.
Purpose: To extract object information
and represent this as a
hard/fuzzy geometric
structure.
Recognition: Determining the object’s
whereabouts in the scene.
(humans > computer)
Delineation: Determining the object’s
spatial extent and
composition in the scene.
(computers > humans)
17
Recognition - Example
Approaches to Recognition
• Model-based
• Knowledge-based - Non-interactive
• Atlas-based
• Human-assisted - Interactive
19
Approaches to Recognition
• Model-based
• Knowledge-based - Non-interactive
• Atlas-based
• Human-assisted - Interactive
Approaches to Delineations
pI (purely image-based) approaches
• Rely mostly on information available in the given image
only.
• Recognition: manual
21
Approaches to Delineations
pI (purely image-based) approaches
• Rely mostly on information available in the given image
only.
• Recognition: manual
Approaches to Delineations
pI (purely image-based) approaches
• Rely mostly on information available in the given image
only.
• Recognition: manual
Hybrid approaches
• Combine among pI and SM approaches.
• Recognition: model-based, automatic.
23
Classification of Methods
Boundary-based (BpI):
• optimum boundary
• active boundary
• live wire
• level sets
24
Classification of Methods
Boundary-based (BpI):
• optimum boundary
• active boundary
• live wire
• level sets
Region-based (RpI):
• clustering – kNN, CM, FCM
• graph cut
• fuzzy connectedness
• MRF
• watershed
• optimum partitioning
• (Mumford-Shah)
25
Classification of Methods
Boundary-based (BpI): SM Approaches
• optimum boundary • manual tracing
• active boundary • live wire
• live wire • active shape/appearance
• level sets • M-reps
• atlas-based
Region-based (RpI):
• clustering – kNN, CM, FCM
• graph cut
• fuzzy connectedness
• MRF
• watershed
• optimum partitioning
• (Mumford-Shah)
26
Classification of Methods
Boundary-based (BpI): SM Approaches
• optimum boundary • manual tracing
• active boundary • live wire
• live wire • active shape/appearance
• level sets • M-reps
• atlas-based
Region-based (RpI):
Hybrid Approaches
• clustering – kNN, CM, FCM
• graph cut • BpI + BpI
• fuzzy connectedness • RpI + RpI
• MRF • BpI + RpI
• watershed • BpI + SM
• optimum partitioning • RpI + SM
• (Mumford-Shah) • SM + SM
27
Classification of Methods
pI Approaches
Classification of Methods
SM Approaches
(
0 if I(x, y) < T
J(x, y) =
1 otherwise.
31
(
0 if I(x, y) < T
J(x, y) =
1 otherwise.
32
Brighter objects
Darker objects
33
Brighter objects
DIFFICULTIES
1. The valley may be so broad that
it is difficult to locate a
significant minimum
Darker objects 2. Number of minima due to type
of details in the image
3. Noise
4. No visible valley
5. Histogram may be multi-modal
34
Example: CT Scan
35
Example: CT Scan
36
Example: CT Scan
37
Example: CT Scan
38
Example: CT Scan
39
Thresholding Methods
• Huang
• Intermode
• Isodata
• Li
• MaxEntropy
• Mean
• MinError
• Otsu
• Percentile
• RenyiEntropy
• Moments
40
Thresholding Methods
• Huang
• Intermode
• Isodata
• Li
• MaxEntropy
• Mean
• MinError
• Otsu
• Percentile
• RenyiEntropy
• Moments
41
Thresholding Methods
• Huang PET Imaging
• Intermode Fixed Thresholding
• Isodata Adaptive Thresholding
• Li Iterative Thresholding
• MaxEntropy
• Mean
• MinError
• Otsu (non-parametric)
• Percentile
• RenyiEntropy
• Moments
42
Otsu Thresholding
• Definition: The method uses the grey-value histogram of the
given image I as input and aims at providing the best
threshold in the sense that the “overlap” between two
classes, set of object and background pixels, is minimized
(i.e., by finding the best balance).
43
Otsu Thresholding
• Definition: The method uses the grey-value histogram of the
given image I as input and aims at providing the best
threshold in the sense that the “overlap” between two
classes, set of object and background pixels, is minimized
(i.e., by finding the best balance).
Otsu Thresholding
• Definition: The method uses the grey-value histogram of the
given image I as input and aims at providing the best
threshold in the sense that the “overlap” between two
classes, set of object and background pixels, is minimized
(i.e., by finding the best balance).
Otsu Thresholding
• Definition: The method uses the grey-value histogram of the
given image I as input and aims at providing the best
threshold in the sense that the “overlap” between two
classes, set of object and background pixels, is minimized
(i.e., by finding the best balance).
u
u
X
P1 = p(i)
u
ı=0
GX
max
P2 = p(i)
ı=u+1
46
Otsu Thresholding
• Definition: The method uses the grey-value histogram of the
given image I as input and aims at providing the best
threshold in the sense that the “overlap” between two
classes, set of object and background pixels, is minimized
(i.e., by finding the best balance).
u u
X
X
P1 = p(i) µ1 = ip(i)/P1
ı=0
ı=0
GX
max
GX
max
µ2 = ip(i)/P2
P2 = p(i) ı=u+1
ı=u+1 CLASS MEANS
47
Otsu Thresholding-Algorithm
P1 P2
cI (u) 1 cI (u)
c indicates cumulative histogram, and P1 and P2
can be approximated well with cumulative density function.
48
Otsu Thresholding-Algorithm
2
b = P1 (µ1 µ)2 + P2 (µ2 µ)2 = P1 P2 (µ1 µ2 ) 2
P1 P2
cI (u) 1 cI (u)
c indicates cumulative histogram, and P1 and P2
can be approximated well with cumulative density function.
49
Otsu Thresholding-Algorithm
P1 P2
cI (u) 1 cI (u)
c indicates cumulative histogram, and P1 and P2
can be approximated well with cumulative density function.
50
Otsu Thresholding-Algorithm
P1 P2
cI (u) 1 cI (u)
c indicates cumulative histogram, and P1 and P2
can be approximated well with cumulative density function.
51
Otsu Thresholding-Algorithm
P1 P2
cI (u) 1 cI (u)
c indicates cumulative histogram, and P1 and P2
can be approximated well with cumulative density function.
52
Otsu Thresholding-Algorithm
P1 P2
cI (u) 1 cI (u)
c indicates cumulative histogram, and P1 and P2
can be approximated well with cumulative density function.
53
Otsu Thresholding-Algorithm
P1 P2 optimal
cI (u) 1 cI (u)
c indicates cumulative histogram, and P1 and P2
can be approximated well with cumulative density function.
54
• Due to the nature of PET images (i.e., low resolution with high
contrast), thresholding-based methods are suitable
– because the local or global intensity histogram usually provides a
sufficient level of information for separating the foreground (object of
interest) from the background. (Foster, Bagci, et al., CBM 2014)
63
Segmentation of the skull and the mandibula in CT images using thresholding. (a) Original CT
image of the head. (b) Result with a threshold value of 276 Hounsfield units. The segmented bony
structures are represented in color. (c) 3D rendering of the skull shows a congenital growth
deficiency of the mandibula in this 8-year-old patient. This information was used preoperatively to
plan a repositioning of the mandibula.
(Slice Credit: P.Seutens)
76
Thresholding can be done interactively and separates the image into different
regions. Valleys in the histogram indicate potentially useful threshold values
Credit: Toeonies, K.
77