35 #ifndef LSST_IP_DIFFIM_IMAGESUBTRACT_H 36 #define LSST_IP_DIFFIM_IMAGESUBTRACT_H 61 template <
typename PixelT,
typename BackgroundT>
83 template <
typename PixelT,
typename BackgroundT>
99 template <
typename PixelT>
Eigen::MatrixXi maskToEigenMatrix(lsst::afw::image::Mask< lsst::afw::image::MaskPixel > const &mask)
lsst::afw::image::MaskedImage< PixelT > convolveAndSubtract(lsst::afw::image::MaskedImage< PixelT > const &templateImage, lsst::afw::image::MaskedImage< PixelT > const &scienceMaskedImage, lsst::afw::math::Kernel const &convolutionKernel, BackgroundT background, bool invert=true)
Execute fundamental task of convolving template and subtracting it from science image.
Relationship invert(Relationship r)
Given the relationship between two sets A and B (i.e.
A base class for image defects.
Represent a 2-dimensional array of bitmask pixels.
A class to manipulate images, masks, and variance as a single object.
Eigen::MatrixXd imageToEigenMatrix(lsst::afw::image::Image< PixelT > const &img)
Turns a 2-d Image into a 2-d Eigen Matrix.
Kernels are used for convolution with MaskedImages and (eventually) Images.
A class to represent a 2-dimensional array of pixels.