You are on page 1of 4

Adaptive Fractal Filtering of Echocardiograms

Milorad P. Paskaš, Member, IEEE, Ana M. Gavrovska, Member, IEEE, Dragi M. Dujkoviü and
Branimir D. Reljin, Senior Member, IEEE

 Some filters from the literature (Lee’s, Kuan’s, or Frost’s


Abstract— Echocardiograms are inherently corrupted by the filter), which are based on image statistics, are employed for
speckle noise. Elimination of the noise is usually treated with low- adaptive image despeckling. They observe local mean value
pass filters which can degrade edges in the image. Adaptive and standard deviation in the image. Low-pass image filtering
approaches employ masks for edges and restrict low-pass
filtering mainly to homogeneous regions. Masks are based on
is conducted with respect to statistical parameters: the pixels
statistical parameters or gradients. In this paper are applied local with low standard deviation are strongly filtered while pixels
dimension matrices from fractal model as masks. Experimental with high standard deviation (most probably edge pixels) are
tests are conducted for two simple low-pass filters (i) average less affected by low-pass filter.
filter and Gaussian filter (ii) and using three multifractal Filters based on diffusion controlled with image gradient
measures known from the literature – MIN, MAX and OSC (e.g. Speckle Reducing Anisotropic Diffusion filter [2]) locate
measure. Obtained results for adaptive approaches show
improvements over non-adaptive approaches in all analyzed
edges with gradient masks instead of standard deviation.
scenarios. Gradient operators are used as edge detectors and high values
of gradient indicate edges.
Index Terms—Echocardiogram, fractal dimension, image Filtering techniques used in this paper represent adapted
denoising, speckle noise, ultrasound. fractal techniques proposed in [3] and [4], where they were
used for filtering of natural images. Edges are detected within
these techniques using local fractal dimensions instead of
I. INTRODUCTION gradients. Fractal dimensions are more powerful in the textural

T HE cardiac ultrasound or echocardiography is a low-cost


