CoChat

MAXIMASK and MAXITRACK: Two new tools for identifying contaminants in astronomical images using convolutional neural networks

Open access
Paillassa, M., Bertin, E., Bouy, H. · 2020 · Astronomy & Astrophysics

The DOI matches its Crossref record; 44 of the 45 references it cites were found in a registry or an index.

Abstract

In this work, we propose two convolutional neural network classifiers for detecting contaminants in astronomical images. Once trained, our classifiers are able to identify various contaminants, such as cosmic rays, hot and bad pixels, persistence effects, satellite or plane trails, residual fringe patterns, nebulous features, saturated pixels, diffraction spikes, and tracking errors in images. They encompass a broad range of ambient conditions, such as seeing, image sampling, detector type, optics, and stellar density. The first classifier, M AXI M ASK, performs semantic segmentation and generates bad pixel maps for each contaminant, based on the probability that each pixel belongs to a given contaminant class. The second classifier, M AXI T RACK, classifies entire images and mosaics, by computing the probability for the focal plane to be affected by tracking errors. We gathered training and testing data from real data originating from various modern charged-coupled devices and near-infrared cameras, that are augmented with image simulations. We quantified the performance of both classifiers and show that M AXI M ASK achieves state-of-the-art performance for the identification of cosmic ray hits. Thanks to a built-in Bayesian update mechanism, both classifiers can be tuned to meet specific science goals in various observational contexts.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1051/0004-6361/201936345

Cites

44 of 44 references verified0 citation errors · 0 not checkable

Statistics

Figures

