Using wavelet decomposition to determine the dimension of structures from projected images
Svitlana Mayboroda, David N. Spergel

TL;DR
This paper introduces a new method using wavelet decomposition to estimate the fractal dimension of 3D structures from their 2D projected images, applied to astrophysical data.
Contribution
A novel wavelet-based technique is introduced to infer 3D fractal dimensions from projected images without assumptions on embedding dimensions.
Findings
Wavelet power spectra scale as Pj=2−jγ, where γ is the fractal dimension of the structure.
The method was applied to Cassiopeia A, revealing different fractal dimensions for gas at different temperatures.
Fractal dimensions ranged from γ=1.69 for CO emissions to γ=2.49 for X-ray emitting gas.
Abstract
Turbulence is a fundamental process in a wide range of natural and laboratory systems. Experiments and observations often measure projected images of tracers in turbulent flows. Because the underlying structures are fractal, such observations are projections of fractals. This paper presents a general technique for measuring the fractal dimension of structures from their projected images. We apply this method to two-dimensional astronomical images and show that wavelet-based measurements can be used to infer the fractal dimension of a structure in 3D. Applying the technique to JWST infrared and X-ray images of the supernova remnant Cassiopeia A reveals markedly different fractal dimensions for gas at different temperatures, providing a tool for probing the instabilities that generate these complex structures. Mesoscale structures in turbulent media can often be described as fractional…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Fig. 1
Fig. 2
Fig. 3
Fig. 4- —Simons Foundatoin
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsImage and Signal Denoising Methods · Adaptive optics and wavefront sensing · Cosmology and Gravitation Theories
Observations of nebulae, molecular clouds, and other astronomical objects reveal intricate structures. In this paper, we discuss how to infer the fractal dimension of a structure in three-dimensional space from projected images. While this work has been motivated by examples from astronomy, our methods are applicable to a broad range of fields.
Many objects show scaling behavior over many orders of magnitude, often generated by hydrodynamical or magneto-hydrodynamical turbulence (1, 2). Astronomical observations show evidence for turbulence spanning up to 12 orders of magnitude (3??–6) with the statistical properties of the turbulence depending on Mach number and Alfvenic Mach number (7, 8).
The level sets of tracers in turbulent flows are fractals (9, 10). For astronomical observations, these level sets correspond to the isotherms where emission at a given wavelength peaks. They can arise at boundary layers in a multiphase medium (see e.g., refs. 11 and 12). In burning fronts in combustion engine, the level sets correspond to the gas mixtures are surface of constant gas/oxidant mixture (13).
The dimension of a level set depends on the underlying physics. In studies of combustion, the dimension of the burning front appears to depend on the Damköhler number (14): Flames develop a 7/3 fractal if the chemical reaction time (or equivalently the cooling time) is short compared to the eddy turnover time of the smallest eddies and 8/3 if the eddy turnover time scale is comparable to the chemical reaction time. Simulations (15) suggest that the Kelvin-Helmholtz instability generates a thermal emission layer with dimension 5/2 while simulations of molecular clouds (11) show an index that varies with Alfvenic Mach number. The only information we have is typically a projected image. Thus, if we could infer the dimension of a structure in 3D from its projection, we would have important insights into the physics that determines the observed mesoscale structures.
Astronomers observe the projected images of 3-dimensional object. If the emission at a given frequency, ν, is optically thin, then the surface brightness of the image is the projection of the emissivity of the object, :
Here is temperature. We are interested here in the cases like thermal radiative mixing layers (12) where there are sharp temperature changes across a narrow region so that we are observing the projection of a narrow fractal surface rather than extended 3-dimensional structures like HI clouds whose structure can be explored through velocity slicing (16).
Deprojection is generally an ill-posed problem: There are many possible forms of consistent with an observed . Inferring the properties of ϵ requires a prior: effectively, a physical model. Our underlying physical model is that we are observing emission from a structure that can be approximated as a γ-dimensional surface on its mesoscale, . Here, is the thickness of the structure and is the outer scale of the instability that creates the mesoscale phenomenon. Note that Eq. 1 implies that we are interested in measures and their projections, not sets. Indeed, when , the projection of a set would be typically space-filling, that is, two-dimensional. Observations of a projected set provide no information about the initial structure. Thus, it is important that we are observing a projection (e.g., Eq. 1). In this paper, we will treat not only the projection from 3 to 2 dimensions but a more general case of the projection from N to D dimensions.
What is the most effective way of describing the fractal dimension of a measure on the mesoscale? Even with the access to the full structure, not just its projection, this is a very intricate question, and the traditional toolbox is surprisingly misleading. The fundamental problem is that numerical methods developed for “classical” fractals do not accurately capture the mesoscale phenomena in highly disconnected sets under consideration. While box counting methods or equivalently, perimeter-area scalings (17), are widely used to describe sets in fields ranging from engineering (18) to plant science (19) to ophthalmology (20) to astronomy (11, 21) we argue that this approach fails even for the famous problem of determining the properties of a coastline. This method counts the number of boxes, K, in that contain μ as a function of scale, L and then defines the Minkowski, or box-counting, dimension as . This approach is problematic (22), particularly if μ is not a continuous surface. An important caveat is that in many applications μ is fragmented into bubbles. While it may be tempting to introduce a “filling factor” to count the boxes containing μ, this is an ill-defined concept: In the limit, the points in μ are a set of measure zero in and the filling factor, the volume of the box filled by μ, is zero. One could say that a bubble is not a point, but when viewed on the mesoscale, a bubble or tidal pool appears as “dust” and box counting breaks down in the presence of “dust.” As an illustration of its failure, consider the rational numbers : Box counting yields a dimension 1 for and dimension N for , that is, it does not distinguish between the set of rational numbers on a line and a line itself. The Hausdorff dimension of the set of real numbers is zero.
If you are a marine biologist who wants to determine the surface area of the tidal zone, you do not want to exclude tidal pools. Similarly, isolated bubbles are not properly counted in analyses of molecular clouds or measurements of the area of a flame front in studies of combustion. In Measuring Fractal Dimension, we show that wavelets are a sparse and effective description of a measure that provides a more robust approach than box counting on sets.
An even bigger problem, central to the present paper, is that in astronomy one often only has access to projected images. If one is projecting to a set of dimension larger than 2, the result is typically two-dimensional, space-filling, and box counting fails for much more trivial reasons than above: It blindly yields projected dimension 2. The Fourier methods, if attempted, would be contaminated by aliasing. Moreover, we only observe one projection at a time, as opposed to the view from all angles. Thus, the methods of reconstructing the data from projections at all angles used, e.g., in CT, do not apply. This problem is the focus of Measuring Fractal Dimension from Projected Images, where the main contributions of the paper are described. We develop a method to infer fractal dimension of a mesoscale structure in from observations of projected images in , under appropriate physical assumptions.
In Application: Cas A, we apply this method to an image of the emission from warm CO derived from JWST image of Cas A at F356W and F444W (23, 24) and to X-ray images of Cas A (25).
Measuring Fractal Dimension
This section focuses on methods for describing the dimension of a measure with either wavelets or Fourier methods. We refer the reader to classical texts, e.g., ref. 22, for rigorous definitions and analysis of some of the mathematical concepts used below.
As elucidated above, Minkowski (box-counting) dimension is not the most effective description of the geometry of disconnected dimensions so we focus on Hausdorff dimension as a tool to describe these structures. We consider a set in with a fractional dimension. We will refer to it as a fractal, although we do not assume self-similarity, simply that it exhibits the same dimension across a range of scales. The Hausdorff dimension, γ, of a set, is the supremum of s so that the Riesz potential,
is finite for some nontrivial and finite Borel measure μ on the set.
Wavelets provide an effective language for describing the dimension of a measure. We pick a wavelet basis and let denote the wavelets concentrated on a cube centered at of the side length . We make sure that wavelets are normalized, that is, , and denote the amplitude of a wavelet coefficient at scale centered at position by
Because fractal dimensional surfaces are sparse and typically not space-filling, wavelets are a sparse representation. In this language, most of the wavelet coefficients (concentrated on boxes that do not intersect the support of μ) are close to zero. When, on the other hand, the box corresponding to has an ample intersection with , generally the amplitude of the corresponding coefficient scales as (see, e.g., ref. 26, for an analogous computation). Given that μ is γ-dimensional in , the proportion of boxes with a nontrivial contribution at every scale is Working at mesoscales corresponds to considering wavelets with . On these scales, the wavelet power spectrum has a power-law behavior:
Alternatively, we can describe the measure in a Fourier basis:
Now, the Riesz potential becomes
Hence, bringing us back to the power spectrum, if we assume the power behavior of , the dimension can be viewed as }, or more informally, γ is the mesoscopic dimension if for . The description of the measure in Fourier modes is, however, a less sparse representation as the information is spread through Fourier space.
Measuring Fractal Dimension from Projected Images
How do we deduce the dimension of the original set, γ, looking at its projection on ? When , it almost surely projects into a set of dimension γ again, according to Marstand’s 1950 theorem. When , which is a typical situation discussed in the present paper, the situation is much more delicate. The projection of a set itself would typically be simply D-dimensional, space-filling, giving us no information. However, we have richer data. We actually project a measure not a set, in the sense that we retain the information of the number of intersections with the set when projecting, but then the challenge is how to take advantage of this information.
Part of the problem is that projection always loses information. Physical systems can have preferred directions determined by either large-scale gravitational fields (e.g., the Earth for oceanographers or atmospheric physicists) or large-scale magnetic fields. If the properties of the set depend on direction, a projection parallel or perpendicular to the symmetry direction yields very different projected images. Luckily, astronomical observations are typically not along a symmetry axis of the system. We can think of this as a form of the Copernican principle that we do not observe the objects in the universe from a special position or orientation.
Projecting the wavelet decomposition to , we use the property that “horizontally oriented” 3D wavelets , , project identically onto 2D wavelets modulo a renormalization: , . The “vertically oriented” wavelets project to zero. This would be a problem if horizontal or vertical were a preferred direction, but since we assume that there is none, the information contained in all coefficients is the same. Hence, we obtain a decomposition of the projected measure,
where is the sum of the coefficients for m above times . For the astronomical images described in the introduction, Eq. 6 is essentially an expansion of .
In N dimensional space on scale j, there are wavelets in a box of size 1. For a γ dimensional set, a fraction of roughly of the ’s are nonzero. These nonzero wavelets project into wavelets in the projected image. Thus, each is a sum of typical M amplitudes
where r is the wavelet scale associated with the j-th wavelets. If the coefficients of the modes sum incoherently,* then
Thus, the dimension of the initial image can be deduced from its D-dimensional wavelet decomposition (Eq. 6) by using the scaling law (Eq. 8).
Fig. 1 shows a projection of a Menger sponge at an angle of 30^°^. The Menger fractal has dimension . The figure shows the success of the wavelet method and the limitations of Fourier and box counting methods: Both yield incorrect results. Fig. 2 shows the inferred fractal dimension versus threshold: Box counting can yield a convincing power law for some threshold values but an incorrect result: This may have led to erroneous conclusions in the literature.
The Upper Left panel shows the projected density of a six level Menger sponge, a fractal of dimension γ2.767. The Upper Right panel shows the inferred dimension using a threshold method as a function of threshold. The value in this panel should be compared with to γ−1=1.767. The Lower Left panel shows the wavelet amplitude versus scale a fit from 4-256 yields a slope of 2.773 (shown) and a fit from 8-128 yields a slop of 2.652. The Lower Right panel show the power spectrum of the Fourier transform of the image. The FFT yields 1.912 for the slope corresponding to a dimension of 2.912.
This figure shows the box count versus box size for the projected Menger sponge. For box thresholds set at 0.0, 0.1, 0.2, 0.5, 0.8, and 0.9, the best fit lines (shown as dashed red) have slope 1.902, 1.894, 1.803, 1.521, 1.175, and 0.870. The correct answer should be ∼1.727: While the box counting method can yield convincing power laws, it produces incorrect results when applied to projected density fields.
Many astronomical objects are projection of complex shapes. At each wavelet position, the path length, , through the three-dimensional structure varies. These leads to a variation in
However, when we average across the image, this variation does not change the power law scaling.
Averaging over the image, we can define a characteristic thickness, :
Note that can be defined independently of j (only depending on γ, D, and the shape of the shell). Then again the computation yields the scaling of the wavelet power spectrum:
As long as the path length is large compared to the minimum scale size, the length, ultimately plays no role in Eqs. 9?–11. The wavelets mod out the global structure effortlessly and the dominating shape is not important. This makes it clear why the proposed method is superior to the Fourier decomposition.
Indeed, for a homogeneous uniform slab in Eqs. 6?–8, the analysis could be done in Fourier space. Projection in physical space is a slice (restriction) in Fourier space. If we apply the “Copernican principle” and assume that we are not seeing an object from a preferred direction, then the power spectrum of the image in D dimensions is just a slice through the N dimensional power spectrum. For a projected measure,
where is a vector in D dimensional space whenever for the original measure .
However, an analog of Eqs. 6?–8 would suffer from the dominating aliasing effects (Application: Cas A): One would need to know what is the shape of the initial shell and painfully extract delicate dimension information from an analogue of (Eq. 11), much less explicit in the Fourier representation. Thus while projection is conceptually simplest in Fourier space, Fourier analysis is poorly suited as even isotropic processes can be inhomogeneous in projection due to these projection effects. As seen in the figure, the Fourier analysis yields the incorrect slope without aliasing corrections. Aliasing corrections can be applied when there is a good model for the three-dimensional object (see e.g., ref. 6). The wavelet-based approach is, however, better suited for more complex structures.
Application: Cas A
In this section, we apply these methods to a NIRCAM JWST mosaic image of Cas A (23) and to Chandra image at 0.5 to 1.5, 1.5 to 3.0, and 4.0 to 6.0 keV (25). This nearby and young (∼350 y) core-collapse supernova remnant is a particularly interesting case for this study. There are high quality X-ray and near-IR observations that probe the forward and reverse shocks. For over 60 y, physicists have suggested that these shocks are subject to Rayleigh–Taylor instabilities (27). While wavelets have been used to characterize the substructure in X-ray remnants (28), they have not been used to measure fractal dimension. Emission at F444W is dominated by warm CO and synchrotron emission, while emission at F365W is dominated by synchrotron (24). In this section, we analyze an image shown in Fig. 3 that is derived by subtracting the F365W observations from F444W to remove the synchrotron emission (24). We mask negative flux pixels in the synchrotron-subtracted maps provided by Tea Temim from the (23) analysis. These masked pixels are either at the positions of stars or outside the reverse shock. The CO emission in the image is tracing the distribution of warm gas (∼1,000 K) in a reverse shock in the remnant (29). This reverse shock is unstable to Rayleigh–Taylor instabilities and is expected to develop a multiscale fractal-like structure (30).
X-ray and Infrared images of Cas A. The first three images are Chandra X-ray images at 0.5 to 1.5 keV, 1.5 to 3.0 keV, and 4.0 to 6.0 keV. The Lower Right figure is derived (24) by subtracting the F365W JWST NIRCAM image from F444W JWST NIRCAM image to remove the synchrotron emission. We display the image of the data provided by Tea Temim from the JWST Cas A survey team.
Fig. 4 shows the wavelet power spectrum, , as a function of scale. The wavelet transform of the image shows remarkable power law behavior across a wide range of scales with a spectral index depending on the wavelength. This power law scaling suggests that the description of the image as the projection of fractal emitting layer is consistent with the data. For the CO gas, the slope of the wavelet power spectrum is 1.7. For the X-ray emitting gas, the slope of the power spectrum peaks near 2.5, consistent with simulations of instabilities of a thermal radiative mixing layer (15). Assuming as before that the amplitude of the wavelets are independent and identically distributed, the fractional error on the 2D power spectrum amplitude on scale l is . For a fractal of dimension γ, there are modes in the object, where is the scale of the system. In fitting the slope, we inverse-variance weight the data. In the fit, we exclude the smallest scale (because of beam smearing) and the largest scale (because it likely is outside the mesoscale range.
Wavelet Power Spectrum of 2D Image of Cas A for gas at different frequencies. Here, we use Ricker wavelets in the analysis. The Upper Left is for 0.5 to 1.5 keV X-ray emission. The Upper Right is for 1.5 to 3.0 keV X-ray emission and the Lower Left is for 4.0 to 6.0 keV. The Lower Right is for the cleaned JWST image. The break from the power law at the largest scales is due to the fractal description of the emitting surface failing at scales comparable to the radius of Cas A. Because of JWST’s better angular resolution, the Lower Right spectrum has a larger dynamic range. The error bars are estimated based on the number of modes on a given scale.
It will be interesting to compare numerical studies of the development of instabilities in young supernova remnants (31) to these measurements from the observations.
Conclusions
In this paper, we establish a method for analyzing images and determining the dimension of projected mesoscale measure, set up in the framework of the wavelet-based analysis. Traditional box-counting methods fail both in projection but in the ambient N-dimensional space for disconnected sets. Here, we demonstrate the technique on simulated data and on observations of Cas A, where we find that dimension of the measure depends on the frequency observed. The observations at different frequencies are tracing gas at different temperatures.
We believe this approach is quite general and can be used not only to extract additional information about the underlying physics for a wide range of astrophysical objects, but more generally to analyze data in projection across a variety of fields. For example, it would be interesting to apply these methods to measurements of the intrinsic dimensions of surfaces in high dimensional spaces in machine learning (32) and in measurements of the fractal dimension of decision boundaries.
This work suggests several interesting open questions: What is the relationship between the dimension of the tracer level set and the properties of the velocity field near the boundary? Because of cooling at radiative layers and viscous damping of shear fields near Kelvin-Helmholtz instability boundaries, the properties of the velocity field near the emitting layer may differ from isotropic homogeneous turbulence. How do magnetic fields affect the structure of the boundary layer? Will they produce direction-dependent fractal dimensions? Here we focused on fields projected from 3 to 2 dimensions. Can these techniques be applied to velocity slices in 21-centimeter data (see e.g., ref. 16)?
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1A. G. Kritsuk, M. L. Norman, P. Padoan, R. Wagner, The statistics of supersonic isothermal turbulence. Astrophys. J. 665, 416–431 (2007).
- 2A. A. Schekochihin, MHD turbulence: A biased review. J. Plasma Phys. 88, 155880501 (2022).
- 3A. Chepurnov, A. Lazarian, Extending the big power law in the sky with turbulence spectra from Wisconsin Hα mapper data. Astrophy. J. 710, 853–858 (2010).
- 4P. Dutta , The structure function of galactic H i opacity fluctuations on au scales based on MERLIN, VLA and VLBA data. Mon. Not. R. Astron. Soc. 442, 647–655 (2014).
- 5K. H. Yuen, K. W. Ho, C. Y. Law, A. Chen, A. Lazarian, Turbulent universal galactic Kolmogorov velocity cascade over 6 decades. ar Xiv [Preprint] (2022). http://arxiv.org/abs/2204.13750 (Accessed 11 March 2026).
- 6M. Nandakumar, P. Dutta, Large-scale turbulence cascade in the spiral galaxy NGC 6946. Mon. Not. R. Astron. Soc. 526, 4690–4697 (2023).
- 7Z. S. She, E. Leveque, Universal scaling laws in fully developed turbulence. Phys. Rev. Lett. 72, 336–339 (1994).10056405 10.1103/Phys Rev Lett.72.336 · doi ↗ · pubmed ↗
- 8S. Boldyrev, A. Nordlund, P. Padoan, Supersonic turbulence and structure of interstellar molecular clouds. Phys. Rev. Lett. 89, 031102 (2002).12144384 10.1103/Phys Rev Lett.89.031102 · doi ↗ · pubmed ↗
