lsst.ip.diffim
13.0-28-gf4bc96c+18
|
A class to run a PCA on all candidate kernels (represented as Images). More...
#include <KernelPca.h>
Public Types | |
typedef lsst::afw::image::Image< lsst::afw::math::Kernel::Pixel > | ImageT |
typedef std::shared_ptr< KernelPcaVisitor< PixelT > > | Ptr |
Public Member Functions | |
KernelPcaVisitor (std::shared_ptr< KernelPca< ImageT > > imagePca) | |
virtual | ~KernelPcaVisitor () |
lsst::afw::math::KernelList | getEigenKernels () |
void | processCandidate (lsst::afw::math::SpatialCellCandidate *candidate) |
void | subtractMean () |
boost::shared_ptr< ImageT > | returnMean () |
virtual void | reset () |
Private Attributes | |
std::shared_ptr< KernelPca< ImageT > > | _imagePca |
Structure to fill with images. More... | |
boost::shared_ptr< ImageT > | _mean |
Mean image calculated before Pca. More... | |
A class to run a PCA on all candidate kernels (represented as Images).
Definition at line 40 of file KernelPca.h.
typedef lsst::afw::image::Image<lsst::afw::math::Kernel::Pixel> lsst::ip::diffim::detail::KernelPcaVisitor< PixelT >::ImageT |
Definition at line 42 of file KernelPca.h.
typedef std::shared_ptr<KernelPcaVisitor<PixelT> > lsst::ip::diffim::detail::KernelPcaVisitor< PixelT >::Ptr |
Definition at line 43 of file KernelPca.h.
lsst::ip::diffim::detail::KernelPcaVisitor< PixelT >::KernelPcaVisitor | ( | std::shared_ptr< KernelPca< ImageT > > | imagePca | ) |
imagePca | Set of Images to initialise |
Definition at line 56 of file KernelPca.cc.
|
inlinevirtual |
Definition at line 46 of file KernelPca.h.
lsst::afw::math::KernelList lsst::ip::diffim::detail::KernelPcaVisitor< PixelT >::getEigenKernels | ( | ) |
Definition at line 65 of file KernelPca.cc.
|
virtual |
Reimplemented from lsst::afw::math::CandidateVisitor.
Definition at line 89 of file KernelPca.cc.
|
inline |
Definition at line 51 of file KernelPca.h.
void lsst::ip::diffim::detail::KernelPcaVisitor< PixelT >::subtractMean | ( | ) |
Definition at line 113 of file KernelPca.cc.
|
private |
Structure to fill with images.
Definition at line 53 of file KernelPca.h.
|
private |
Mean image calculated before Pca.
Definition at line 54 of file KernelPca.h.