Folie 1 - uni

Download Report

Transcript Folie 1 - uni

Medical Imaging
Mohammad Dawood
Department of Computer Science
University of Münster
Germany
Medical Imaging, SS-2011
Recap
Mohammad Dawood
2
Medical Imaging, SS-2011
Grayscale transformations
1. Linear
2. Logarithmic
3. Power law
Point operations
Local operators
1.
2.
3.
4.
5.
Histogram Equalization
Adpative/Local Hist Eq
Color space
Fourier transform
Spatial filtering
Mohammad Dawood
3
3
3
3
0
3
5
3
3
0
1
1
1
3
3
3
3
0
1
1
1
0
0
0
0
0
1
1
1
0
0
0
0
0
3
Medical Imaging, SS-2011
Edge detection
Mohammad Dawood
4
Medical Imaging, SS-2011
Recognizing the edge
15 15 15 15 15
0
0
0
0
0
15 15 15 15 15
0
0
0
0
0
15 15 15 15 15
0
0
0
0
0
0
0
0
0
0
Mohammad Dawood
*
1
-1
=
15 15 15 15 15
0
0
0
0
0
0
0
0
0
0
5
Medical Imaging, SS-2011
Increasing edge thickness
- easier to detect and better connected edges
15 15 15 15 15
15 15 15 15 15
15 15 15 15 15
0
0
0
0
0
0
0
0
0
0
Mohammad Dawood
1
*
0
-1
=
0
0
0
0
0
0
0
0
0
0
15 15 15 15 15
15 15 15 15 15
0
0
0
0
0
6
Medical Imaging, SS-2011
Strengthening the edges
15 15 15 15 15
15 15 15 15 15
15 15 15 15 15
0
0
0
0
0
0
0
0
0
0
Mohammad Dawood
*
1
1
1
0
0
0
-1 -1 -1
=
0
0
0
0
0
0
0
0
0
0
45 45 45 45 45
45 45 45 45 45
0
0
0
0
0
7
Medical Imaging, SS-2011
Edge detection with spatial operators
Prewitt operators
Mohammad Dawood
1
1
1
1
0
-1
0
0
0
1
0
-1
-1 -1 -1
1
0
-1
8
Medical Imaging, SS-2011
Adding operators
1
1
1
0
0
0
-1 -1 -1
Mohammad Dawood
+
1
0
-1
1
0
-1
1
0
-1
=
2
1
0
1
0
-1
0
-1 -2
9
Medical Imaging, SS-2011
Derivatives of an image
-1 1
1
-2 1
Magnitude of gradient:
Angle:
Mohammad Dawood
10
Medical Imaging, SS-2011
First derivative
-1
Forward difference
1
-1
-0.5
0
Backward difference
Central difference
MRI Spine
Mohammad Dawood
fw
1
0.5
bw
cd
bw_i
bw+bw_i
11
Medical Imaging, SS-2011
Laplace operator
0
1
0
1
-4
1
0
1
0
H+V
Mohammad Dawood
Laplace
12
Medical Imaging, SS-2011
Cardiac PET
Mohammad Dawood
13
Medical Imaging, SS-2011
Gaussian+Gradient
15 15 15 15 15
15 15 15 15 15
15 15 15 15 15
0
0
0
0
0
0
0
0
0
0
Mohammad Dawood
*
1
2
1
0
0
0
-1 -2 -1
=
0
0
0
0
0
0
0
0
0
0
60 60 60 60 60
60 60 60 60 60
0
0
0
0
0
14
Medical Imaging, SS-2011
Edge detection with spatial operators
Sobel operators
Mohammad Dawood
1
2
1
1
0
-1
0
0
0
2
0
-2
-1 -2 -1
1
0
-1
15
Medical Imaging, SS-2011
1
2
1
0
0
0
-1 -2 -1
Mohammad Dawood
+
1
0
-1
2
0
-2
1
0
-1
=
2
2
0
2
0
-2
0
-2 -2
16
Medical Imaging, SS-2011
Edge detection with spatial operators
Scharr operators
Mohammad Dawood
3
10
3
3
0
-3
0
0
0
10
0
-10
-3
-10
-3
3
0
-3
17
Medical Imaging, SS-2011
Edge detection with spatial operators
Roberts operators
Mohammad Dawood
1
0
0
-1
+
0
1
-1
0
18
Medical Imaging, SS-2011
Canny operator
Gaussian for noise reduction
Calculation of edges in four directions (sobel operator)
non-maximum suppression
angle zero: if intensity >the intensities in the N and S directions
angle is 90: if intensity >the intensities in the W and E directions
angle is 135: if intensity >the intensities in the NE and SW directions
angle is 45 degrees: if intensity >the intensities in the NW and SE directions
Mohammad Dawood
19
Medical Imaging, SS-2011
Canny operator
Mohammad Dawood
th=0.5
th=0.1
20
Medical Imaging, SS-2011
Marr-Hildreth operator
Laplace of the Gaussian (LoG)
Mohammad Dawood
21
Medical Imaging, SS-2011
Marr Hildreth operator
Mohammad Dawood
sigma=1
sigma=2
22
Medical Imaging, SS-2011
Marr Hildreth operator
Mohammad Dawood
23
Medical Imaging, SS-2011
Hough Transform
Mohammad Dawood
24
Medical Imaging, SS-2011
Hough transform for detecting lines
A line can be defined as:
Take the edge map of the image I
Look for the neighbors of a pixel and
determine m and b
Accumulate the m and b in an accumulator
array
Find the maxima of the accumulator array
Transform them back to image space
Mohammad Dawood
25
Medical Imaging, SS-2011
Hough transform for detecting lines
Alternative definition of lines
Mohammad Dawood
26
Medical Imaging, SS-2011
Hough transform
Similar transforms can be defined for circles,
ellipses or other parametric curves
Mohammad Dawood
27
Medical Imaging, SS-2011
Morphological operations
Mohammad Dawood
28
Medical Imaging, SS-2011
Morphological operators
Operations are based on Set Theory and require a structure element
Basic morphological operations are:
1. Erosion
2. Dilation
3. Opening
4. Closing
Mohammad Dawood
29
Medical Imaging, SS-2011
Erosion
If A is an image and B is a structure element then
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
1
0
0
0
0
0
1
0
Mohammad Dawood
0
0
0
0
0
0
0
0
1
0
0
1
X
1
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
30
Medical Imaging, SS-2011
Dilation
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
1
0
0
0
0
0
1
0
Mohammad Dawood
0
1
1
1
0
0
1
1
1
1
0
X1
1
0
1
1
1
0
1
0
0
1
1
1
0
0
0
1
1
0
31
Medical Imaging, SS-2011
Closing
Dilation + Erosion
Mohammad Dawood
32
Medical Imaging, SS-2011
Opening
Erosion + Dilation
Mohammad Dawood
33