1 / 7

Masks, weights and flatfields

Learn about the importance of masks, weights, and flatfields in image processing. Explore different types of masks and their applications, such as for image statistics, sextractor, coaddition, and cosmic ray removal. Discover how to create weight frames and error maps for better error propagation.

annajoe
Download Presentation

Masks, weights and flatfields

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Masks, weights and flatfields Roeland Masks and weights Philippe Are WFI flatfields flat? Ewout Making a supersky?

  2. Masks, for what • Image statistics • We could do this more often • Making weights • weight = flat * mask • for sextractor • for coaddition • Other, • cosmic ray program

  3. Different Masks • Cold pixels • bias > mean(bias) + 5*rms(bias) • Hot pixels • flat / convolved(flat) < 0.95 • Cosmic rays • Satellite tracks • Saturated pixels • ‘low’ gain (co-addition only)

  4. Current situation class ColdPixelFrame class HotPixelFrame class MaskFrame mask = coldpixels & hotpixels class MasterWeight weight = master_flat * mask_frame class FlagFrame mask = thresh(weight) * science.cosmic() class WeightFrame weight = master_weight * flag.as_mask()

  5. New situation • Add all operations • Use eclipse.pixelmap object • 1=good, 0=bad • (de)compress on-the-fly • clean up class-hierarchy mess • simplify ScienceFrame.make()

  6. New Situation class ColdPixelMap class HotPixelMap class CosmicMap class SatelliteMap ? class Weight weight = flat * cold&hot&cosmic&sat weight = weight * thresh(science) weight = weight * thresh(weight)

  7. Error maps • Weight is ‘relative error map’ • Could make absolute error map and do proper propagation of errors • Nice idea • but, remember the applications

More Related