34 #ifndef LSST_IP_ISR_ISR_H 35 #define LSST_IP_ISR_ISR_H 55 template <
typename ImageT,
typename MaskT=lsst::afw::image::MaskPixel>
72 if ( ((*ptr).mask() & bitmask) == bitmask ) {
92 template <
typename PixelT>
100 template<
typename ImagePixelT,
typename FunctionT>
110 #endif // !defined(LSST_IP_ISR_ISR_H)
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()
An iterator to the MaskedImage.
int getHeight() const
Return the number of rows in the image.
A base class for image defects.
x_iterator row_begin(int y) const
Return an x_iterator to the start of the image.
A class to manipulate images, masks, and variance as a single object.
A Function taking one argument.
afw::table::Key< double > sigma
x_iterator row_end(int y) const
Return an x_iterator to the end of the image.
size_t maskNans(afw::image::MaskedImage< PixelT > const &mi, afw::image::MaskPixel maskVal, afw::image::MaskPixel allow=0)
Mask NANs in an image.
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...