medical diagnostic technique. Besides its accessibility
there is a multiplicative noise present in echocardiograms. It is
regions than gradient operators since the fractal dimensions
are calculated for scalable neighborhoods. Local dimensions
are calculated for three multifractal measures (MIN, MAX,
visible as a textural (granular) structure in the image and its and OSC) from the literature and two low-pass filters
presence deteriorates image quality. Speckle noise cannot be (averaging and Gaussian filter).
eliminated in the acquisition process, since it is generated from The paper is organized as follows. In the second section
the structures in the tissue, but only in the post-processing step mathematical background of the fractal model is given. Third
[1]. section provides a method of echocardiograms denoising.
There are many filters designed for echocardiograms Results obtained using fractal model for noise elimination are
despeckling. Almost all of them are based on the use of some given in section 4. The last section discusses results of
of averaging techniques (averaging, Gaussian filter, median denoising method and suggests directions for future research.
filter, Wiener filter, etc.). Averaging-based filters strongly
remove speckle noise but, as a consequence of the same II. LOCAL DIMENSIONS
treatment of all the pixels in the echocardiogram, the edges Fractal model examines dimensionality of a signal in a
and textures in the image are blurred. Edges indicate sense of geometry. Dimensionality is in close relation to
boundaries of the heart chambers and heart valves in the “size” of a signal or, more precisely, to its measure (length,
echocardiogram and loss of edges quality can lead to area, or volume). Since the dimension is generalized and can
misdiagnosis. be non-integer, the measure is generalized likewise. In order to
calculate a measure, the signal is subdivided into small
partitions of arbitrary shape, Ak , and all of them are summed.
M. P. Paskaš, is with the Innovation Center of School of Electrical
Engineering, University of Belgrade, Bulevar kralja Aleksandra 73, Belgrade, The most general definition of a measure is given by
Serbia (e-mail: milorad.paskas@ieee.org, milorad.paskas@gmail.com). Hausdorff [5].
A. M. Gavrovska, is with the School of Electrical Engineering, University
of Belgrade, Bulevar kralja Aleksandra 73, Belgrade, Serbia (e-mail:
anaga777@gmail.com). s ­ ½
D. M. Dujkoviü, is with the School of Electrical Engineering, University of
A { Hlim inf ®¦ diam s Ak : diam Ak d H  1¾ .
(1)
o0
¯k ¿
Belgrade, Bulevar kralja Aleksandra 73, Belgrade, Serbia (e-mail:
dragi@etf.rs). This is analogue to traditional definition of a measure and
B. D. Reljin, is with the School of Electrical Engineering, University of dimension, DH , is the value of s for which measure reaches
Belgrade, Bulevar kralja Aleksandra 73, Belgrade, Serbia (e-mail:
reljinb@etf.rs). finite values:

978-1-4799-5888-7/14/$31.00 ©2014 IEEE


III. DENOSING METHODOLOGY
Local multifractal measures defined in (5), (6), and (7)
­f, 0 d s  DH produce local dimension matrices similar to gradient images.
s ° (2) These measures are, further, used as edge detectors [8]. This is
A ® const , s DH
° 0, s ! D now used for adaptive denoising of echocardiograms:
¯ H
predominantly homogeneous regions are supposed to be
stronger filtered while edges are preserved.
Partitions of a signal, used in (1), are infinitely small and of
One of the solutions is given in the form [9], [10]:
arbitrary shape and size, therefore this definition is not
applicable in practice. Instead of Hausdorff measure there is
usually used box-counting method, where all the partitions are y 1  D ˜ xLP  D ˜ x (8)
of the same size and shape.
Hausdorff definition of a measure from (1) implies that all where x is the input image, xLP is the low-pass filtered input
the points of the signal have the same dimension. This is not image, y is the output of adaptive filter. Parameter D takes
true in general when the signal is modeled as a
multidimensional of multifractal. Instead of calculating values from the range > 0,1@ . It means that small values of this
universal (global) dimension of a whole signal it is more parameter (close to 0) favors low-pass filter, while larger
appropriate to calculate dimension of each point individually. values of this parameter (close to 1) remain pixel intensity
The local measure, P , is correspondingly calculated for each almost unchanged. Block diagram of adaptive filter from (8) is
illustrated in Fig. 1. Large values of the local dimension, for
point in its infinitely small neighborhood,  x, r :
all three observed multifractal measures, correspond to edges
and textures and that guarantees edge preservation in the
dP
P  x, r  r (3) echocardiogram.

Dimension of a single point, d P , is called local dimension LFD


or Hölder exponent. This parameter exhibits local trend of
behavior of each point. Local measure is calculated using
Hausdorff definition or any other. If a pixel intensity is
interpreted as a local measure, when r ri 0 , then local Input Output
LPF
measure satisfies [6]: Image Image

1s
­ ½ Fig. 1. Block diagram of implemented adaptive filter. Local fractal dimensions
P  x, y, r d ®¦ P s  xi , yi , ri ¾ (4) (LFD) control the low-pass filter (LPF).
¯ i ¿
IV. RESULTS
In other words, local measure is less or equal to generalized
For testing purposes two low-pass filters are implemented:
mean of local measures of single pixels. Inequality from (4)
reduces to MAX measure [7] when s o f : average filter and Gaussian filter. Local dimension matrices
are obtained using three multifractal measures: MAX, MIN,
and OSC. The sizes of scales, employed in calculation of local
P MAX  x, y, r
i
^
max P  xi , yi , ri . ` (5) dimensions, are determined experimentally. The scales should
be small enough to follow the local trend of the measure.
For s o f one obtains MIN measure [7]: Scales used in all subsequent experiments are: 5, 7, 9, and 11.
Echocardiograms are taken from 6 videos from [11]. The
extracted frames are cropped and obtained images are of
P 1MIN  x, y, r ^ `
min P  xi , yi , ri .
i
(6)
various sizes.
Quality measure used for evaluation of obtained results is
Measure OSC [4] is defined in a similar way: effective average gradient (EAG) [12] and it is calculated as:

POSC  x, y, r ¦ P  xi , yi , r  P  xi , yi , r . (7) TG
EAG (9)
i TP

Using (3) it is possible now to determine local dimension of where TG represents the total sum of gradients within the
a point. When local dimensions are calculated for all the image and TP represents the number of pixels with non-zero
points, the corresponding matrix is denoted as a local gradients. EAG does not depend on image size and it gives
dimension matrix. information on edges preserved.
a) a) b)

b) c) c) d)
Fig. 3. a) Image obtained by Gaussian filter applied on image from Fig. 2.a),
and adaptive filtering using Gaussian filter and multifractal measures: b)
MAX, c) MIN, d) OSC. Window size of all filters is 7x7 pixels.

5
d) e)
Fig. 2. a) Original image, b) image obtained by average filter, and adaptive
EAG

filtering using average filter and multifractal measures: c)MAX, d) MIN, e) 4


