| Version 1 (modified by , 15 years ago) ( diff ) |
|---|
Peak Culling in psphot
We have a problem with large numbers of false positive detections in some images with high background and large PSFs. The initial analysis of this problem is discussed on the following page: Background Model and Oversubtraction.
On that page, I present an attempt to detect and filter such bad detections using the ratio of flux in a core aperture to the kron flux. This seemed to work well in the sample cases, but on wide application, it is too likely to reject obvious galaxies. The optimal rejection parameters are probably too sensitive to the details of the image.
I have implemented an alternative technique which works similarly for the case of the very bad background (o5579g0223o.XY63), while retaining the obvious galaxies. The parameters for this alternative method should not be as sensitive as the core/kron rejection attempt.
In psphot, the initial detection pass is performed by detecting peaks on a 'significance image'. The significance image is constructed by smoothing the signal image with the PSF and the variance with the PSF2, and then calculating S/N = Image / sqrt(Variance) (In fact we calculate the square of S/N, but this is a detail).
After peaks have been detected, we generate a set of 'footprints' for each peak: these are contours at an isophotal level (defined as a multiple of the sky noise) which contain each peak. We then attempt to cull insignificant peaks by examining their neighbors in the same footprint. A peak is deemed to be insignificant if the path from that peak to the brighter peaks in the same footprint require us to traverse a col (local saddle) which is not significantly lower than the peak itself.
In the past, the test for the col significance has been made using the raw (unsmoothed) signal and variance images. However, as defined, any col is significant if it passes below a minimum threshold, defined as a number of sigma above sky. The result of this definition is that any low-significance peak in a region of low-significance sky flux excursions will always be considered 'significant'.
In the cases illustrated on the previous page ([wiki:Background_Oversubtraction Background Model), the background excursions are small, but are made significant by smoothing the image when generating the detection image. Typically, the variations in background in the example are a few to 10 DN, while the sky noise is ~35DN. The only reason peaks are detected in this region is that image is smoothed with a PSF of width ~10 pixels, pumping up the S/N in the sky, or equally, driving the sky noise from 35DN down to ~1.5DN. At this level, 10DN excursions are significant.
My idea is that the smoothed image better represents the significance of the background variations. Thus, if the culling used the smooth signal and variance images, it would probably identify some or many of these low-significance detections as insignificant relative to their neighbors.
Attachments (4)
- o5579g0223o.XY63.jpg (103.6 KB ) - added by 15 years ago.
- o5353g0100o.XY20.raw.jpg (238.8 KB ) - added by 15 years ago.
- o5353g0100o.XY20.smooth.jpg (72.2 KB ) - added by 15 years ago.
- o5353g0100o.XY20.crud.jpg (179.9 KB ) - added by 15 years ago.
Download all attachments as: .zip
