LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
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 boost::shared_ptr < KernelPcaVisitor< PixelT > > | Ptr |
Public Member Functions | |
KernelPcaVisitor (boost::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 () |
Public Member Functions inherited from lsst::afw::math::CandidateVisitor | |
CandidateVisitor () | |
virtual | ~CandidateVisitor () |
virtual void | reset () |
Private Attributes | |
boost::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 boost::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 | ( | boost::shared_ptr< KernelPca< ImageT > > | imagePca | ) |
imagePca | Set of Images to initialise |
Definition at line 57 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 66 of file KernelPca.cc.
|
virtual |
Reimplemented from lsst::afw::math::CandidateVisitor.
Definition at line 90 of file KernelPca.cc.
|
inline |
Definition at line 51 of file KernelPca.h.
void lsst::ip::diffim::detail::KernelPcaVisitor< PixelT >::subtractMean | ( | ) |
Definition at line 114 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.