Abstract
In this work, we present a method for the automatic cosmic ray elimination in a single CCD exposure using the Wavelet Transform. The proposed method can eliminate cosmic rays of any shape or size. With this method we can eliminate over 95% of cosmic rays in a spectral image.