|
lsst.afw
13.0-98-g5a654715e+2
|
#include <MaskedVector.h>
Classes | |
| class | iterator |
Public Types | |
| typedef lsst::afw::image::MaskedImage < EntryT >::Pixel | Pixel |
Public Member Functions | |
| MaskedVector (int width=0) | |
| std::shared_ptr< std::vector < EntryT > > | getVector (bool const noThrow=false) const |
| Return a (Ptr to) the MaskedImage's image. More... | |
| Pixel & | operator[] (int const i) |
| lsst::afw::image::MaskedImage < EntryT >::Image::Pixel & | value (int const i) |
| lsst::afw::image::MaskedImage < EntryT >::Mask::Pixel & | mask (int const i) |
| lsst::afw::image::MaskedImage < EntryT >::Variance::Pixel & | variance (int const i) |
| lsst::afw::image::MaskedImage < EntryT >::ImagePtr | getImage () const |
| lsst::afw::image::MaskedImage < EntryT >::MaskPtr | getMask () const |
| lsst::afw::image::MaskedImage < EntryT >::VariancePtr | getVariance () const |
| int | size () |
| bool | empty () |
| iterator | begin () |
| iterator | end () |
Private Types | |
| typedef std::shared_ptr < image::Image< EntryT > > | ImagePtr |
| shared pointer to the Image More... | |
| typedef std::shared_ptr < image::Mask < lsst::afw::image::MaskPixel > > | MaskPtr |
| shared pointer to the Mask More... | |
| typedef std::shared_ptr < image::Image < lsst::afw::image::VariancePixel > > | VariancePtr |
| shared pointer to the variance Image More... | |
| typedef Mask < lsst::afw::image::MaskPixel > ::MaskPlaneDict | MaskPlaneDict |
| The Mask's MaskPlaneDict. More... | |
| typedef lsst::afw::image::Image < lsst::afw::image::VariancePixel > | Variance |
| typedef lsst::afw::image::Image < EntryT > | Image |
| typedef lsst::afw::image::Mask < lsst::afw::image::MaskPixel > | Mask |
| typedef detail::MaskedImage_tag | image_category |
| typedef lsst::afw::image::pixel::SinglePixel < EntryT, lsst::afw::image::MaskPixel, lsst::afw::image::VariancePixel > | SinglePixel |
| A single Pixel of the same type as those in the MaskedImage. More... | |
| typedef MaskedImageIterator < typename Image::iterator, typename Mask::iterator, typename Variance::iterator > | iterator |
| typedef const_MaskedImageIterator < typename Image::iterator, typename Mask::iterator, typename Variance::iterator > | const_iterator |
| typedef MaskedImageIterator < typename Image::reverse_iterator, typename Mask::reverse_iterator, typename Variance::reverse_iterator > | reverse_iterator |
| typedef MaskedImageIterator < typename Image::x_iterator, typename Mask::x_iterator, typename Variance::x_iterator > | x_iterator |
| An iterator to a row of a MaskedImage. More... | |
| typedef const_MaskedImageIterator < typename Image::x_iterator, typename Mask::x_iterator, typename Variance::x_iterator > | const_x_iterator |
| A const_iterator to a row of a MaskedImage. More... | |
| typedef x_iterator | fast_iterator |
| A fast STL compliant iterator for contiguous images N.b. More... | |
| typedef MaskedImageIterator < typename Image::y_iterator, typename Mask::y_iterator, typename Variance::y_iterator > | y_iterator |
| An iterator to a column of a MaskedImage. More... | |
| typedef const_MaskedImageIterator < typename Image::y_iterator, typename Mask::y_iterator, typename Variance::y_iterator > | const_y_iterator |
| A const_iterator to a column of a MaskedImage. More... | |
| typedef MaskedImageLocator < typename Image::xy_locator, typename Mask::xy_locator, typename Variance::xy_locator > | xy_locator |
| A locator for a MaskedImage. More... | |
| typedef const_MaskedImageLocator < typename Image::xy_locator, typename Mask::xy_locator, typename Variance::xy_locator > | const_xy_locator |
| A const_locator for a MaskedImage. More... | |
| typedef MaskedImageLocator < typename Image::xy_locator, typename Mask::xy_locator, typename Variance::xy_locator > ::x_iterator | xy_x_iterator |
| an x_iterator associated with an xy_locator More... | |
| typedef MaskedImageLocator < typename Image::xy_locator, typename Mask::xy_locator, typename Variance::xy_locator > ::y_iterator | xy_y_iterator |
| an y_iterator associated with an xy_locator More... | |
Private Member Functions | |
| void | swap (MaskedImage &rhs) |
| MaskedImage & | operator<<= (MaskedImage const &rhs) |
| Copy the pixels from the rhs to the lhs. More... | |
| void | assign (MaskedImage const &rhs, geom::Box2I const &bbox=geom::Box2I(), ImageOrigin origin=PARENT) |
| Copy pixels from another masked image to a specified subregion of this masked image. More... | |
| MaskedImage & | operator+= (EntryTconst rhs) |
| Add a scalar rhs to a MaskedImage. More... | |
| MaskedImage & | operator+= (MaskedImage const &rhs) |
| Add a MaskedImage rhs to a MaskedImage. More... | |
| MaskedImage & | operator+= (lsst::afw::image::Image< EntryT > const &rhs) |
| MaskedImage & | operator+= (lsst::afw::math::Function2< double > const &function) |
| void | scaledPlus (double const c, MaskedImage const &rhs) |
| Add a scaled MaskedImage c*rhs to a MaskedImage. More... | |
| MaskedImage & | operator-= (EntryTconst rhs) |
| Subtract a scalar rhs from a MaskedImage. More... | |
| MaskedImage & | operator-= (MaskedImage const &rhs) |
| Subtract a MaskedImage rhs from a MaskedImage. More... | |
| MaskedImage & | operator-= (lsst::afw::image::Image< EntryT > const &rhs) |
| MaskedImage & | operator-= (lsst::afw::math::Function2< double > const &function) |
| void | scaledMinus (double const c, MaskedImage const &rhs) |
| Subtract a scaled MaskedImage c*rhs from a MaskedImage. More... | |
| MaskedImage & | operator*= (EntryTconst rhs) |
| MaskedImage & | operator*= (MaskedImage const &rhs) |
| MaskedImage & | operator*= (lsst::afw::image::Image< EntryT > const &rhs) |
| void | scaledMultiplies (double const c, MaskedImage const &rhs) |
| MaskedImage & | operator/= (EntryTconst rhs) |
| MaskedImage & | operator/= (MaskedImage const &rhs) |
| MaskedImage & | operator/= (lsst::afw::image::Image< EntryT > const &rhs) |
| void | scaledDivides (double const c, MaskedImage const &rhs) |
| void | writeFits (std::string const &fileName, std::shared_ptr< daf::base::PropertySet const > metadata=std::shared_ptr< daf::base::PropertySet const >(), std::shared_ptr< daf::base::PropertySet const > imageMetadata=std::shared_ptr< daf::base::PropertySet const >(), std::shared_ptr< daf::base::PropertySet const > maskMetadata=std::shared_ptr< daf::base::PropertySet const >(), std::shared_ptr< daf::base::PropertySet const > varianceMetadata=std::shared_ptr< daf::base::PropertySet const >()) const |
| Write a MaskedImage to a regular FITS file. More... | |
| void | writeFits (fits::MemFileManager &manager, std::shared_ptr< daf::base::PropertySet const > metadata=std::shared_ptr< daf::base::PropertySet const >(), std::shared_ptr< daf::base::PropertySet const > imageMetadata=std::shared_ptr< daf::base::PropertySet const >(), std::shared_ptr< daf::base::PropertySet const > maskMetadata=std::shared_ptr< daf::base::PropertySet const >(), std::shared_ptr< daf::base::PropertySet const > varianceMetadata=std::shared_ptr< daf::base::PropertySet const >()) const |
| Write a MaskedImage to a FITS RAM file. More... | |
| void | writeFits (fits::Fits &fitsfile, std::shared_ptr< daf::base::PropertySet const > metadata=std::shared_ptr< daf::base::PropertySet const >(), std::shared_ptr< daf::base::PropertySet const > imageMetadata=std::shared_ptr< daf::base::PropertySet const >(), std::shared_ptr< daf::base::PropertySet const > maskMetadata=std::shared_ptr< daf::base::PropertySet const >(), std::shared_ptr< daf::base::PropertySet const > varianceMetadata=std::shared_ptr< daf::base::PropertySet const >()) const |
| Write a MaskedImage to a FITS file. More... | |
| void | writeFits (std::string const &fileName, fits::ImageWriteOptions const &imageOptions, fits::ImageWriteOptions const &maskOptions, fits::ImageWriteOptions const &varianceOptions, std::shared_ptr< daf::base::PropertySet const > metadata=nullptr, std::shared_ptr< daf::base::PropertySet const > imageMetadata=nullptr, std::shared_ptr< daf::base::PropertySet const > maskMetadata=nullptr, std::shared_ptr< daf::base::PropertySet const > varianceMetadata=nullptr) const |
| Write a MaskedImage to a FITS file. More... | |
| void | writeFits (fits::MemFileManager &manager, fits::ImageWriteOptions const &imageOptions, fits::ImageWriteOptions const &maskOptions, fits::ImageWriteOptions const &varianceOptions, std::shared_ptr< daf::base::PropertySet const > metadata=nullptr, std::shared_ptr< daf::base::PropertySet const > imageMetadata=nullptr, std::shared_ptr< daf::base::PropertySet const > maskMetadata=nullptr, std::shared_ptr< daf::base::PropertySet const > varianceMetadata=nullptr) const |
| Write a MaskedImage to a FITS file. More... | |
| void | writeFits (fits::Fits &fitsfile, fits::ImageWriteOptions const &imageOptions, fits::ImageWriteOptions const &maskOptions, fits::ImageWriteOptions const &varianceOptions, std::shared_ptr< daf::base::PropertySet const > metadata=nullptr, std::shared_ptr< daf::base::PropertySet const > imageMetadata=nullptr, std::shared_ptr< daf::base::PropertySet const > maskMetadata=nullptr, std::shared_ptr< daf::base::PropertySet const > varianceMetadata=nullptr) const |
| Write a MaskedImage to a FITS file. More... | |
| void | setImage (Image const &other) |
| Set the image plane's pixel values to those of another Image. More... | |
| void | setMask (Mask const &other) |
| Set the mask plane's pixel values to those of another Mask. More... | |
| void | setVariance (Variance const &other) |
| Set the variance plane's pixel values to those of another Image. More... | |
| int | getWidth () const |
| Return the number of columns in the image. More... | |
| int | getHeight () const |
| Return the number of rows in the image. More... | |
| geom::Extent2I | getDimensions () const |
| geom::Box2I | getBBox (ImageOrigin const origin=PARENT) const |
| int | getX0 () const |
| Return the image's column-origin. More... | |
| int | getY0 () const |
| Return the image's row-origin. More... | |
| geom::Point2I | getXY0 () const |
| Return the image's origin. More... | |
| void | setXY0 (int const x0, int const y0) |
| Set the MaskedImage's origin. More... | |
| void | setXY0 (geom::Point2I const origin) |
| Set the MaskedImage's origin. More... | |
| double | indexToPosition (double ind, lsst::afw::image::xOrY const xy) const |
| Convert image index to image position (see Image::indexToPosition) More... | |
| std::pair< int, double > | positionToIndex (double const pos, lsst::afw::image::xOrY const xy) const |
| Convert image position to index (see Image::positionToIndex) More... | |
| iterator | begin () const |
Return an iterator to the start of the image. More... | |
| fast_iterator | begin (bool) const |
| Fast iterators to contiguous images. More... | |
| iterator | end () const |
Return an iterator to the end of the image. More... | |
| fast_iterator | end (bool) const |
Return a fast iterator to the end of the image, which must be contiguous Note that the order in which pixels are visited is undefined. More... | |
| iterator | at (int const x, int const y) const |
Return an iterator at the point (x, y) More... | |
| reverse_iterator | rbegin () const |
Return a reverse_iterator to the start of the image. More... | |
| reverse_iterator | rend () const |
Return a reverse_iterator to the end of the image. More... | |
| x_iterator | row_begin (int y) const |
Return an x_iterator to the start of the image. More... | |
| x_iterator | row_end (int y) const |
Return an x_iterator to the end of the image. More... | |
| x_iterator | x_at (int x, int y) const |
Return an x_iterator at the point (x, y) More... | |
| y_iterator | col_begin (int x) const |
Return an y_iterator to the start of the image. More... | |
| y_iterator | col_end (int x) const |
Return an y_iterator to the end of the image. More... | |
| y_iterator | y_at (int x, int y) const |
Return an y_iterator at the point (x, y) More... | |
| xy_locator | xy_at (int x, int y) const |
Return an xy_locator at the point (x, y) More... | |
Static Private Member Functions | |
| static MaskedImage | readFits (std::string const &filename) |
| Read a MaskedImage from a regular FITS file. More... | |
| static MaskedImage | readFits (fits::MemFileManager &manager) |
| Read a MaskedImage from a FITS RAM file. More... | |
Definition at line 37 of file MaskedVector.h.
| typedef lsst::afw::image::MaskedImage<EntryT>::Pixel lsst::afw::math::MaskedVector< EntryT >::Pixel |
Definition at line 41 of file MaskedVector.h.
|
inlineexplicit |
Definition at line 43 of file MaskedVector.h.
|
inline |
Definition at line 117 of file MaskedVector.h.
|
inline |
Definition at line 98 of file MaskedVector.h.
|
inline |
Definition at line 118 of file MaskedVector.h.
|
inline |
Definition at line 82 of file MaskedVector.h.
|
inline |
Definition at line 85 of file MaskedVector.h.
|
inline |
Definition at line 88 of file MaskedVector.h.
|
inline |
Return a (Ptr to) the MaskedImage's image.
Definition at line 49 of file MaskedVector.h.
|
inline |
Definition at line 75 of file MaskedVector.h.
|
inline |
Definition at line 66 of file MaskedVector.h.
|
inline |
Definition at line 97 of file MaskedVector.h.
|
inline |
Definition at line 72 of file MaskedVector.h.
|
inline |
Definition at line 78 of file MaskedVector.h.
1.8.5