32 namespace lsst {
namespace ip {
namespace isr {
34 template <
typename PixelT>
40 for (
int y = 0; y != mi.
getHeight(); ++y) {
41 for (x_iterator ptr = mi.
row_begin(y), end = mi.
row_end(y); ptr != end; ++ptr) {
45 ptr.
mask() |= maskVal;
52 template<
typename ImagePixelT,
typename FunctionT>
63 const int width = overscan.
getWidth();
71 for (
int y = 0; y < height; ++y) {
79 MaskedImage mi = MaskedImage(overscan, bbox);
101 std::string::iterator
b(s.
begin());
102 std::string::iterator e(s.
end());
103 std::string::iterator lp;
104 std::string::iterator rp;
109 if((rp =
std::find(++lp, e, rdelim)) != e)
std::vector< double > parameterList
Reference< MaskPixelT >::type mask()
x_iterator row_end(int y) const
std::string between(std::string &s, char ldelim, char rdelim)
void fitOverscanImage(std::shared_ptr< lsst::afw::math::Function1< FunctionT > > &overscanFunction, lsst::afw::image::MaskedImage< ImagePixelT > const &overscan, double ssize=1., int sigma=1)
FitResults minimize(lsst::afw::math::Function1< ReturnT > const &function, std::vector< double > const &initialParameterList, std::vector< double > const &stepSizeList, std::vector< double > const &measurementList, std::vector< double > const &varianceList, std::vector< double > const &xPositionList, double errorDef)
template size_t maskNans< float >(afw::image::MaskedImage< float > const &, afw::image::MaskPixel, afw::image::MaskPixel)
x_iterator row_begin(int y) const
Remove all non-astronomical counts from the Chunk Exposure's pixels.
Statistics makeStatistics(lsst::afw::image::Image< Pixel > const &img, lsst::afw::image::Mask< image::MaskPixel > const &msk, int const flags, StatisticsControl const &sctrl=StatisticsControl())
double getValue(Property const prop=NOTHING) const
Implementation of the templated Instrument Signature Removal stage of the nightly LSST Image Processi...
afw::table::Key< double > b
size_t maskNans(afw::image::MaskedImage< PixelT > const &mi, afw::image::MaskPixel maskVal, afw::image::MaskPixel allow=0)
Mask NANs in an image.
template size_t maskNans< double >(afw::image::MaskedImage< double > const &, afw::image::MaskPixel, afw::image::MaskPixel)