Fig. 1 Examples of contaminants and their ground truth. Top row : cosmic ray hits, hot columns, bad columns. Bottom row : bad lines, persistence, satellite trails.
Fig. 1 Examples of contaminants and their ground truth. Top row : cosmic ray hits, hot columns, bad columns. Bottom row : bad lines, persistence, satellite trails.CC-BY · From the PDF
Fig. 2 Examples of added fringes and nebulosities. Top : fringes; uncontaminated input exposure, smoothed fringe pattern, contaminated image, ground truth mask, polynomial envelope. Bottom : nebulosities; uncontaminated input exposure, Herschel 250 mmolecular cloud image, contaminated image, ground truth mask.
Fig. 2 Examples of added fringes and nebulosities. Top : fringes; uncontaminated input exposure, smoothed fringe pattern, contaminated image, ground truth mask, polynomial envelope. Bottom : nebulosities; uncontaminated input exposure, Herschel 250 mmolecular cloud image, contaminated image, ground truth mask.CC-BY · From the PDF
Fig. 3 Neural network used specifically for spike detection.
Fig. 3 Neural network used specifically for spike detection.CC-BY · From the PDF
Fig. 4 Example of a spike mask obtained by inference of the separate neural network.
Fig. 4 Example of a spike mask obtained by inference of the separate neural network.CC-BY · From the PDF
Fig. 5 Empirical spike flagging process. From left to right : source image centered on a bright star candidate, the same image thresholded, the two pointwise products, the matched filtered pointwise products, the final mask drawed from the empirical size computed with the two previous masks.
Fig. 5 Empirical spike flagging process. From left to right : source image centered on a bright star candidate, the same image thresholded, the two pointwise products, the matched filtered pointwise products, the final mask drawed from the empirical size computed with the two previous masks.CC-BY · From the PDF
Fig. 6 Examples of images a ected by tracking errors.
Fig. 6 Examples of images a ected by tracking errors.CC-BY · From the PDF
Fig. 7 Schematic view of the sample production pipeline. All COSMIC-DANCe archive images have their background map computed. Clean images are built from the COSMIC-DANCe archives. Contaminants from diverse sources (COSMIC-DANCe archives, Herschel archives or simulations) are added to clean images; this step uses the background maps. The resulting local contaminant images are dynamically compressed (see Sect. 2.3.3) and ready to be fetched into the neural network. Global contaminant samples are directly obtained from the COSMIC DANCe archives and dynamically compressed.
Fig. 7 Schematic view of the sample production pipeline. All COSMIC-DANCe archive images have their background map computed. Clean images are built from the COSMIC-DANCe archives. Contaminants from diverse sources (COSMIC-DANCe archives, Herschel archives or simulations) are added to clean images; this step uses the background maps. The resulting local contaminant images are dynamically compressed (see Sect. 2.3.3) and ready to be fetched into the neural network. Global contaminant samples are directly obtained from the COSMIC DANCe archives and dynamically compressed.CC-BY · From the PDF
Fig. 8 Examples of input ( left ) and their ground truth ( right ). Each class is assigned a color so that the ground truth can be represented as a single image (red: CR, dark green: HCL, dark blue: BCL, green: HP, blue: BP, yellow: P, orange: TRL, gray: FR, light gray: NEB, purple: SAT, light purple: SP, brown: OV, pink: BBG, dark gray: BG). Pixels that belong to several classes are represented in black. In the interest of visualization, hot and dead pixel masks have been morphologically dilated so that they appear as 3 3 pixel areas in this representation.
Fig. 8 Examples of input ( left ) and their ground truth ( right ). Each class is assigned a color so that the ground truth can be represented as a single image (red: CR, dark green: HCL, dark blue: BCL, green: HP, blue: BP, yellow: P, orange: TRL, gray: FR, light gray: NEB, purple: SAT, light purple: SP, brown: OV, pink: BBG, dark gray: BG). Pixels that belong to several classes are represented in black. In the interest of visualization, hot and dead pixel masks have been morphologically dilated so that they appear as 3 3 pixel areas in this representation.CC-BY · From the PDF
Fig. 9 Example of an unpooling process. Indices of max-pooling are kept up and reused to upsample the feature maps.
Fig. 9 Example of an unpooling process. Indices of max-pooling are kept up and reused to upsample the feature maps.CC-BY · From the PDF
Fig. 10 Scheme representation of the local contaminants neural network architecture.
Fig. 10 Scheme representation of the local contaminants neural network architecture.CC-BY · From the PDF
Fig. 11 Scheme representation of the global contaminants neural network architecture.
Fig. 11 Scheme representation of the global contaminants neural network architecture.CC-BY · From the PDF
Fig. 12 Examples of qualitative results on test data. Left : input; middle : ground truth; right : predictions. Each class is assigned a color so that the ground truth can be represented in one single image. Class predictions are done according to the threshold giving the highest MC coe cient. The color coding is identical to that of Fig. 8.
Fig. 12 Examples of qualitative results on test data. Left : input; middle : ground truth; right : predictions. Each class is assigned a color so that the ground truth can be represented in one single image. Class predictions are done according to the threshold giving the highest MC coe cient. The color coding is identical to that of Fig. 8.CC-BY · From the PDF
Fig. 13 CR detection performance comparison with LA Cosmic.
Fig. 13 CR detection performance comparison with LA Cosmic.CC-BY · From the PDF
Fig. 14 Global contaminant neural network ROC curve; the steps are a consequence of limited statistics.
Fig. 14 Global contaminant neural network ROC curve; the steps are a consequence of limited statistics.CC-BY · From the PDF
Fig. A.1. ROC curves: TPR vs. FPR. The FPR axis in in logarithmic scale so that very low FPR are best visualized. The ROC curve and the AUC are provided for each class.
Fig. A.1. ROC curves: TPR vs. FPR. The FPR axis in in logarithmic scale so that very low FPR are best visualized. The ROC curve and the AUC are provided for each class.CC-BY · From the PDF
Fig. A.1. continued.
Fig. A.1. continued.CC-BY · From the PDF
Fig. A.2. MC coe cient curves: MC coe cient vs. detection threshold. On each curve is annotated the threshold for which the MC coe cient is the highest. These curves were computed using the probabilities corrected from priors using empirical training priors.
Fig. A.2. MC coe cient curves: MC coe cient vs. detection threshold. On each curve is annotated the threshold for which the MC coe cient is the highest. These curves were computed using the probabilities corrected from priors using empirical training priors.CC-BY · From the PDF
Image 18
CC-BY · From the PDF
Image 19
CC-BY · From the PDF
Image 20
CC-BY · From the PDF
Image 21
CC-BY · From the PDF
Image 22
CC-BY · From the PDF
Image 23
CC-BY · From the PDF
Fig. A.3. Purity curves: TPR vs. PUR.
Fig. A.3. Purity curves: TPR vs. PUR.CC-BY · From the PDF
Fig. A.3. continued.
Fig. A.3. continued.CC-BY · From the PDF
Fig. A.4. Prediction example for an instrument not used in training: ZTF (Bellm et al. 2019). Left : a science image exposure. Top right : mask from the ZTF pipeline. Bottom right : flagging by M axi M ask ; the trail is correctly recovered. Also, M axi M ask CNN is able to correctly flag pixels where the trail overlaps sources whereas in the ZTF pipeline, all pixels (i.e., pixels belonging only to the trail, pixels belonging only to sources, and pixels belonging to both the trail and sources) are flagged as both trail and source.
Fig. A.4. Prediction example for an instrument not used in training: ZTF (Bellm et al. 2019). Left : a science image exposure. Top right : mask from the ZTF pipeline. Bottom right : flagging by M axi M ask ; the trail is correctly recovered. Also, M axi M ask CNN is able to correctly flag pixels where the trail overlaps sources whereas in the ZTF pipeline, all pixels (i.e., pixels belonging only to the trail, pixels belonging only to sources, and pixels belonging to both the trail and sources) are flagged as both trail and source.CC-BY · From the PDF
Fig. A.5. Example of a prediction for a space instrument (HST) not used in training (ACS exposure). Left : a calibrated (flat-fielded, CTE-corrected) individual exposure of a stellar field in the Pleiades. Top right : fully calibrated, geometrically-corrected, dither-combined image where cosmic rays and artifacts have been removed. Bottom right : M axi M ask contaminant identification. Each class is assigned a color so that the ground truth can be represented as a single image (red: CR, dark green: HCL, dark blue: BCL, green: HP, blue: BP, yellow: P, orange: TRL, gray: FR, light gray: NEB, purple: SAT, light purple: SP, brown: OV, pink: BBG, dark gray: BG). Pixels that belong to several classes are represented in black. For the sake of visualization, hot and dead pixel masks have been morphologically dilated so that they appear as 3 3 pixel areas in this representation.
Fig. A.5. Example of a prediction for a space instrument (HST) not used in training (ACS exposure). Left : a calibrated (flat-fielded, CTE-corrected) individual exposure of a stellar field in the Pleiades. Top right : fully calibrated, geometrically-corrected, dither-combined image where cosmic rays and artifacts have been removed. Bottom right : M axi M ask contaminant identification. Each class is assigned a color so that the ground truth can be represented as a single image (red: CR, dark green: HCL, dark blue: BCL, green: HP, blue: BP, yellow: P, orange: TRL, gray: FR, light gray: NEB, purple: SAT, light purple: SP, brown: OV, pink: BBG, dark gray: BG). Pixels that belong to several classes are represented in black. For the sake of visualization, hot and dead pixel masks have been morphologically dilated so that they appear as 3 3 pixel areas in this representation.CC-BY · From the PDF
Fig. A.6. Same as Fig. A.5 at a di erent location in the field to illustrate the ability of M axi M ask to di erentiate poorly sampled stellar images from cosmic rays.
Fig. A.6. Same as Fig. A.5 at a di erent location in the field to illustrate the ability of M axi M ask to di erentiate poorly sampled stellar images from cosmic rays.CC-BY · From the PDF

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 44 references

