32 namespace lsst {
namespace ip {
namespace isr {
34 template <
typename PixelT>
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
fit parameters
std::string between(std::string &s, char ldelim, char rdelim)
estimate sample standard deviation
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)
Find the minimum of a function(x)
template size_t maskNans< float >(afw::image::MaskedImage< float > const &, afw::image::MaskPixel, afw::image::MaskPixel)
A class to evaluate image statistics.
An iterator to the MaskedImage.
int getHeight() const
Return the number of rows in the image.
A base class for image defects.
Results from minimizing a function.
Statistics makeStatistics(lsst::afw::image::Image< Pixel > const &img, lsst::afw::image::Mask< image::MaskPixel > const &msk, int const flags, StatisticsControl const &sctrl=StatisticsControl())
Handle a watered-down front-end to the constructor (no variance)
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
std::int32_t MaskPixel
default type for Masks and MaskedImage Masks
double getValue(Property const prop=NOTHING) const
Return the value of the desired property (if specified in the constructor)
x_iterator row_end(int y) const
Return an x_iterator to the end of the image.
Implementation of the templated Instrument Signature Removal stage of the nightly LSST Image Processi...
int getWidth() const
Return the number of columns in 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.
An integer coordinate rectangle.
template size_t maskNans< double >(afw::image::MaskedImage< double > const &, afw::image::MaskPixel, afw::image::MaskPixel)