Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.adass.org/adass/proceedings/adass97/reprints/monais.pdf
Дата изменения: Wed Apr 15 02:17:57 1998
Дата индексирования: Tue Oct 2 11:37:42 2012
Кодировка:

Поисковые слова: п п п п п п п п п п п п п
Astronomical Data Analysis Software and Systems VII ASP Conference Series, Vol. 145, 1998 R. Albrecht, R. N. Hook and H. A. Bushouse, eds.

Recognition of Anomalous Events
S. Monai
1 2 1 ,2

and F.Pasian2

Osservatorio Astronomico di Brera Merate, Italy Osservatorio Astronomico di Trieste, Italy

Abstract. We present an original algorithm for the recognition of anomalous events in a CCD frame (i.e., cosmic hits, bad pixels etc.). The algorithm is able to distinguish between these events and real features by comparing the standard deviation and the kurtosis of a synthetic PSF, whose width is given by the user, and the corresponding values in a running window, whose size is chosen by the user, in the actual frame. The anomalous pixels are therefore filtered with a neighbourhood average. Raw images, as read from a CCD, are often affected by some events which are revealed by anomalous pixel values, i.e., single saturated pixels or pixels at zero intensity (also named hot or bad pixels). Often cosmic rays cross the CCD during the exposure and are revealed as strange features normally affecting a few contiguous pixels. It is not always simple to disentangle automatically these features. Among the approaches to this recognition problem we have: - IRAF tasks cosmicrays; - MIDAS task filter/cosmic; - a locally adaptive modified Haar transform approach due to Richter (1991) and Richter et al. (1991); a median filter approach due to Meurs et al. (1991) and van Moorsel (1991); - a method using filters based on ordered statistics (Pasian 1991); - an image restoration, followed by flagging badly restored "ob jects" as bad pixels, and rerestoring (Weir 1991), this last allows the addition of a point spread function (PSF) fitting, coupled with the flagging of poorly restored "ob jects"; - a three step procedure is used by Yee et al. (1996). In this work we make only one reasonable assumption about this kind of events: The anomalous events are smaller than the actual PSF of the instrument. This is not always true, but if this is the case we think there are no classic criteria, affordable by a classical algorithm, to distinguish these events (different approaches are those of Priebe et al. (1993) and Murtagh (1994), both use ob ject recognition techniques). When the previous assumption is true (by far the great ma jority of cases) we have the possibility to establish some precise criteria to identify, and filter, the anomalous events, without affecting the real features (which are normally degraded by a normal filtering technique). First of all we must know the PSF width in pixel units, and this is not very difficult both for imaging and spectroscopical observations. A Gaussian fit across a star or an emission line is sufficient to determine the actual PSF width (the seeing normally prevents us to see the true diffraction pattern). With this datum we are able to compute two important parameters: the standard deviation and the kurtosis in a window centered on a synthetic PSF (the window width is chosen by the user). The first parame75

© Copyright 1998 Astronomical Society of the Pacific. All rights reserved.


76

Monai and Pasian

ter allows recognition of events having an anomalous intensity variation across the specified window, while the second recognizes the event's shape which must have a profile narrower than the PSF (i.e., a greater kurtosis). The standard deviation of the real image derives from the signal variations across the feature plus the image noise; the deviation factor from the corresponding synthetic PSF must be chosen appropriately. This parameter must therefore be tuned: after several experiments on different images and spectra taken with different instruments, we suggest a deviation factor of at least 5. With these criteria we are confident not to identify as anomalous a real feature. When in a window the standard deviation is more than 5 times greater and the kurtosis is larger than the corresponding values of the PSF, the central pixel is identified as anomalous, its coordinates are stored and we can substitute taking twice the average value of its neighbours. We want to stress that only the contemporaneous satisfaction of both requirements allows us to identify an anomalous event; in fact a large kurtosis alone doesn't mean a narrower profile since the condition is necessary but not sufficient. The double averaging step is necessary because some events could be spread over more than one pixel and a simple filtering could not remove the anomalies, with a second iteration we are averaging the already filtered pixels and we are quite sure to eliminate completely the anomaly. If the anomalous event is spread along more than the window's width (but only in one direction) the algorithm still recognizes it but the neighbour average could not remove it completely. In this case the entire procedure should be repeated once more. Acknowledgments. We are grateful the image of the Seyfert galaxy. This work of the "Oss. Astron. di Brera Merate" for Software for the DOLORES instrument, i References Meurs E.J.A., Bonifacio V.H., & Lima N.M. 1991, in 3rd ESO/ST-ECF Data Analysis Workshop, 45 Pasian F. 1991, in 3rd ESO/ST-ECF Data Analysis Workshop, 57 Priebe A., Liebscher E., Lorenz H., & Richter G.M. 1993, in ASP Conf. Ser., Vol. 52, Astronomical Data Analysis Software and Systems II, ed. R. J. Hanisch, R. J. V. Brissenden & Jeannette Barnes (San Francisco: ASP), 442 Richter G.M. 1991, in 3rd ESO/ST-ECF Data Analysis Workshop, 37 Richter G.M., Boehm P., Lorenz A., & Capaccioli M. 1991, Astron. Nach. 312,345 van Moorsel G. 1991, ST-ECF Tech. Rep Weir N. 1991, in 3rd ESO/ST-ECF Data Analysis Workshop, 115 Yee H.K.C., Ellingson E., & Carlberg R.G. 1996, Ap. J. Supp. Ser. 102,269 to Dr. M. Nonino for having offered has been carried out thanks to a grant the realisation of the Data Reduction n the framework of the TNG pro ject.


Recognition of Anomalous Events

77

Figure 1.

Assonometric pro jection of a raw image

Figure 2.

Assonometric pro jection of the cleaned image

Figure 3.

Assonometric pro jection of the residuals

Figure 4.

The cross-cut of a cosmic hit filtering steps