Lacunarity

From HandWiki
Short description: Term in geometry and fractal analysis
Figure 1. Basic fractal patterns increasing in lacunarity from left to right.
The same images as above, rotated 90°. Whereas the first two images appear essentially the same as they do above, the third looks different from its unrotated original. This feature is captured in measures of lacunarity listed across the top of the figures, as calculated using standard biological imaging box counting software FracLac, Image.

Lacunarity, from the Latin lacuna, meaning "gap" or "lake", is a specialized term in geometry referring to a measure of how patterns, especially fractals, fill space, where patterns having more or larger gaps generally have higher lacunarity. Beyond being an intuitive measure of gappiness, lacunarity can quantify additional features of patterns such as "rotational invariance" and more generally, heterogeneity.[1]Cite error: Closing </ref> missing for <ref> tag In standard box counting, the box for each [math]\displaystyle{ \varepsilon }[/math] in [math]\displaystyle{ \Epsilon }[/math] is placed as though it were part of a grid overlaid on the image so that the box does not overlap itself, but in sliding box algorithms the box is slid over the image so that it overlaps itself and the "Sliding Box Lacunarity" or SLac is calculated.[2][3] Figure 2 illustrates both types of box counting.

Calculations from box counting

The data gathered for each [math]\displaystyle{ \varepsilon }[/math] are manipulated to calculate lacunarity. One measure, denoted here as [math]\displaystyle{ \lambda_\varepsilon }[/math], is found from the coefficient of variation ([math]\displaystyle{ \mathit{CV} }[/math]), calculated as the standard deviation ([math]\displaystyle{ \sigma }[/math]) divided by the mean ([math]\displaystyle{ \mu }[/math]), for pixels per box.[1][2][4] Because the way an image is sampled will depend on the arbitrary starting location, for any image sampled at any [math]\displaystyle{ \varepsilon }[/math] there will be some number ([math]\displaystyle{ \mathit{G} }[/math]) of possible orientations, each denoted here by [math]\displaystyle{ \mathit{g} }[/math], that the data can be gathered over, which can have varying effects on the measured distribution of pixels.[5][note 1] Equation 1 shows the basic method of calculating [math]\displaystyle{ \lambda_{\varepsilon,g} }[/math]:

[math]\displaystyle{ \lambda_{\varepsilon,g} = (CV_{\varepsilon,g})^2 = \left( \frac {\sigma_{\varepsilon,g}} {\mu_{\varepsilon,g}} \right)^2 }[/math]

 

 

 

 

(1)

Probability distributions

Alternatively, some methods sort the numbers of pixels counted into a probability distribution having [math]\displaystyle{ B }[/math] bins, and use the bin sizes (masses, [math]\displaystyle{ m }[/math]) and their corresponding probabilities ([math]\displaystyle{ p }[/math]) to calculate [math]\displaystyle{ \lambda_{\varepsilon,g} }[/math] according to Equations 2 through 5:

[math]\displaystyle{ \mu_{\varepsilon}=\sum_{i=1}^{B} {m_{i,\varepsilon} p_{i,\varepsilon}} }[/math]

 

 

 

 

(2)

[math]\displaystyle{ \mathit{v}_{\varepsilon}=\sum_{i=1}^{B} {\left( m_{i,\varepsilon} - \mu_{\varepsilon} \right ) ^2 p_{i,\varepsilon}} }[/math]

 

 

 

 

(3)

[math]\displaystyle{ \sigma_{\varepsilon}^2=\mathit{v}_{\varepsilon}=\sum_{i=1}^{B} {m_{i,\varepsilon}^2 p_{i,\varepsilon}-\mu_{\varepsilon}^2} }[/math]

 

 

 

 

(4)

[math]\displaystyle{ \lambda_{\varepsilon}= \frac{\sum_{i=1}^{B} {m_{i,\varepsilon}^2 p_{i,\varepsilon}-\mu_{\varepsilon}^2}}{\mu_{\varepsilon}^2} = \frac{\sigma_{\varepsilon}^2}{\mu_{\varepsilon}^2} }[/math]

 

 

 

 

(5)

Interpreting λ

Lacunarity based on [math]\displaystyle{ \lambda_{\varepsilon,g} }[/math] has been assessed in several ways including by using the variation in or the average value of [math]\displaystyle{ \lambda_{\varepsilon,g} }[/math] for each [math]\displaystyle{ \varepsilon }[/math] (see Equation 6) and by using the variation in or average over all grids (see Equation 7).[1][5][3][6]

[math]\displaystyle{ \overline{\lambda_{\varepsilon,g}}=\frac{\sum_{\varepsilon=1}^\Epsilon \lambda_{\varepsilon,g}}{\Epsilon} }[/math]

 

 

 

 

(6)

