[Paper Review] Introducing ADAPTSMOOTH, a new code for the adaptive smoothing of astronomical images
This paper introduces adaptsmooth, a new standalone code for adaptive smoothing of astronomical images that optimizes signal-to-noise ratio (S/N) by varying kernel size per pixel based on local S/N. It uniquely implements median averaging mode, significantly improving flux conservation and reducing artifacts compared to existing mean-based methods, achieving surface brightness deviations of <0.01 mag and flux errors of <0.001 mag in galaxy photometry tests.
We introduce and publicly release a new code, ADAPTSMOOTH, which serves to smooth astronomical images in an adaptive fashion, in order to enhance the signal-to-noise ratio (S/N). The adaptive smoothing scheme allows to take full advantage of the spatially resolved photometric information contained in an image in that at any location the minimal smoothing is applied to reach the requested S/N. Support is given to match more images on the same smoothing length, such that proper estimates of local colours can be done, with a big potential impact on multi-wavelength studies of extended sources (galaxies, nebulae). Different modes to estimate local S/N are provided. In addition to classical arithmetic-mean averaging mode, the code can operate in median averaging mode, resulting in a significant enhancement of the final image quality and very accurate flux conservation. To this goal also other code options are implemented and discussed in this paper. Finally, we analyze in great detail the effect of the adaptive smoothing on galaxy photometry, in particular in terms of surface brightness (SB) profiles and aperture photometry: deviations in SB with respect to the original image can be limited to <0.01 mag, with flux difference in apertures of less than 0.001 mag.
Motivation & Objective
- To develop a flexible, standalone adaptive smoothing code tailored for optical and near-infrared astronomical imaging.
- To address the challenge of balancing spatial resolution and signal-to-noise ratio (S/N) in extended sources with high surface brightness dynamic ranges.
- To improve flux conservation and reduce artifacts in smoothed images, especially in regions with bright sources adjacent to faint backgrounds.
- To provide users with multiple S/N estimation modes and smoothing level cuts for robust performance across diverse noise regimes.
- To enable accurate multi-wavelength photometry by supporting spatially resolved color measurements through smoothing masks.
Proposed method
- Adaptive smoothing is applied by varying the kernel size per pixel to achieve a user-defined minimum S/N, ensuring minimal smoothing where signal is strong.
- The code supports two averaging modes: arithmetic mean (standard) and median averaging, with the latter shown to reduce flux conservation errors and artifacts.
- Local S/N is estimated using three methods: Poisson + background noise, background noise only, or local signal fluctuations (r.m.s. of pixel intensities).
- Smoothing masks are implemented to allow multi-band image processing, enabling spatially resolved color measurements in extended sources.
- Smoothing level cuts are introduced as a post-processing option to suppress artifacts, particularly at transitions between no smoothing and low-level smoothing.
- The algorithm preserves spatial resolution where possible and minimizes information loss by avoiding over-smoothing in high-S/N regions.
Experimental results
Research questions
- RQ1How can adaptive smoothing be optimized to preserve surface brightness and total flux in astronomical images with high dynamic range in surface brightness?
- RQ2What are the relative advantages of median versus mean averaging in adaptive smoothing for minimizing flux conservation errors and artifacts?
- RQ3How do different S/N estimation methods (Poisson + background, background only, local r.m.s.) affect the performance and robustness of adaptive smoothing across diverse imaging regimes?
- RQ4To what extent can smoothing level cuts reduce flux conservation errors and artifacts in the transition regions between high- and low-S/N areas?
- RQ5Can adaptive smoothing significantly extend the measurable surface brightness dynamic range in galaxy and nebulae imaging while maintaining photometric fidelity?
Key findings
- The median-averaging mode in adaptsmooth reduces flux conservation errors by approximately 50% compared to mean-averaging, achieving deviations in flux growth curves of less than 0.001 mag when smoothing level 1 is excluded.
- Surface brightness profiles of smoothed images deviate from the original image by less than 0.01 mag in azimuthal averages, even in regions with high contrast.
- Flux conservation is most accurate when using median smoothing combined with a cut on smoothing level 1, minimizing biases introduced at the boundary between unsmoothed and smoothed regions.
- The code’s flexibility in S/N estimation—supporting Poisson+background, background-only, and local r.m.s. methods—enables robust performance even with limited prior knowledge of noise models.
- Adaptive smoothing with adaptsmooth enables reliable local color measurements in multi-band imaging by preserving spatial resolution and photometric accuracy across extended sources.
- Compared to existing codes like csmooth or ftools, adaptsmooth uniquely provides median averaging and more flexible smoothing level cuts, significantly improving image quality and photometric fidelity in optical and near-IR data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.