Download presentation
Presentation is loading. Please wait.
Published bySilas Snow Modified over 9 years ago
1
Chapter 8: Analysis of Oriented Patterns Tuomas Neuvonen Tommi Tykkälä
2
Outline Oriented patterns in medical images Metrics Directional filtering Gabor filters Directional analysis & multiscale edge detection Hough-Radon transform Example usage of Gabor filter
3
Oriented patterns In natural materials, strength and functionality is derived from highly coherent structures and fibers Bones, muscles, ligaments, blood vessels, brain white matter etc. Patterns may contain meaningful information about the pathology
4
Example:Mammogram
5
Example: ligament healing, 3 weeks
6
Example: ligament healing, 6 weeks
7
Example: ligament healing, 14 weeks
8
Measures of Directional Distribution Usually no need to separate α and (180º - α) → analysis limited to [0,180 º] Analysis methods: The rose diagram The principal axis Angular moments Distance measures Entropy
9
The rose diagram The rose diagram is a circular histogram of directional elements. 360 º divided into n sectors The radius is usually set proportional to the area of corresponding dir. elements Linear proportionality can be achieved by taking square root of the area as radius.
10
The principal axis Corresponds the dominant axis of directional elements Energy function for angle m = ∫ x ∫ y [ xsin – ycos ] 2 f(x,y)dxdy Can be written with moments: m = m 20 *sin 2 -2m 11 sin cos +m 02 cos 2 Minima of m is calculated by setting derivative to zero → tan(2 = 2m 11 /(m 20 -m 02 ) →
11
Angular moments Angular moments analogous to normalized moments M k =∑ 1 N k (n)*p(n) p(n) is normalized directional distribution vector (=circular histogram) * (n) is the center of n th angle band in degrees
12
Distance measures Directional distributions can be compared Useful for example when having an ideal result and testing which method works the best Euclidian distance is calculated between two directional distribution vectors
13
Entropy Measures the scatter of directional elements H = - ∑ 1 N p(n)*log[p(n)] p(n) is the directional distribution vector as before
14
Directional Filtering Linear segments form a sinc function in Fourier domain: – Line in Fourier domain: – Fan filter example, fig 8.2
15
Fourier transform of a line
16
Fan filter (fig 8.2)
17
Fourier domain techniques Good: – select lines by their orientation Bad: – junctions and occlusions smeared – truncation and spectral leaking (filter design important) – Fourier domain filters not analytic, generalization difficult – Difficulty in solving directional information at DC (near origin of Fourier domain)
18
Gabor filters Complex, sinusoidally modulated Gaussian functions Optimal localization in freq and time domains Limited in time domain -> unlimited in spectral domain (and vice versa)
19
Gabor filters Uncertainty principle: In 2D: Gabor functions: (fig 8.7) Essentially low-pass filters with directional selectivity
20
Gabor function (fig 8.7)
21
Division of the frequency domain by Gabor filters
22
Gabor filters σ = spatial extent of the filter λ = aspect ratio orientation Proposed usage by Rolston and Rangayyan: – Convolve band-limited and decimated versions of the image with the same wavelet
23
Gabor filters Reconstruction of filter output: – Filter responses at different angles – Vector summation of responses (magnitude and phase) – Figs. 8.10, 8.11.
24
Gabor filter responses (fig 8.10)
25
Gabor filtering (fig 8.11)
26
Directional analysis via Multi-scale Edge Detection The goal is to get directional metrics from an image containing a big number of oriented collagen fibers Problem: How to get the area of directional elements associated to a certain direction? When solved, metrics can be calculated
27
Edge/Region detection (fig 8.12)
28
Step 1: Calculate stability map containing edge information from many scales Step 2: Generate relative stability index map from stability map Step 3: Extract lines from rsim Step 4: Extract regions from lines Step 5: Calculate areas for regions Step 6: Compute orientational distribution Step 7: Compute metrics (entropy, ang. moments…) Directional analysis via Multi-scale Edge Detection
29
Hough-Radon Transform Analysis With Hough-transform it is possible to detect lines from an image easily Drawback: applicable to only binary images! Radon-transform similar but defined for grayscales and has different coordinate system Hough-Radon is defined for grayscales and adds gray levels in parameter space rather than increments by one
30
The basic idea Map each (x n,y n,c) from grayscale image to a sine curve in parametric space (x i cos(a)+y i sin(a) more specifically) Filter incremented sine curves using a peak detecting filter Integrate columns of parametric image and normalize to get directional distribution
31
Hough-Radon dir. analysis (fig 8.18)
32
Problems “Crosstalk”: several parallel lines cause false peaks in parametric space False peaks are in 90deg angle compared to real lines in original image Quantization errors: quantization levels of data in original and parametric space affect the accuracy of the results
33
Application: Bilateral Asymmetry in Mammograms Asymmetry between left and right mammograms important for diagnosis Problems: – Natural asymmetry – Alignment difficult – Distortions due to imaging conditions Use Gabor wavelets to detect possible global disturbance
34
Application: Bilateral asymmetry... Segmentation of fibroglandular disc – Gaussian mixture model of breast density, at least 4 tissue types – Model selection and expectation maximization (EM) algorithm Delimitation of fibroglandular disc – Apply constraints to EM algorithm
35
Segmentation
36
Application: Bilateral asymmetry... Directional analysis with Gabor filters (Ferrari et al): Basis functions Lack of orthogonality affects reconstruction Use even symmetric part of Gabor filter Choice of parameters: λ, σ, frequencies of interest, number of scales, number of directions
37
Examples of Gabor wavelets
38
Gabor in frequency domain
39
Application: Bilateral asymmetry... Results – After Gabor filter analysis, construct rose diagrams – Use entropy, first and second moments of rose diagram in objective assessment
40
Principal components
41
Rose diagram
42
Summary Analysis of oriented patterns is an active field of study Different metrics can be used to classify the level of directionality Fourier based methods detect orientations, but perform poorly on junctions Filter design important Gabor filters offer flexibility Hough-Radon transform is a general tool for directionality analysis, but suffers from problems such as crosstalk and quantization errors
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.