[math]\displaystyle{ \Lambda_{\mathit{g}}=\frac{\sum_{\mathit{g}=1}^\mathit{G} \overline{\lambda_{\varepsilon,g}}}{\mathit{G}} }[/math]

 

 

 

 

(7)

Relationship to the fractal dimension

Lacunarity analyses using the types of values discussed above have shown that data sets extracted from dense fractals, from patterns that change little when rotated, or from patterns that are homogeneous, have low lacunarity, but as these features increase,[clarification needed] so generally does lacunarity. In some instances, it has been demonstrated that fractal dimensions and values of lacunarity were correlated,[1] but more recent research has shown that this relationship does not hold for all types of patterns and measures of lacunarity.[5] Indeed, as Mandelbrot originally proposed, lacunarity has been shown to be useful in discerning amongst patterns (e.g., fractals, textures, etc.) that share or have similar fractal dimensions in a variety of scientific fields including neuroscience.[6]

Graphical lacunarity

Other methods of assessing lacunarity from box counting data use the relationship between values of lacunarity (e.g., [math]\displaystyle{ \lambda_{\varepsilon,g} }[/math]) and [math]\displaystyle{ \varepsilon }[/math] in different ways from the ones noted above. One such method looks at the [math]\displaystyle{ \ln }[/math] vs [math]\displaystyle{ \ln }[/math] plot of these values. According to this method, the curve itself can be analyzed visually, or the slope at [math]\displaystyle{ \mathit{g} }[/math] can be calculated from the [math]\displaystyle{ \ln }[/math] vs [math]\displaystyle{ \ln }[/math] regression line.[2][3] Because they tend to behave in certain ways for respectively mono-, multi-, and non-fractal patterns, [math]\displaystyle{ \ln }[/math] vs [math]\displaystyle{ \ln }[/math] lacunarity plots have been used to supplement methods of classifying such patterns.[5][6]

To make the plots for this type of analysis, the data from box counting first have to be transformed as in Equation 9:

[math]\displaystyle{ f \lambda_{\varepsilon,g}=\lambda_{\varepsilon,g}+1 }[/math]

 

 

 

 

(9)

This transformation avoids undefined values, which is important because homogeneous images will have [math]\displaystyle{ \sigma }[/math] at some [math]\displaystyle{ \varepsilon }[/math] equal to 0 so that the slope of the [math]\displaystyle{ \ln }[/math] vs [math]\displaystyle{ \ln }[/math] regression line would be impossible to find. With [math]\displaystyle{ f \lambda_{\varepsilon,g} }[/math], homogeneous images have a slope of 0, corresponding intuitively to the idea of no rotational or translational invariance and no gaps.[7]

One box counting technique using a "gliding" box calculates lacunarity according to:

[math]\displaystyle{ \mathcal{L}(r) = \frac{\sum_{i=1}^{r^2} S_i^2 Q(S_i,r)}{ \left( \sum_{i=1}^{r^2} S_i Q(S_i,r) \right)^2 }. }[/math]

 

 

 

 

(10)

[math]\displaystyle{ S_i }[/math] is the number of filled data points in the box and [math]\displaystyle{ Q(S_i,r) }[/math] the normalized frequency distribution of [math]\displaystyle{ S_i }[/math] for different box sizes.

Prefactor lacunarity

Another proposed way of assessing lacunarity using box counting, the Prefactor method, is based on the value obtained from box counting for the fractal dimension ([math]\displaystyle{ D_B }[/math]). This statistic uses the variable [math]\displaystyle{ A }[/math] from the scaling rule [math]\displaystyle{ N = A \varepsilon^{D_B} }[/math], where [math]\displaystyle{ A }[/math] is calculated from the y-intercept ([math]\displaystyle{ \mathit{y} }[/math]) of the ln-ln regression line for [math]\displaystyle{ \varepsilon }[/math] and either the count ([math]\displaystyle{ N }[/math]) of boxes that had any pixels at all in them or else [math]\displaystyle{ m }[/math] at [math]\displaystyle{ g }[/math]. [math]\displaystyle{ A }[/math] is particularly affected by image size and the way data are gathered, especially by the lower limit of [math]\displaystyle{ \varepsilon }[/math]s used. The final measure is calculated as shown in Equations 11 through 13:[1][8]

[math]\displaystyle{ A_g = \frac{1}{e^{\mathit{y}_g}} }[/math]

 

 

 

 

(11)

[math]\displaystyle{ \overline{A} = \frac{\sum_{g=1}^G A_g}{G} }[/math]

 

 

 

 

(12)

[math]\displaystyle{ P \Lambda = \frac { \sum_{g=1}^G { \left ( {\frac{A_g}{\overline A}}-1 \right ) ^2}}{G} }[/math]

 

 

 

 

(13)

Applications

Below is a list of some fields where lacunarity plays an important role, along with links to relevant research illustrating practical uses of lacunarity.

