Tutorial-Preprocessing
Tutorial-Preprocessing
• Effects which appear in the reconstructed images and are not present in the true anatomy
• They can lead to misdiagnosis if not adequately identified
• Motion artefacts
• Partial volume
• Reconstruction artefacts
• Magnetic field artefacts
• RF artefacts
• Noise
5
Motion artefacts
Time
Measurements
6
Motion artefacts
Time
Measurements
7
Motion artefacts
Time
Measurements
8
Motion artefacts
Time
Measurements
9
Motion artefacts
10
Partial volume effect
20 mm thickness 2 mm thickness
• Field inhomogeneities are cause by environmental factors, improper shimming and the use
of short bore magnets
15
Image preprocessing
Image
17
Image preprocessing
• Image enhancement
18
Image preprocessing
• Image enhancement
19
Image preprocessing
• Image enhancement
20
Image preprocessing
• Image enhancement
21
Image preprocessing
22
Image preprocessing
23
Image preprocessing
24
Image preprocessing
25
Image preprocessing
• Intensity standardisation
• Denoising
26
Histogram of intensities
Frequency
Intensity
27
Histogram of intensities
Frequency
Intensity
28
Intensity standardisation
• z-score transformation
• Compute mean intensity and standard deviation
• Subtract from all intensities and divide by standard deviation
31
Denoising
32
Mean filter
• For each voxel, replace its value by mean intensity in its neighbourhood
mean(30+20+90+20+24)
33
Mean filter
• For each voxel, replace its value by mean intensity in its neighbourhood
mean(25+90+22+20+26)
34
Mean filter
• For each voxel, replace its value by mean intensity in its neighbourhood
mean(20+20+30)
35
Mean filter
• For each voxel, replace its value by mean intensity in its neighbourhood
36
Mean filter
37
Mean filter
mean(30+20+90+20+24)
38
Mean filter
mean(25+30+25+20+90+20+28+24+26)
39
Mean filter
mean(20+30+20+23+31+20+25+30+25+
20+30+20+90+20+22+25+28+24+26+20
+50+12+26+21+23)
40
Mean filter
Original 3x3
5x5 10x10
41
Median filter
• For each voxel, replace its value by median intensity in its neighbourhood
median (25, 30, 25, 20, 90, 20, 28, 24, 26)
42
Median filter
Original 3x3
5x5 10x10
43
Mean vs median filter
44
Protecting details from being filtered
45
Protecting details from being filtered
Drastic change of
values!
46
Protecting details from being filtered
Edge
47
Protecting details from being filtered
48
Preprocessing
Jose Bernal, BEng MSc PhD (e)
Email: [email protected]