OSC. Window size of all filters is 7x7 pixels.
3 Averaging
Illustration of proposed adaptive filtering techniques is shown
Adaptive MIN
in Fig. 2, when averaging is applied. In comparison when only Adaptive MAX
averaging is applied it is visually clear the preservation of 2
Adaptive OSC
edges, where the MIN and MAX local dimensions provide
better preservation of edges. 1
1 2 3 4 5 6
Fig. 3 shows adaptive denoising when Gaussian filter is Image number
applied. The differences between all four filtered images
(Gaussian filter and three adaptive methods) are not distinct as Fig. 4. EAG values for average filter and adaptive filtering using average filter
with averaging filter. and multifractal measures (MAX, MIN, OSC). Window size of all filters is
7x7 pixels.
Measure EAG is calculated for all three multifractal
measures and for two scales, when averaging is applied. From
V. CONCLUSION
Figure 3 it is evident the improvement of all three proposed
methods over averaging. The improvement is the smallest for This paper implements three multifractal measures from
echocardiograms 3 and 5. literature for adaptive denoising of echocardiograms. Local
EAG values are calculated also for Gaussian filtering and fractal dimensions are used as a parameter that controls low-
corresponding adaptive methods. The results are shown in Fig. pass filtering. Experimental results indicate preservation of
5. As it is already confirmed by visual inspection of images edges in the echocardiograms when adaptive filtering
from Fig. 3, EAG values in this case varies negligibly. techniques are applied. This is particularly evident with larger
Fig. 6 and Fig. 7 give EAG values when filtering window filtering windows.
is of size 15x15 pixels. It is clear from these figures that EAG The future research of denoising echocardiograms will be
values for all filtering methods decrease. It is the most directed towards implementation of other multifractal
dramatically exhibited for non-adaptive filters. The difference measures from the literature.
between adaptive and non-adaptive methods is more distinct.
ACKNOWLEDGMENT
8
This work was supported in part by the Ministry of
Education, Science and Technological Development, Republic
7 of Serbia, through the Grant number III44009.

6
REFERENCES
EAG

5
[1] M. Paskaš, A. Gavrovska, B. Reljin, and M. Domijan, “Ultrasound
image processing with cellular neural networks,” in 54th ETRAN
4 Gaussian filter Conference, 2010, pp. EK1.1–1–4.
Gaussian MIN [2] Y. Yu and S. T. Acton, “Speckle reducing anisotropic diffusion.,” IEEE
Gaussian MAX Trans. Image Process., vol. 11, no. 11, pp. 1260–70, Jan. 2002.
3
Gaussian OSC [3] M. Paskaš, B. Reljin, I. Reljin, and D. Dujkoviü, “Edge preserved low-
pass filtering controlled by local dimension,” in 20th International
2 Conference on Systems, Signals and Image Processing (IWSSIP), 2013,
1 2 3 4 5 6 pp. 87–90.
Image number [4] M. Paskaš, A. Gavrovska, D. Jevtiü, M. Slavkoviü, and B. Reljin, “Edge
Fig. 5. EAG values for Gaussian filter and adaptive filtering using Gaussian examination using Hölder exponent and image statistics,” in 10th
filter and multifractal measures (MAX, MIN, OSC). Window size of all filters International Conference on Telecommunication in Modern Satellite
is 7x7 pixels. Cable and Broadcasting Services (TELSIKS), 2011, vol. 1, pp. 329–332.
[5] K. Falconer, Fractal Geometry: Mathematical Foundations and
7 Applications, 2nd ed. Chichester: John Wiley & Sons, 2005.
[6] O. Frostman, “Potentiel d’équilibre et capacité des ensembles avec
quelques applications à la théorie des fonctions,” Faculté des Sciences de
6 Lund, 1935.
[7] J. Lévy Véhel, “Introduction to the multifractal analysis of images,”
Fractal Image Encoding Anal., vol. 159, pp. 299–341, 1998.
5 [8] J. L. Véhel and P. Mignot, “Multifractal segmentation of images,”
Fractals, vol. 02, no. 03, pp. 371–377, Sep. 1994.
[9] D. T. Kuan, A. A. Sawchuk, T. C. Strand, and P. Chavel, “Adaptive
EAG

4 noise smoothing filter for images with signal-dependent noise,” IEEE


Trans. Pattern Anal. Mach. Intell., vol. PAMI-7, no. 2, pp. 165–177,
Mar. 1985.
3 [10] J.-S. Lee, “Digital image enhancement and noise filtering by use of local
Gaussian filter
Adaptive MIN statistics,” IEEE Trans. Pattern Anal. Mach. Intell., vol. PAMI-2, no. 2,
2 Adaptive MAX pp. 165–168, Mar. 1980.
Adaptive OSC [11] “Echocardiography videos.” [Online]. Available:
http://www.manbit.com/ERS/WMV_Videos/.
1 [12] C. Yan, N. Sang, and T. Zhang, “Local entropy-based transition region
1 2 3 4 5 6 extraction and thresholding,” Pattern Recognit. Lett., vol. 24, no. 16, pp.
Image number 2935–2941, Dec. 2003.
Fig. 6. EAG values for average filter and adaptive filtering using average filter
and multifractal measures (MAX, MIN, OSC). Window size of all filters is
15x15.

4
EAG

3
Averaging
Adaptive MIN
2
Adaptive MIN
Adaptive OSC

1
1 2 3 4 5 6
Image number
Fig. 7. EAG values for Gaussian filter and adaptive filtering using Gaussian
filter and multifractal measures (MAX, MIN, OSC). Window size of all filters
is 15x15 pixels.

You might also like