34 #ifndef LSST_IP_ISR_ISR_H 35 #define LSST_IP_ISR_ISR_H 55 template <
typename ImageT,
typename MaskT=lsst::afw::image::MaskPixel>
70 for (
int y = 0; y != image.
getHeight(); ++y) {
72 if ( ((*ptr).mask() & bitmask) == bitmask ) {
92 template <
typename PixelT>
100 template<
typename ImagePixelT,
typename FunctionT>
110 #endif // !defined(LSST_IP_ISR_ISR_H)
x_iterator row_end(int y) const
void fitOverscanImage(std::shared_ptr< lsst::afw::math::Function1< FunctionT > > &overscanFunction, lsst::afw::image::MaskedImage< ImagePixelT > const &overscan, double ssize=1., int sigma=1)
void apply(lsst::afw::image::MaskedImage< ImageT > const &image, MaskT bitmask)
lsst::afw::image::MaskedImage< ImageT >::x_iterator x_iterator
virtual ~CountMaskedPixels()
x_iterator row_begin(int y) const
Remove all non-astronomical counts from the Chunk Exposure's pixels.
size_t maskNans(afw::image::MaskedImage< PixelT > const &mi, afw::image::MaskPixel maskVal, afw::image::MaskPixel allow=0)
Mask NANs in an image.