Research works printed but not linked: 17

  1. Abadi, M., Barham, P., Chen, J., et al. 2016, in Proceedings of the 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI '16), 16, 265
  2. Autry, R. G., Probst, R. G., Starr, B. M., et al. 2003, in Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series, eds. M. Iye, & A. F. M. Moorwood, 4841, 525
  3. Badrinarayanan, V., Kendall, A., & Cipolla, R. 2015, ArXiv e-prints [arXiv:1511.00561] · arXiv
  4. Bertin, E. 2009, Mem. Soc. Astron. It., 80, 422
  5. Boulade, O., Charlot, X., Abbon, P., et al. 2003, in Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series, eds. M. Iye, & A. F. M. Moorwood, 4841, 72
  6. Cuillandre, J. C., Luppino, G. A., Starr, B. M., & Isani, S. 2000, in Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series, eds.
  7. Flaugher, B. L., Abbott, T. M. C., Annis, J., et al. 2010, in Ground-based and Airborne Instrumentation for Astronomy III, Proc. SPIE, 7735, 77350D
  8. Ives, D. 1998, IEEE Spectrum, 16, 20
  9. Krizhevsky, A., Sutskever, I., & Hinton, G. E. 2012, in Advances in Neural Information Processing Systems, 1097
  10. Kuijken, K., Bender, R., Cappellaro, E., et al. 2002, The Messenger, 110, 15
  11. LeCun, Y., & Bengio, Y. 1995, The Handbook of Brain Theory and Neural Networks (Cambridge: MIT Press), 3361
  12. Long, J., Shelhamer, E., & Darrell, T. 2015, Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 3431
  13. Lowe, D. G. 1999, ICCV'99: Proceedings of the International Conference on Computer Vision , 1150
  14. Metzger, M. R., Luppino, G. A., & Miyazaki, S. 1995, Bull. Am. Astron. Soc., 27, 1389
  15. Valdes, F., Gruendl, R., & DES Project 2014, in Astronomical Data Analysis Software and Systems XXIII, eds. N. Manset, & P. Forshay, ASP Conf. Ser., 485, 379
  16. Vandame, B. 2002, in Astronomical Data Analysis II, eds. J. L. Starck, & F. D. Murtagh, SPIE Conf. Ser., 4847, 123
  17. Wolfe, T., Armandroff, T., Blouke, M. M., et al. 2000, in Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series, eds. M. M. Blouke, N. Sampat, G. M. Williams, & T. Yeh, 3965, 80

