Gnuastro: visualizing the full dynamic range in color images
Raúl Infante-Sainz, Mohammad Akhlaghi
TL;DR
The paper presents a method to visualize the full dynamic range of multi-wavelength astronomical images by applying a Lupton-based non-linear stretch to bright pixels and an inverse-gray mapping for faint regions via the astscript-color-faint-gray tool in Gnuastro. This approach enables simultaneous visualization of high- and low-surface-brightness features, demonstrated on M51 with J-PLUS data and complemented by $H\alpha$ channel mappings to probe star formation. The authors emphasize the importance of gray-background color mapping, parameter tunability, and reproducibility through Maneage and public code repositories, highlighting practical benefits for deep imaging and survey data. Overall, it provides a concrete, adaptable workflow for generating informative color images that preserve scientifically meaningful dynamic-range information.
Abstract
Color plays a crucial role in the visualization, interpretation, and analysis of multi-wavelength astronomical images. However, generating color images that accurately represent the full dynamic range of astronomical sources is challenging. In response, Gnuastro v0.22 introduces the program 'astscript-color-faint-gray', which is extensively documented in the Gnuastro manual. It employs a non-linear transformation to assign an 8-bit RGB (Red-Green-Blue) value to brighter pixels, while the fainter ones are shown in an inverse grayscale. This approach enables the simultaneous visualization of low surface brightness features within the same image. This research note is reproducible with Maneage, on the Git commit 48f5408.
