This article has Open Peer Review reports available.
Quantification of echodensities in tuberculous pericardial effusion using fractal geometry: a proof of concept study
© Ntsekhe et al.; licensee BioMed Central Ltd. 2012
Received: 14 April 2012
Accepted: 19 July 2012
Published: 28 July 2012
The purpose of this study was to quantify the heterogeneous distribution of echodensities in the pericardial fluid of patients with tuberculous pericarditis using echocardiography and fractal analysis, and to determine whether there were differences in the fractal dimensions of effusive-constrictive and effusive non-constrictive disease.
We used fractal geometry to quantify the echocardiographic densities in patients who were enrolled in the I nvestigation of the M anagement of P ericarditis i n Africa (IMPI Africa) Registry. Sub-costal and four chamber images were included in the analysis if a minimum of two clearly identified fibrin strands were present and the quality of the images were of a standard which allowed for accurate measurement of the fractal dimension. The fractal dimension was calculated as follows: Df = limlog N(s)/[log (l/s)], where Df is the box counting fractal dimension of the fibrin strand, s is the side length of the box and N(s) is the smallest number of boxes of side length s to cover the outline of the object being measured. We compared the fractal dimension of echocardiographic findings in patients with effusive constrictive pericarditis to effusive non-constrictive pericardial effusion using the non-parametric Mann–Whitney test.
Of the 14 echocardiographs from 14 participants that were selected for the study, 42.8% (6/14) of images were subcostal views while 57.1% (8/14) were 4-chamber views. Eight of the patients had tuberculous effusive constrictive pericarditis while 6 had tuberculous effusive non-constrictive pericarditis. The mean fractal dimension Df was 1.325 with a standard deviation (SD) of 0.146. The measured fibrin strand dimension exceeded the topological dimension in all the images over the entire range of grid scales with a correlation coefficient (r2) greater than 0.8 in the majority. The fractal dimension of echodensities was 1.359 ± 0.199 in effusive constrictive pericarditis compared to 1.330 ± 0.166 in effusive non-constrictive pericarditis (p = 0.595).
The echocardiographic densities in tuberculous pericardial effusion have a fractal geometrical dimension which is similar in pure effusive and effusive constrictive disease.
Pericardial tuberculosis (TB) is a chronic fibrinous pericarditis characterized by granulomatous inflammation and caseous necrosis . Despite being the most common cause of inflammatory pericarditis in the developing world, a non-invasive method of establishing the diagnosis remains elusive, contributing to the high morbidity and mortality associated with the condition [6–8]. As far back as 1893, Sir William Osler reported the presence of “sero-fibrinous exudation with thick fibrin in ridges” resembling “long villous extensions” at autopsy . The echocardiographic equivalent of these pathological findings are fronds-like fibrin strands and the evocatively termed “shaggy coating” of the pericardium [10–12]. The use of 2D echocardiography detected fronds-like fibrin strands as a diagnostic guide for TB pericarditis has been limited by the poor specificity of qualitative methods used in these studies [3, 12–14].
The fractal dimension is a measure of the space filling properties of a naturally occurring object [15, 16]. Fractal analysis is a method for quantifying naturally occurring objects that are irregular, rough and which cannot be characterized using Euclidean geometry axioms [15, 16]. In Euclidean geometry, a point has a dimension of 0, a straight line has a dimension of 1, and a regular planar figure such as a square has a dimension of 2. On the other hand, most pericardial abnormalities detected by echocardiography are irregular and complex and not mere points, straight lines or planar figures. The fractal analytic approach has been used in other settings to quantify the “roughness” or “ruggedness” of objects such as rivers, coasts of seas, leaf veins, the heterogeneity of blood flow, and the clearance of drugs [15, 17–19]. This has led to the calculation of dimensions that exceeded the Euclidean topological dimension.
In this proof of concept study we have used fractal analysis as a method to quantify pericardial echocardiographic densities in tuberculous pericarditis. We hypothesized that tuberculosis related fibrin strands are associated with a specific reproducible fractal dimension that was measurable using a simple box counting method. In addition, we investigated if the fractal dimension could be used to differentiate patients with tuberculous effusive constrictive pericarditis from those with tuberculous effusive non-constrictive pericarditis, in which case the fractal dimension may reflect progression from a pure effusive state to an early stage of constrictive pericarditis, in addition to etiology.
This is a sub-study of the Investigation of Management of Pericarditis in Africa (IMPI Africa) prospective registry of patients with tuberculous pericarditis . The Human Research Ethics Committee at the University of Cape Town approved the study (HREC REF: 102/2003). The patients were referred from four community hospitals of Cape Town to Groote Schuur Hospital for investigation of suspected tuberculous pericarditis by means of a diagnostic or therapeutic pericardiocentesis. Consenting adult patients were included if they had all of the following: an echocardiographically confirmed moderate or large effusion [13, 21]; evidence of tuberculous etiology; and complete hemodynamic data from a right heart study and intra-pericardial pressure measurements performed pre- and post-pericardiocentesis. The exclusion criteria were evidence of pre-existing structural heart disease, pregnancy and age under eighteen.
Prior to pericardiocentesis all patients were evaluated by 2D echocardiography (GE Vivid i portable machine with 5.0 MHz phased-array transducer) Sub-costal and four chamber views were preselected as being optimal for fibrin strand analysis following an internal pilot study to assess the impact of the views on the fractal dimension. In the pilot study there was no significant or systematic difference in the fractal dimensions obtained by using either of these views. Echocardiographic images were included in the analysis if a minimum of two clearly identified fibrin strands were present and the quality of the images were of a standard which allowed for accurate measurement of the fractal dimension. The image with the highest quality and clearest definition was chosen for each patient. After selection of the best quality image it was saved five times in a tagged image file format (TIFF). For this proof of concept fractal dimension study the first 14 participants with echocardiographs that allowed for adequate fractal analysis were selected.
Diagnosis of tuberculosis and effusive-constrictive pericarditis
The etiology was accepted as tuberculous if the pericardial fluid was an inflammatory exudate with: a) direct microbiological evidence as indicated by positive microscopy, culture or polymerase chain reaction based assay for Mycobacterium tuberculosis; or b) either an interferon gamma IFN-γ>50 pg/L or an adenosine deaminase (ADA) >40 IU in pericardial fluid . Criteria for a diagnosis of effusive constrictive pericarditis included failure of the right atrial pressure to fall below 10 mmHg or by 50% after the intra-pericardial pressure had normalized .
Fractal dimension calculation and statistical analysis
Where d is the slope of the graph of logarithm [log] (N(s)) against log (l/s).
The fractal dimension was measured five times for each fibrin strand-containing image. For some of the images, no additional information was gained by increasing the box size beyond 7 mm2, i.e., as s increased the log of s remained constant. Log-log graphs of the side of the length of the square cells within each grid were plotted against the number of cells.
Linear regression of the log-log function was then utilized to calculate the slope. The dimension was calculated as “1 + slope.” The correlation coefficient (r2) for the linear regression was also calculated. A second method was used to check the validity of the method, for box sizes where m ≥ 1 in the series s/2m. In this method, the fractal dimension was calculated as = (log [number of boxes for s/2m+1/number of boxes for s/2m])/log 2. An average was calculated for each successive pair of boxes. The Hausodorff-Bescovitch (fractal) dimension calculated based on each these two methods had to be identical. We compared the fractal dimension of echocardiographic findings in patients with effusive constrictive pericarditis to effusive non-constrictive pericardial effusion using the non-parametric Mann–Whitney test.
Clinical characteristics of the participants who were included in the study
Number of patients: 14
Age median (IQR)
Males, number (%)
HIV infected (%)
Effusive constrictive pericarditis number (%)
Pericardial tamponade number (%)
Pericardial fluid volume in liters
1,086 ± 0.466
Culture positive (%)
Polymerase chain reaction positive (%)
Elevated ADA or IFN-γ - number (%)
Pericardial fluid protein in g/L (range)
Pericardial fluid lactate dehydrogenase in units/dL (range)
The echocardiographic view, fractal dimension, r 2 of tuberculous pericardial effusion
Patient study #
To the best of our knowledge, we report the first study in which simple and reproducible steps have been applied to quantify the fractal dimension of echocardiographic pericardial effusion. This experiment extends the use of fractal geometry and fractal dimensions to pericardial disease and specifically tuberculous pericarditis. We have demonstrated in this small study that fibrin strands like many naturally occurring objects are a fractal structure and are therefore quantifiable by fractal geometry and dimensions.
Since the recognition that fibrinous pericarditis is associated with various echogenic abnormalities on 2D echocardiography , there have been multiple attempts to describe, quantify and utilize these echo abnormalities diagnostically [3, 23–25] These attempts have been limited to qualitative descriptive methods. However in the natural sciences, particularly anatomy and pharmacology, the usefulness of fractal geometry in quantifying and describing dimensions is well established [26, 27]. Examples include the use of fractal dimension in the description of of neurones , motor nerve terminals [29, 30], colonies of bacteria , the patterns of the cerebral cortex,  and antibiotic clearance from patients .
We were however unable to demonstrate that the fibrin strand fractal dimension could be used to distinguish effusive constrictive pericarditis from effusive non-constrictive pericarditis. There are however a number of limitations of this study which suggest that this latter result was not unexpected. The first and most important reason is the small number of quality images of the pericardium available to adequately compare the phenotypes. Given the dynamic fluid nature of the fibrin strands and the difficulty capturing adequate still images, future studies addressing this issue will have to consider acquiring more images, with longer cine loops and should consider integrating many more views than the two used in this study.
The fractal dimension of 1.325 for tuberculous pericardial effusion is in itself as interesting as it is famous; it is the fractal dimension of the Apollonian gasket or Leibniz packing . This strongly suggests that the echodensities seen in tuberculous pericarditis are a generalization of inversion transformation, and likely a result of simple iterative process. While this does not reveal the identity of the pathophysiologic process that leads to this lesion, it gives a hint at the mathematical models that can be used to describe the process. We speculate that the fractal dimensions will therefore correspond to specific iterative or repetitive processes, each one linked to specific etiological processes. This study, which has established the fractal dimension of chronic pericarditis, thus lays the basis for a comparative study of the fractal dimension of pericarditis due to different causes such as malignancy and autoimmune disease.
These results demonstrate that the measured fractal dimension of fibrin strands exceeds the Euclidian geometrical dimension over the entire range of grid scales used. This fulfills the mathematical definition of a fractal structure. It is therefore appropriate to conclude that fractal dimension is the most useful and reproducible tool to quantify this naturally occurring echogenic material in patients with tuberculous pericardial effusion. This proof of principle study opens the possibility for measuring the fractal dimension of other forms of pericarditis, and possibly lay the basis for quantitative definition of different forms of pericarditis using echocardiography.
Dr T Gumbo was a Mellon Visiting Scholar to the University of Cape Town in July 2009 when the study was initiated. This study was funded in part by the South African Medical Research Council, National Research Foundation of South Africa, the Edith Sorrel Research Fellowship Award and Lily and Hausmann Research Trust.
- Wann S, Passen E: Echocardiography in Pericardial Disease. J Am Soc Echocardiogr. 2008, 21 (1): 7-13. 10.1016/j.echo.2007.11.003View ArticlePubMedGoogle Scholar
- Martin R, Bowden R, Filly K, Popp R: Intrapericardial abnormalities in patients with pericardial effusion. Findings by two-dimensional echocardiography. Circulation. 1980, 61 (3): 568-572. 10.1161/01.CIR.61.3.568View ArticlePubMedGoogle Scholar
- George S, Salama AL, Uthaman B, Cherian G: Echocardiography in differentiating tuberculous from chronic idiopathic pericardial effusion. Heart. 2004, 90 (11): 1338-1339. 10.1136/hrt.2003.020081View ArticlePubMedPubMed CentralGoogle Scholar
- Ku CS, Chiou KR, Lin SL, Liu CP, Chaing HT: Echocardiographic features of tuberculous pericarditis. J Chin Med Assoc. 2003, 66 (10): 613-616.PubMedGoogle Scholar
- Falconer K: Fractal Geometry: Mathematical Foundations and Applications. Chichester: John Wiley & Sons Ltd, 1990.Google Scholar
- Mayosi BM, Burgess LJ, Doubell AF: Tuberculous Pericarditis. Circulation. 2005, 112 (23): 3608-3616. 10.1161/CIRCULATIONAHA.105.543066View ArticlePubMedGoogle Scholar
- Syed FF, Mayosi BM: A modern approach to tuberculous pericarditis. Prog Cardiovasc Dis. 2007, 50 (3): 218-236. 10.1016/j.pcad.2007.03.002View ArticlePubMedGoogle Scholar
- Mayosi BM, Wiysonge CS, Ntsekhe M, Gumedze F, Volmink JA, Maartens G, Aje A, Thomas BM, Thomas KM, Awotedu AA, et al.: Mortality in patients treated for tuberculous pericarditis in sub-Saharan Africa. S Afr Med J. 2008, 98 (1): 36-40.PubMedGoogle Scholar
- Osler W: Tuberculous Pericarditis. American Journal of the Medical Sciences. 1893, 105 (1): 20-36. 10.1097/00000441-189301000-00003.View ArticleGoogle Scholar
- Hinds SW, Reisner SA, Amico AF, Meltzer RS: Diagnosis of pericardial abnormalities by 2D-echo: A pathology-echocardiography correlation in 85 patients. Am Hear J. 1992, 123 (1): 143-150. 10.1016/0002-8703(92)90758-N.View ArticleGoogle Scholar
- Martin RP, Bowden R, Filly K, Popp RL: Intrapericardial abnormalities in patients with pericardial effusion. Findings by two-dimensional echocardiography. Circulation. 1980, 61 (3): 568-572.PubMedGoogle Scholar
- Chia BL, Choo M, Tan A, Ee B: Echocardiographic abnormalities in tuberculous pericardial effusion. Am Heart J. 1984, 107 (5 Pt 1): 1034-1035.View ArticlePubMedGoogle Scholar
- Maisch B, Seferovic PM, Ristic AD, Erbel R, Rienmuller R, Adler Y, Tomkowski WZ, Thiene G, Yacoub MH: Guidelines on the diagnosis and management of pericardial diseases executive summary; The Task force on the diagnosis and management of pericardial diseases of the European society of cardiology. Eur Heart J. 2004, 25 (7): 587-610.View ArticlePubMedGoogle Scholar
- Barbarin V, Xing Z, Delos M, Lison D, Huaux F: Pulmonary overexpression of IL-10 augments lung fibrosis and Th2 responses induced by silica particles. American Journal of Physiology - Lung Cellular and Molecular Physiology. 2005, 288 (5): L841-L848. 10.1152/ajplung.00329.2004View ArticlePubMedGoogle Scholar
- Mandelbrot BB: The Fractal Geometry of Nature. New York, 2, 1983.Google Scholar
- Roca J, de Rozas JM D, Manito N, Garcia J, Rivera I, Bosch I: Pericardiocentesis: usefulness in the routine determination of intrapericardial pressure. Rev Esp Cardiol. 1989, 42 (2): 98-104.PubMedGoogle Scholar
- Glenny RW, Robertson HT: Fractal properties of pulmonary blood flow: characterization of spatial heterogeneity. J Appl Physiol. 1990, 69 (2): 532-545.PubMedGoogle Scholar
- Mandelbrot BB: Stochastic models for the Earth's relief, the shape and the fractal dimension of the coastlines, and the number-area rule for islands. Proc Natl Acad Sci U S A. 1975, 72 (10): 3825-3828. 10.1073/pnas.72.10.3825View ArticlePubMedPubMed CentralGoogle Scholar
- Hall RG, Swancutt MA, Gumbo T: Fractal geometry and the pharmacometrics of micafungin in overweight, obese, and extremely obese people. Antimicrob Agents Chemother. 2011, 55 (11): 5107-5112. 10.1128/AAC.05193-11View ArticlePubMedPubMed CentralGoogle Scholar
- Mayosi BM, Wiysonge CS, Ntsekhe M, Volmink JA, Gumedze F, Maartens G, Aje A, Thomas BM, Thomas KM, Awotedu AA, et al.: Clinical characteristics and initial management of patients with tuberculous pericarditis in the HIV era: the Investigation of the Management of Pericarditis in Africa (IMPI Africa) registry. BMC Infect Dis. 2006, 6: 2- 10.1186/1471-2334-6-2View ArticlePubMedPubMed CentralGoogle Scholar
- Maisch B, Ristic AD: Practical aspects of the management of pericardial disease. Heart. 2003, 89 (9): 1096-1103. 10.1136/heart.89.9.1096View ArticlePubMedPubMed CentralGoogle Scholar
- Sagrista-Sauleda J, Angel J, Sanchez A, Permanyer-Miralda G, Soler-Soler J: Effusive-constrictive pericarditis. N Engl J Med. 2004, 350 (5): 469-475. 10.1056/NEJMoa035630View ArticlePubMedGoogle Scholar
- Kim SH, Song JM, Jung IH, Kim MJ, Kang DH, Song JK: Initial echocardiographic characteristics of pericardial effusion determine the pericardial complications. Int J Cardiol. 2008.Google Scholar
- Alio-Bosch J, Candell-Riera J, Monge-Rangel L, Soler-Soler J: Intrapericardial echocardiographic images and cardiac constriction. Am Heart J. 1991, 121 (1 Pt 1): 207-208.View ArticlePubMedGoogle Scholar
- Liu PY, Li YH, Tsai WC, Tsai LM, Chao TH, Yung YJ, Chen JH: Usefulness of echocardiographic intrapericardial abnormalities in the diagnosis of tuberculous pericardial effusion. Am J Cardiol. 2001, 87 (9): 1133-1135. A1110. 10.1016/S0002-9149(01)01481-3View ArticlePubMedGoogle Scholar
- Maisel AS, Krishnaswamy P, Nowak RM, McCord J, Hollander JE, Duc P, Omland T, Storrow AB, Abraham WT, Wu AH, et al.: Rapid measurement of B-type natriuretic peptide in the emergency diagnosis of heart failure. N Engl J Med. 2002, 347 (3): 161-167. 10.1056/NEJMoa020233View ArticlePubMedGoogle Scholar
- Cross SS, Cotton DW: The fractal dimension may be a useful morphometric discriminant in histopathology. J Pathol. 1992, 166 (4): 409-411. 10.1002/path.1711660414View ArticlePubMedGoogle Scholar
- Takeda T, Ishikawa A, Ohtomo K, Kobayashi Y, Matsuoka T: Fractal dimension of dendritic tree of cerebellar Purkinje cell during onto- and phylogenetic development. Neurosci Res. 1992, 13 (1): 19-31. 10.1016/0168-0102(92)90031-7View ArticlePubMedGoogle Scholar
- Tomas J, Santafe M, Fenoll R, Mayayo E, Batlle J, Lanuza A, Piera V: Pattern of arborization of the motor nerve terminals in the fast and slow mammalian muscles. Biol Cell. 1992, 74 (3): 299-305. 10.1016/0248-4900(92)90041-XView ArticlePubMedGoogle Scholar
- Reichenbach A, Siegel A, Senitz D, Smith TG: A comparative fractal analysis of various mammalian astroglial cell types. NeuroImage. 1992, 1 (1): 69-77. 10.1016/1053-8119(92)90008-BView ArticlePubMedGoogle Scholar
- Obert M, Pfeifer P, Sernetz M: Microbial growth patterns described by fractal geometry. J Bacteriol. 1990, 172 (3): 1180-1185.PubMedPubMed CentralGoogle Scholar
- Cook MJ, Free SL, Manford MR, Fish DR, Shorvon SD, Stevens JM: Fractal description of cerebral cortical patterns in frontal lobe epilepsy. Eur Neurol. 1995, 35 (6): 327-335. 10.1159/000117155View ArticlePubMedGoogle Scholar
- Mandelbrot BB: The fractal geometry of nature. W.H. Freeman and Company, 1982.Google Scholar
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.