Cited by

See all 36

Metadata

Authors
Paillassa, M., Bertin, E., & Bouy, H.
Affiliations
Centre National de la Recherche Scientifique (FR)
Venue
Astronomy & Astrophysics
Publisher
EDP Sciences
Published
2020-02
Volume
634
Pages
A48
ISSN
  • 0004-6361 (ISSN-L)
  • 1432-0746
OpenAlex
W2963386274
Cited by
35
References
45
Citations by year
2026: 5 · 2025: 2 · 2024: 7 · 2023: 8 · 2022: 8 · 2021: 2 · 2020: 2
FWCI
2.61
Type
journal article
Language
en
Open access
Locations
  • Astronomy and Astrophysics (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • HAL (submittedVersion, other-oa)
  • Oskar-Bordeaux (Universite de Bordeaux) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • National Science Foundation (1238877)
  • Smithsonian Institution
  • National Aeronautics and Space Administration (NNX08AR22G, AST-1238877)
  • Princeton University
  • Nvidia
  • Johns Hopkins University
  • Space Telescope Science Institute (NNX08AR22G)
  • European Commission (HORIZON2020, 682903)
  • University of Edinburgh
  • Queen's University Belfast
  • Durham University
  • Agence Nationale de la Recherche (ANR- 10-IDEX-03-02, 10‐IDEX‐03‐02, ANR-10-IDEX, ANR-10-IDEX-0003, ANR-10)
  • Ministry of Education, Culture, Sports, Science and Technology
  • Academia Sinica
  • Cabinet Office, Government of Japan
  • Centre National d’Etudes Spatiales
  • Queen's University
  • University of Tokyo
  • Centre National de la Recherche Scientifique (ANR-10-IDEX-03-02)
  • National Central University
  • National Astronomical Observatory of Japan
  • High Energy Accelerator Research Organization
  • Eötvös Loránd Tudományegyetem
  • Max-Planck-Institut für Astronomie
  • Instituto de Astrofísica de Canarias
  • Toray Science Foundation
  • Smithsonian Astrophysical Observatory
  • Science Mission Directorate (NNX08AR22G)
  • Canadian Space Agency
  • Japan Society for the Promotion of Science
  • Japan Science and Technology Agency
  • Planetary Science Division (NNX08AR22G)
  • Los Alamos National Laboratory
Topics
  • Physical Sciences › Physics and Astronomy › Instrumentation › Astronomy and Astrophysical Research
  • Physical Sciences › Physics and Astronomy › Astronomy and Astrophysics › Astronomical Observations and Instrumentation
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Image Processing Techniques
Keywords
contamination detection, cosmic rays, bad pixels, semantic segmentation, convolutional neural networks, tracking error, fringe patterns, detector calibration, Bayesian updating, image mosaics

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: MAXIMASK and MAXITRACK: Two new tools for identifying contaminants in astronomical images using convolutional neural networks. https://app.cochat.ai/papers/10.1051/0004-6361/201936345
The paper
Paillassa, M., Bertin, E., & Bouy, H. (2020). MAXIMASK and MAXITRACK: Two new tools for identifying contaminants in astronomical images using convolutional neural networks. Astronomy & Astrophysics. https://doi.org/10.1051/0004-6361/201936345

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.