12 #ifndef LSST_IP_DIFFIM_KERNELCANDIDATEDETECTION_H
13 #define LSST_IP_DIFFIM_KERNELCANDIDATEDETECTION_H
15 #include "lsst/afw/image/Image.h"
16 #include "lsst/afw/detection/Footprint.h"
17 #include "lsst/pex/policy/Policy.h"
34 template <
typename PixelT>
37 typedef std::shared_ptr<KernelCandidateDetection>
Ptr;
38 typedef std::shared_ptr<lsst::afw::image::MaskedImage<PixelT> >
MaskedImagePtr;
47 bool growCandidate(std::shared_ptr<lsst::afw::detection::Footprint> fp,
55 lsst::pex::policy::Policy
_policy;
57 std::vector<std::shared_ptr<lsst::afw::detection::Footprint>>
_footprints;
lsst::pex::policy::Policy _policy
std::shared_ptr< lsst::afw::image::MaskedImage< PixelT > > MaskedImagePtr
void apply(MaskedImagePtr const &templateMaskedImage, MaskedImagePtr const &scienceMaskedImage)
Runs Detection on a single image for significant peaks, and checks returned Footprints for Masked pix...
KernelCandidateDetection(lsst::pex::policy::Policy const &policy)
lsst::afw::image::MaskPixel _badBitMask
std::shared_ptr< KernelCandidateDetection > Ptr
Search through images for Footprints with no masked pixels.
std::vector< std::shared_ptr< lsst::afw::detection::Footprint > > _footprints
virtual ~KernelCandidateDetection()
bool growCandidate(std::shared_ptr< lsst::afw::detection::Footprint > fp, int fpGrowPix, MaskedImagePtr const &templateMaskedImage, MaskedImagePtr const &scienceMaskedImage)
std::vector< std::shared_ptr< lsst::afw::detection::Footprint > > getFootprints()