deepCR: Cosmic Ray Rejection with Deep Learning
Not on the map. Why?
Abstract (arXiv)
Cosmic ray (CR) identification and replacement are critical components of imaging and spectroscopic reduction pipelines involving solid-state detectors. We present deepCR, a deep learning based framework for CR identification and subsequent image inpainting based on the predicted CR mask. To demonstrate the effectiveness of this framework, we train and evaluate models on Hubble Space Telescope ACS/WFC images of sparse extragalactic fields, globular clusters, and resolved galaxies. We demonstrate that at a false positive rate of 0.5%, deepCR achieves close to 100% detection rates in both extragalactic and globular cluster fields, and 91% in resolved galaxy fields, which is a significant improvement over the current state-of-the-art method LACosmic. Compared to a multicore CPU implementation of LACosmic, deepCR CR mask predictions run up to 6.5 times faster on CPU and 90 times faster on a single GPU. For image inpainting, the mean squared errors of deepCR predictions are 20 times lower in globular cluster fields, 5 times lower in resolved galaxy fields, and 2.5 times lower in extragalactic fields, compared to the best performing non-neural technique tested. We present our framework and the trained models as an open-source Python project, with a simple-to-use API. To facilitate reproducibility of the results we also provide a benchmarking codebase.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 22 Jul 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 2; 2023: 2; 2024: 2; 2025: 1; 2026: 2.
11 papers.
- 2023Cross-Modal Fine-Tuning: Align then Refinecited by 34
- 2021NAS-Bench-360: Benchmarking Neural Architecture Search on Diverse Taskscited by 32
- 2022Efficient Architecture Search for Diverse Taskscited by 18
- 2024Learning Modality Knowledge Alignment for Cross-Modality Transfercited by 8
- 2026Denoising the Deep Sky: Physics-Based CCD Noise Formation for Astronomical Imagingcited by 8
- 2022Machine Learning and Cosmologycited by 6
- 2024Enhancing Cross-Modal Fine-Tuning with Gradually Intermediate Modality Generationcited by 5
- 2023DNArch: Learning Convolutional Neural Architectures by Backpropagationcited by 3
- 2021Cosmic-CoNN: A Cosmic Ray Detection Deep-Learning Framework, Dataset, and Toolkitcited by 2
- 2026Agentic Neural Architecture Searchcited by 1
- 2025Can AI Dream of Unseen Galaxies? Conditional Diffusion Model for Galaxy Morphology Augmentationcited by 0
- 2026Agentic Neural Architecture Search8 Jul 2026
- 2026Denoising the Deep Sky: Physics-Based CCD Noise Formation for Astronomical Imaging30 Jan 2026
- 2025Can AI Dream of Unseen Galaxies? Conditional Diffusion Model for Galaxy Morphology Augmentation19 Jun 2025
- 2024Learning Modality Knowledge Alignment for Cross-Modality Transfer27 Jun 2024
- 2024Enhancing Cross-Modal Fine-Tuning with Gradually Intermediate Modality Generation13 Jun 2024
- 2023Cross-Modal Fine-Tuning: Align then Refine11 Feb 2023
- 2023DNArch: Learning Convolutional Neural Architectures by Backpropagation10 Feb 2023
- 2022Efficient Architecture Search for Diverse Tasks15 Apr 2022
- 2022Machine Learning and Cosmology15 Mar 2022
- 2021NAS-Bench-360: Benchmarking Neural Architecture Search on Diverse Tasks12 Oct 2021
- 2021Cosmic-CoNN: A Cosmic Ray Detection Deep-Learning Framework, Dataset, and Toolkit28 Jun 2021