|
LSST Applications g00d0e8bbd7+edbf708997,g03191d30f7+9ce8016dbd,g1955dfad08+0bd186d245,g199a45376c+5137f08352,g1fd858c14a+a888a50aa2,g262e1987ae+45f9aba685,g29ae962dfc+1c7d47a24f,g2cef7863aa+73c82f25e4,g35bb328faa+edbf708997,g3fd5ace14f+eed17d2c67,g47891489e3+6dc8069a4c,g53246c7159+edbf708997,g64539dfbff+c4107e45b5,g67b6fd64d1+6dc8069a4c,g74acd417e5+f452e9c21a,g786e29fd12+af89c03590,g7ae74a0b1c+a25e60b391,g7aefaa3e3d+2025e9ce17,g7cc15d900a+2d158402f9,g87389fa792+a4172ec7da,g89139ef638+6dc8069a4c,g8d4809ba88+c4107e45b5,g8d7436a09f+e96c132b44,g8ea07a8fe4+db21c37724,g98df359435+aae6d409c1,ga2180abaac+edbf708997,gac66b60396+966efe6077,gb632fb1845+88945a90f8,gbaa8f7a6c5+38b34f4976,gbf99507273+edbf708997,gca7fc764a6+6dc8069a4c,gd7ef33dd92+6dc8069a4c,gda68eeecaf+7d1e613a8d,gdab6d2f7ff+f452e9c21a,gdbb4c4dda9+c4107e45b5,ge410e46f29+6dc8069a4c,ge41e95a9f2+c4107e45b5,geaed405ab2+e194be0d2b,w.2025.47
LSST Data Management Base Package
|
#include <ImagePca.h>
Public Types | |
| using | ImageList = std::vector<std::shared_ptr<ImageT>> |
Public Member Functions | |
| ImagePca (bool constantWeight=true) | |
| ctor | |
| virtual | ~ImagePca ()=default |
| ImagePca (ImagePca const &) | |
| ImagePca (ImagePca &&) | |
| ImagePca & | operator= (ImagePca const &) |
| ImagePca & | operator= (ImagePca &&) |
| void | addImage (std::shared_ptr< ImageT > img, double flux=0.0) |
| Add an image to the set to be analyzed. | |
| ImageList | getImageList () const |
| Return the list of images being analyzed. | |
| lsst::geom::Extent2I const | getDimensions () const |
| Return the dimension of the images being analyzed. | |
| std::shared_ptr< ImageT > | getMean () const |
| Return the mean of the images in ImagePca's list. | |
| virtual void | analyze () |
| virtual double | updateBadPixels (unsigned long mask, int const ncomp) |
| Update the bad pixels (i.e. | |
| std::vector< double > const & | getEigenValues () const |
| Return Eigen values. | |
| ImageList const & | getEigenImages () const |
| Return Eigen images. | |
Definition at line 45 of file ImagePca.h.
| using lsst::afw::image::ImagePca< ImageT >::ImageList = std::vector<std::shared_ptr<ImageT>> |
Definition at line 47 of file ImagePca.h.
|
explicit |
ctor
| constantWeight | Should all stars be weighted equally? |
Definition at line 46 of file ImagePca.cc.
|
virtualdefault |
|
default |
|
default |
| void lsst::afw::image::ImagePca< ImageT >::addImage | ( | std::shared_ptr< ImageT > | 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 |
Definition at line 64 of file ImagePca.cc.
|
virtual |
Reimplemented in lsst::ip::diffim::detail::KernelPca< ImageT >, lsst::ip::diffim::detail::KernelPca< lsst::afw::image::Image< lsst::afw::math::Kernel::Pixel > >, and lsst::meas::algorithms::PsfImagePca< ImageT >.
Definition at line 122 of file ImagePca.cc.
|
inline |
Return the dimension of the images being analyzed.
Definition at line 75 of file ImagePca.h.
|
inline |
|
inline |
| ImagePca< ImageT >::ImageList lsst::afw::image::ImagePca< ImageT >::getImageList | ( | ) | const |
Return the list of images being analyzed.
Definition at line 85 of file ImagePca.cc.
| std::shared_ptr< ImageT > lsst::afw::image::ImagePca< ImageT >::getMean | ( | ) | const |
Return the mean of the images in ImagePca's list.
Definition at line 90 of file ImagePca.cc.
|
default |
|
default |
|
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
| mask | Mask defining bad pixels |
| ncomp | Number of components to use in estimate |
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
Definition at line 385 of file ImagePca.cc.