42 #ifndef LSST_IP_ISR_ISR_H
43 #define LSST_IP_ISR_ISR_H
48 #include <boost/shared_ptr.hpp>
105 template <
typename ImageT>
119 int ind =
static_cast<int>(ptr.image() + 0.5);
122 "Pixel value out of range in LookupTableMultiplicative::apply");
143 template <
typename ImageT>
162 template <
typename ImageT,
typename MaskT=lsst::afw::image::MaskPixel>
179 if ( ((*ptr).mask() & bitmask) == bitmask ) {
199 template <
typename PixelT>
207 template<
typename ImagePixelT,
typename FunctionT>
218 #endif // !defined(LSST_IP_ISR_ISR_H)
An include file to include the public header files for lsst::afw::math.
boost::uint16_t MaskPixel
std::vector< double > _table
std::string const & ISR_BADP
Bad pixel mask.
std::vector< double > getTable() const
void fitOverscanImage(boost::shared_ptr< lsst::afw::math::Function1< FunctionT > > &overscanFunction, lsst::afw::image::MaskedImage< ImagePixelT > const &overscan, double ssize=1., int sigma=1)
std::string const & ISR_FRING
Fringe correction.
lsst::afw::image::MaskedImage< ImageT >::x_iterator x_iterator
void apply(lsst::afw::image::MaskedImage< ImageT > &image, float gain=1.0) const
void apply(lsst::afw::image::MaskedImage< ImageT > const &image, MaskT bitmask)
x_iterator row_end(int y) const
Return an x_iterator to the end of the image.
lsst::afw::image::MaskedImage< ImageT >::x_iterator x_iterator
virtual ~CountMaskedPixels()
std::string const & ISR_PUPIL
Pupil correction.
afw::table::Key< double > sigma
table::Key< table::Array< Kernel::Pixel > > image
An iterator to the MaskedImage.
An include file to include the header files for lsst::afw::image.
std::vector< double > getTable() const
std::string const & ISR_ILLUM
Illumination correction.
virtual ~LookupTableReplace()
LookupTableMultiplicative(std::vector< double > table)
std::string const & ISR_SAT
Saturated pixels.
A class to manipulate images, masks, and variance as a single object.
std::string const & ISR_OSCAN
Overscan.
A Function taking one argument.
std::string const & ISR_TRIM
Trim.
std::string const & ISR_BIAS
Bias.
#define LSST_EXCEPT(type,...)
A pixel of a MaskedImage.
lsst::afw::image::MaskedImage< ImageT >::Pixel PixelT
std::vector< double > _table
std::string const & ISR_LIN
Linearization.
std::string const & ISR_DARK
Dark correction.
Compute Image Statistics.
std::string const & ISR_CRREJ
Cosmic ray rejection.
x_iterator row_begin(int y) const
Return an x_iterator to the start of the image.
lsst::afw::image::MaskedImage< ImageT >::x_iterator x_iterator
size_t maskNans(afw::image::MaskedImage< PixelT > const &mi, afw::image::MaskPixel maskVal, afw::image::MaskPixel allow=0)
void apply(lsst::afw::image::MaskedImage< ImageT > &image, float gain=1.0)
lsst::afw::image::MaskedImage< ImageT >::Pixel PixelT
LookupTableReplace(std::vector< double > table)
virtual ~LookupTableMultiplicative()
int getHeight() const
Return the number of rows in the image.
std::string const & ISR_BACKSUB
Background subtraction.
std::string const & ISR_DFLAT
Dome flat.