25 #ifndef LSST_COADD_UTILS_COPYGOODPIXELS_H
26 #define LSST_COADD_UTILS_COPYGOODPIXELS_H
32 #include "lsst/afw/geom.h"
33 #include "lsst/afw/image.h"
52 template<
typename CoaddPixelT,
typename WeightPixelT>
54 lsst::afw::image::Image<CoaddPixelT> &coadd,
55 lsst::afw::image::Image<WeightPixelT> &weightMap,
56 lsst::afw::image::Image<CoaddPixelT>
const &image,
74 template<
typename CoaddPixelT,
typename WeightPixelT>
76 lsst::afw::image::MaskedImage<CoaddPixelT, lsst::afw::image::MaskPixel,
77 lsst::afw::image::VariancePixel> &coadd,
78 lsst::afw::image::Image<WeightPixelT> &weightMap,
79 lsst::afw::image::MaskedImage<CoaddPixelT, lsst::afw::image::MaskPixel,
81 lsst::afw::image::VariancePixel>
const &maskedImage,
82 lsst::afw::image::MaskPixel
const badPixelMask,
88 #endif // !defined(LSST_COADD_UTILS_COPYGOODPIXELS_H)
lsst::afw::geom::Box2I addToCoadd(lsst::afw::image::Image< CoaddPixelT > &coadd, lsst::afw::image::Image< WeightPixelT > &weightMap, lsst::afw::image::Image< CoaddPixelT > const &image, WeightPixelT weight)
add good pixels from an image to a coadd and associated weight map