Publications of the Astronomical Society of Australia Publications of the Astronomical Society of Australia Society
Publications of the Astronomical Society of Australia

Cosmic-Ray Detection Based on Gray-Scale Morphology of Spectroscopic CCD Images

Jia Zhu A , Zhangqin Zhu A , Chong Wang A and Zhongfu Ye A B
+ Author Affiliations
- Author Affiliations

A Institute of Statistical Signal Processing, Department of Electronic Engineering and Information Science, University of Science and Technology of China, Hefei 230027, China PRC

B Corresponding author. Email:

Publications of the Astronomical Society of Australia 26(1) 69-74
Submitted: 24 November 2008  Accepted: 22 December 2008   Published: 2 April 2009


Detection of cosmic-ray hits is important because of their disturbing effects on image processing. An algorithm based on gray-scale morphology to detect cosmic-rays in single spectroscopic CCD images is presented in this paper. Based on the morphological differences between cosmic-ray hits and spectra, the operations of erosion and dilation are used to deal with images successively, with appropriate structuring elements. Points of cosmic-ray hits can be detected by analyzing the variation between data pre- and post-operation. Examples of the algorithm are given at the end of this paper, with several groups of both simulated LAMOST images and observed SDSS images to show its performance.

Keywords: techniques: image processing — cosmic rays


Axelrod, T., Connolly, A., Ivezic, Z., Kantor, J., Lupton, R., Plante, R., Stubbs, C., &  Wittman, D. 2004, in AAS Meeting, 205, 108.11

Basart, J. P., Chacklackal, M. S., &  Gonzalez, R. C. 1992, Advances in Image Analysis, Eds. Mahdavieh, Y. & Gonzalez, R. C. (Bellingham, Washington: SPIE Press), 306

Becker, A. C., Rest, A., Miknaitis, G., Smith, R. C., &  Stubbs, C. 2004, BAAS, 36, 108.12

Candeas, A. J., Braga-Neto, U. M., &  Carvalho Filho, E. C. B. 1996, Anais do IX SIBGRAPI, 235

Candeas, A. J., Braga-Neto, U. M., &  Carvalho Filho, E. C. B. 1997, J. Brazilian Computer Society, 3, 14

Croke, B. F. W. 1995, PASP, 107, 1255
CrossRef |

Farage, C. L., &  Pimbblet, K. A. 2005, PASA, 22, 249

Freudling, W. 1995, PASP, 107, 85
CrossRef |

Heijmans, H. J. A. M. 1992, Nieuw Archief voor Wiskunde, Vierde Serie, 10, 237

Heijmans, H. J. A. M. 1994, in Shape in Picture: Mathematical Description of Shape in Grey-level Images, 147

Heijmans, H. J. A. M. 1995, in SIAM Review, 37, 1
CrossRef |

Matheron, G. 1975, Random Sets and Integral Geometry (New York: John Wiley and Sons),

Moore, J. A., Pimbblet, K. A., &  Drinkwater, M. J. 2006, PASA, 23, 135

Offenberg, J. D., Sengupta, R., Fixsen, D. J., Stockman, P., Nieto-Santistenban, M., Stallcup, S., Hanisch, R., &  Mather, J. C. 1999, ASPC, 172, 141

Pych, W. 2004, PASP, 116, 148
CrossRef |

Rhoads, J. E. 2000, PASP, 112, 703
CrossRef |

Salzberg, S., Chandar, R., Ford, H., Murthy, S. K., &  White, R. 1995, PASP, 107, 279
CrossRef |

Serra, J. 1982, Image Analysis and Mathematical Morphology (London: Academic Press),

Shaw, R. A., &  Horne, K. 1992, ASPC, 25, 311

Urbach, E. R., &  Wilkinson, M. H. F. 2008, ITIP, 17, 1

van Dokkum, P. G. 2001, PASP, 113, 1420
CrossRef |

van Droogenbroeck, M., &  Buckley, M. 2005, JMIV, 22, 121
CrossRef |

Windhorst, R. A., &  Franklin, B. E. 1994, PASP, 106, 798
CrossRef |

Zhang, L., Bai, Z. R., Wang, C., &  Ye, Z. F. 2007, J. USTC, 37, 688

Zhu, Z. Q., &  Ye, Z. F. 2008, PASP, 120, 814
CrossRef |

Export Citation