In computational photography, "detail" is traditionally defined by contrast. Standard edge-preserving filters, such as the Bilateral filter or Weighted Least Squares (WLS), operate on the assumption that high-gradient features represent important edges, while low-gradient features represent noise or texture. However, this paradigm fails when images contain high-contrast textures (e.g., a patterned shirt) alongside soft, low-contrast structural edges (e.g., subtle shadows).
Kartic Subr and colleagues propose a shift from contrast-based filtering to a method based on spatial oscillations. Their approach separates features based on their spatial scale—the "tightness" of oscillations—rather than their brightness magnitude.
Methodology: Envelopes and Extrema
The core of the proposed non-linear multiscale decomposition is inspired by Empirical Mode Decomposition (EMD). The algorithm follows a recursive three-step process:
- Locate Extrema: Identify local minima and maxima within a $k \times k$ neighborhood. The kernel size $k$ defines the targeted spatial scale.
- Construct Envelopes: Using weighted least squares interpolation, the method constructs two smooth surfaces: a "max envelope" fitting the peaks and a "min envelope" fitting the valleys.
- Extract the Mean: The "base" layer is the average of these two envelopes. The "detail" layer is the difference between the original image and this mean.
By repeating this process on the base layer with increasing kernel sizes, a multiscale decomposition is achieved.
Key Insights and Results
The primary advantage of this method is its ability to "bridge" over high-contrast spikes to find underlying trends. As shown in the scanline plots in the figure above, the algorithm can distinguish between rapid, high-amplitude oscillations (fine detail) and broader, low-amplitude shifts (coarse structure).
Superior Disambiguation
Unlike traditional filters, this method can smooth high-contrast textures while perfectly preserving soft edges. In testing, it effectively separated high-frequency noise and textures from the structural "base" of natural photographs, such as the intricate patterns on a vase or the subtle shading on flower petals.
Hatch-to-Tone and Noise Robustness
The method excels at "hatch-to-tone" conversion, treating pen strokes in drawings as high-frequency oscillations to be smoothed into continuous shading. Additionally, because noise typically manifests as the finest-scale oscillations, the algorithm naturally separates it from the underlying signal.
Limitations and Future Work
While powerful, the approach faces challenges at the boundaries of textured regions. Abrupt endings of high-contrast patterns can lead to minor halo artifacts if the algorithm misinterprets the boundary as part of an oscillation. Furthermore, solving the sparse linear systems for envelopes is more computationally intensive than local filtering, though multigrid solvers offer potential speedups. Future research may involve incorporating semantic information to resolve cases where the distinction between "detail" and "edge" is subjective.
Summary updated