LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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 () |
![]() | |
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.