|
LSSTApplications
1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
LSSTDataManagementBasePackage
|
#include <ImagePca.h>
Public Types | |
| typedef boost::shared_ptr< ImageT > | Ptr |
| typedef boost::shared_ptr < const ImageT > | ConstPtr |
| typedef std::vector< typename ImageT::Ptr > | ImageList |
Public Member Functions | |
| ImagePca (bool constantWeight=true) | |
| ctor More... | |
| virtual | ~ImagePca () |
| void | addImage (typename ImageT::Ptr img, double flux=0.0) |
| ImageList | getImageList () const |
| Return the list of images being analyzed. More... | |
| geom::Extent2I const | getDimensions () const |
| Return the dimension of the images being analyzed. More... | |
| ImageT::Ptr | getMean () const |
| virtual void | analyze () |
| virtual double | updateBadPixels (unsigned long mask, int const ncomp) |
| std::vector< double > const & | getEigenValues () const |
| Return Eigen values. More... | |
| ImageList const & | getEigenImages () const |
| Return Eigen images. More... | |
Private Member Functions | |
| double | getFlux (int i) const |
Private Attributes | |
| ImageList | _imageList |
| std::vector< double > | _fluxList |
| geom::Extent2I | _dimensions |
| bool | _constantWeight |
| std::vector< double > | _eigenValues |
| ImageList | _eigenImages |
Definition at line 47 of file ImagePca.h.
| typedef boost::shared_ptr<const ImageT> lsst.afw.image::ImagePca< ImageT >::ConstPtr |
Definition at line 50 of file ImagePca.h.
| typedef std::vector<typename ImageT::Ptr> lsst.afw.image::ImagePca< ImageT >::ImageList |
Definition at line 52 of file ImagePca.h.
| typedef boost::shared_ptr<ImageT> lsst.afw.image::ImagePca< ImageT >::Ptr |
Definition at line 49 of file ImagePca.h.
|
explicit |
ctor
| constantWeight | Should all stars be weighted equally? |
Definition at line 49 of file ImagePca.cc.
|
inlinevirtual |
Definition at line 55 of file ImagePca.h.
| void lsst.afw.image::ImagePca< ImageT >::addImage | ( | typename ImageT::Ptr | img, |
| double | flux = 0.0 |
||
| ) |
Add an image to the set to be analyzed
| lsst::pex::exceptions::LengthError | if all the images aren't the same size |
| img | Image to add to set |
| flux | Image's flux |
Definition at line 65 of file ImagePca.cc.
|
virtual |
Reimplemented in lsst::meas::algorithms::PsfImagePca< ImageT >, and lsst::ip::diffim::detail::KernelPca< ImageT >.
Definition at line 135 of file ImagePca.cc.
|
inline |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 73 of file ImagePca.h.
| ImagePca< ImageT >::ImageList lsst.afw.image::ImagePca< ImageT >::getImageList | ( | ) | const |
| ImageT::Ptr lsst.afw.image::ImagePca< ImageT >::getMean | ( | ) | const |
Return the mean of the images in ImagePca's list
Definition at line 101 of file ImagePca.cc.
|
virtual |
Update the bad pixels (i.e. those for which (value & mask) != 0) based on the current PCA decomposition; if none is available, use the mean of the good pixels
N.b. the work is actually done in do_updateBadPixels as the code only makes sense and compiles when we are doing a PCA on a set of MaskedImages
| mask | Mask defining bad pixels |
| ncomp | Number of components to use in estimate |
Definition at line 417 of file ImagePca.cc.
|
private |
Definition at line 79 of file ImagePca.h.
|
private |
Definition at line 77 of file ImagePca.h.
|
private |
Definition at line 82 of file ImagePca.h.
|
private |
Definition at line 81 of file ImagePca.h.
|
private |
Definition at line 76 of file ImagePca.h.
|
private |
Definition at line 75 of file ImagePca.h.
1.8.5