Notes

  1. See FracLac, Box Counting for an explanation of methods to address variation with grid location

References

  1. 1.0 1.1 1.2 1.3 1.4 Smith, T. G.; Lange, G. D.; Marks, W. B. (1996). "Fractal methods and results in cellular morphology — dimensions, lacunarity and multifractals". Journal of Neuroscience Methods 69 (2): 123–136. doi:10.1016/S0165-0270(96)00080-5. PMID 8946315. https://zenodo.org/record/1259855. 
  2. 2.0 2.1 2.2 Cite error: Invalid <ref> tag; no text was provided for refs named plotnick
  3. 3.0 3.1 3.2 McIntyre, N. E.; Wiens, J. A. (2000). "A novel use of the lacunarity index to discern landscape function". Landscape Ecology 15 (4): 313. doi:10.1023/A:1008148514268. 
  4. 4.0 4.1 Cite error: Invalid <ref> tag; no text was provided for refs named pmid-18595800
  5. 5.0 5.1 5.2 5.3 Karperien (2004). "Chapter 8 Multifractality and Lacunarity". Defining Microglial Morphology: Form, Function, and Fractal Dimension. Charles Sturt University. http://bilby.unilinc.edu.au/R/-?func=dbin-jump-full&object_id=31797&silo_library=GEN01. 
  6. 6.0 6.1 6.2 Jelinek, Herbert; Karperien, Audrey; Milosevic, Nebojsa (June 2011). "Lacunarity Analysis and Classification of Microglia in Neuroscience". 8th European Conference on Mathematical and Theoretical Biology, Kraków. http://www.impan.pl/~ecmtb11/showabstract.php?id=Jelinek_Herbert1. 
  7. Karperien (2002). "Interpreting Lacunarity". FracLac. http://rsb.info.nih.gov/ij/plugins/fraclac/FLHelp/lactutorial.htm#oneplus. 
  8. Cite error: Invalid <ref> tag; no text was provided for refs named mandelbrot
  9. Cite error: Invalid <ref> tag; no text was provided for refs named pmid9964879
  10. Tolle, C. (2003). "Lacunarity definition for ramified data sets based on optimal cover". Physica D: Nonlinear Phenomena 179 (3–4): 129–201. doi:10.1016/S0167-2789(03)00029-0. Bibcode2003PhyD..179..129T. https://zenodo.org/record/1259883. 
  11. Stevens, N. E.; Harro, D. R.; Hicklin, A. (2010). "Practical quantitative lithic use-wear analysis using multiple classifiers". Journal of Archaeological Science 37 (10): 2671. doi:10.1016/j.jas.2010.06.004. https://zenodo.org/record/995766. 
  12. Rievra-Virtudazo, R.V.; Tapia, A.K.G; Valenzuela, J.F.B.; Cruz, L.D.; Mendoza, H.D.; Castriciones, E.V. (23 November 2008). "47. Lacunarity analysis of TEM Images of Heat-Treated Hybrid Organosilica Materials". in Sener, Bilge. Innovations in Chemical Biology. Springer. pp. 397–404. ISBN 978-1-4020-6955-0. https://books.google.com/books?id=KnijoZqDDYMC&pg=PA397. 
  13. Filho, M.B.; Sobreira, F. (2008). "Accuracy of Lacunarity Algorithms in Texture Classification of High Spatial Resolution Images from Urban Areas". The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences XXXVII (Part B3b). http://www.isprs.org/proceedings/XXXVII/congress/3b_pdf/80.pdf. 
  14. Gorsich, D. J.; Tolle, C. R.; Karlsen, R. E.; Gerhart, G. R. (1996). "Wavelet and fractal analysis of ground-vehicle images". in Unser, Michael A; Aldroubi, Akram; Laine, Andrew F. Wavelet Applications in Signal and Image Processing IV. Wavelet Applications in Signal and Image Processing IV. 2825. pp. 109–119. doi:10.1117/12.255224. https://zenodo.org/record/1235586. 
  15. Vannucchi, P.; Leoni, L. (30 October 2007). "Structural characterization of the Costa Rica decollement: Evidence for seismically-induced fluid pulsing". Earth and Planetary Science Letters 262 (3–4): 413–428. doi:10.1016/j.epsl.2007.07.056. Bibcode2007E&PSL.262..413V. 
  16. Yaşar, F.; Akgünlü, F. (2005). "Fractal dimension and lacunarity analysis of dental radiographs". Dentomaxillofacial Radiology 34 (5): 261–267. doi:10.1259/dmfr/85149245. PMID 16120874. 
  17. Valous, N.A.; Sun, D.-W.; Allen, P.; Mendoza, F. (January 2010). The use of lacunarity for visual texture characterization of pre-sliced cooked pork ham surface intensities Food Research International. 43. pp. 387–395. doi:10.1016/j.foodres.2009.10.018. 

External links