12 #ifndef LSST_IP_DIFFIM_KERNELPCA_H
13 #define LSST_IP_DIFFIM_KERNELPCA_H
23 template <
typename ImageT>
27 typedef typename boost::shared_ptr<KernelPca<ImageT> >
Ptr;
39 template<
typename PixelT>
43 typedef boost::shared_ptr<KernelPcaVisitor<PixelT> >
Ptr;
An include file to include the public header files for lsst::afw::math.
boost::shared_ptr< KernelPca< ImageT > > Ptr
A class to run a PCA on all candidate kernels (represented as Images).
boost::shared_ptr< KernelPcaVisitor< PixelT > > makeKernelPcaVisitor(boost::shared_ptr< KernelPca< typename KernelPcaVisitor< PixelT >::ImageT > > imagePca)
void processCandidate(lsst::afw::math::SpatialCellCandidate *candidate)
lsst::afw::math::KernelList getEigenKernels()
boost::shared_ptr< ImageT > _mean
Mean image calculated before Pca.
An include file to include the header files for lsst::afw::image.
boost::shared_ptr< KernelPcaVisitor< PixelT > > Ptr
Overrides the analyze method of base class afwImage::ImagePca.
boost::shared_ptr< KernelPca< ImageT > > _imagePca
Structure to fill with images.
virtual ~KernelPcaVisitor()
boost::shared_ptr< ImageT > returnMean()
lsst::afw::image::ImagePca< ImageT > Super
Base class.
KernelPca(bool constantWeight=true)
Ctor.
lsst::afw::image::Image< lsst::afw::math::Kernel::Pixel > ImageT
std::vector< boost::shared_ptr< Kernel > > KernelList
KernelPcaVisitor(boost::shared_ptr< KernelPca< ImageT > > imagePca)
virtual void analyze()
Generate eigenimages that are normalised.