LSST Applications g0f08755f38+9c285cab97,g1635faa6d4+13f3999e92,g1653933729+a8ce1bb630,g1a0ca8cf93+bf6eb00ceb,g28da252d5a+0829b12dee,g29321ee8c0+5700dc9eac,g2bbee38e9b+9634bc57db,g2bc492864f+9634bc57db,g2cdde0e794+c2c89b37c4,g3156d2b45e+41e33cbcdc,g347aa1857d+9634bc57db,g35bb328faa+a8ce1bb630,g3a166c0a6a+9634bc57db,g3e281a1b8c+9f2c4e2fc3,g414038480c+077ccc18e7,g41af890bb2+fde0dd39b6,g5fbc88fb19+17cd334064,g781aacb6e4+a8ce1bb630,g80478fca09+55a9465950,g82479be7b0+d730eedb7d,g858d7b2824+9c285cab97,g9125e01d80+a8ce1bb630,g9726552aa6+10f999ec6a,ga5288a1d22+2a84bb7594,gacf8899fa4+c69c5206e8,gae0086650b+a8ce1bb630,gb58c049af0+d64f4d3760,gc28159a63d+9634bc57db,gcf0d15dbbd+4b7d09cae4,gda3e153d99+9c285cab97,gda6a2b7d83+4b7d09cae4,gdaeeff99f8+1711a396fd,ge2409df99d+5e831397f4,ge79ae78c31+9634bc57db,gf0baf85859+147a0692ba,gf3967379c6+41c94011de,gf3fb38a9a8+8f07a9901b,gfb92a5be7c+9c285cab97,w.2024.46
LSST Data Management Base Package
|
A class to manipulate images, masks, and variance as a single object. More...
#include <MaskedImage.h>
Classes | |
class | const_MaskedImageIterator |
An const iterator to the MaskedImage. More... | |
class | const_MaskedImageLocator |
A const locator for the MaskedImage. More... | |
struct | ImageTypeFactory |
A templated class to return this classes' type (present in Image/Mask/MaskedImage) More... | |
class | MaskedImageIterator |
An iterator to the MaskedImage. More... | |
class | MaskedImageIteratorBase |
The base class for MaskedImageIterators (const and non-const) More... | |
class | MaskedImageLocator |
A locator for the MaskedImage. More... | |
class | MaskedImageLocatorBase |
The base class for MaskedImageLocators (const and non-const) More... | |
Public Member Functions | |
MaskedImage (unsigned int width, unsigned int height, MaskPlaneDict const &planeDict=MaskPlaneDict()) | |
Construct from a supplied dimensions. | |
MaskedImage (lsst::geom::Extent2I const &dimensions=lsst::geom::Extent2I(), MaskPlaneDict const &planeDict=MaskPlaneDict()) | |
Construct from a supplied dimensions. | |
MaskedImage (ImagePtr image, MaskPtr mask=MaskPtr(), VariancePtr variance=VariancePtr()) | |
Construct from a supplied Image and optional Mask and Variance. | |
MaskedImage (lsst::geom::Box2I const &bbox, MaskPlaneDict const &planeDict=MaskPlaneDict()) | |
Create an MaskedImage of the specified size. | |
MaskedImage (std::string const &fileName, std::shared_ptr< daf::base::PropertySet > metadata=std::shared_ptr< daf::base::PropertySet >(), lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool conformMasks=false, bool needAllHdus=false, std::shared_ptr< daf::base::PropertySet > imageMetadata=std::shared_ptr< daf::base::PropertySet >(), std::shared_ptr< daf::base::PropertySet > maskMetadata=std::shared_ptr< daf::base::PropertySet >(), std::shared_ptr< daf::base::PropertySet > varianceMetadata=std::shared_ptr< daf::base::PropertySet >(), bool allowUnsafe=false) | |
Construct a MaskedImage by reading a regular FITS file. | |
MaskedImage (fits::MemFileManager &manager, std::shared_ptr< daf::base::PropertySet > metadata=std::shared_ptr< daf::base::PropertySet >(), lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool conformMasks=false, bool needAllHdus=false, std::shared_ptr< daf::base::PropertySet > imageMetadata=std::shared_ptr< daf::base::PropertySet >(), std::shared_ptr< daf::base::PropertySet > maskMetadata=std::shared_ptr< daf::base::PropertySet >(), std::shared_ptr< daf::base::PropertySet > varianceMetadata=std::shared_ptr< daf::base::PropertySet >(), bool allowUnsafe=false) | |
Construct a MaskedImage by reading a FITS image in memory. | |
MaskedImage (fits::Fits &fitsfile, std::shared_ptr< daf::base::PropertySet > metadata=std::shared_ptr< daf::base::PropertySet >(), lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool conformMasks=false, bool needAllHdus=false, std::shared_ptr< daf::base::PropertySet > imageMetadata=std::shared_ptr< daf::base::PropertySet >(), std::shared_ptr< daf::base::PropertySet > maskMetadata=std::shared_ptr< daf::base::PropertySet >(), std::shared_ptr< daf::base::PropertySet > varianceMetadata=std::shared_ptr< daf::base::PropertySet >(), bool allowUnsafe=false) | |
Construct a MaskedImage from an already-open FITS object. | |
MaskedImage (MaskedImage const &rhs, bool const deep=false) | |
Copy constructor; shallow, unless deep is true. | |
MaskedImage (MaskedImage &&rhs) | |
MaskedImage (MaskedImage const &rhs, lsst::geom::Box2I const &bbox, ImageOrigin const origin=PARENT, bool const deep=false) | |
Copy constructor of the pixels specified by bbox; shallow, unless deep is true. | |
template<typename OtherPixelT > | |
MaskedImage (MaskedImage< OtherPixelT, MaskPixelT, VariancePixelT > const &rhs, const bool deep) | |
generalised copy constructor; defined here in the header so that the compiler can instantiate N(N-1)/2 conversions between N ImageBase types. | |
MaskedImage & | operator= (MaskedImage const &rhs) |
Make the lhs use the rhs's pixels. | |
MaskedImage & | operator= (MaskedImage &&rhs) |
virtual | ~MaskedImage ()=default |
void | swap (MaskedImage &rhs) |
MaskedImage & | operator= (Pixel const &rhs) |
Set the pixels in the MaskedImage to the rhs. | |
MaskedImage & | operator= (SinglePixel const &rhs) |
Set the pixels in the MaskedImage to the rhs. | |
MaskedImage | subset (lsst::geom::Box2I const &bbox, ImageOrigin origin=PARENT) const |
Return a subimage corresponding to the given box. | |
MaskedImage | operator[] (lsst::geom::Box2I const &bbox) const |
Return a subimage corresponding to the given box (interpreted as PARENT coordinates). | |
void | assign (MaskedImage const &rhs, lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT) |
Copy pixels from another masked image to a specified subregion of this masked image. | |
MaskedImage & | operator+= (ImagePixelT const rhs) |
Add a scalar rhs to a MaskedImage. | |
MaskedImage & | operator+= (MaskedImage const &rhs) |
Add a MaskedImage rhs to a MaskedImage. | |
MaskedImage & | operator+= (lsst::afw::image::Image< ImagePixelT > 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. | |
MaskedImage & | operator-= (ImagePixelT const rhs) |
Subtract a scalar rhs from a MaskedImage. | |
MaskedImage & | operator-= (MaskedImage const &rhs) |
Subtract a MaskedImage rhs from a MaskedImage. | |
MaskedImage & | operator-= (lsst::afw::image::Image< ImagePixelT > 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. | |
MaskedImage & | operator*= (ImagePixelT const rhs) |
MaskedImage & | operator*= (MaskedImage const &rhs) |
MaskedImage & | operator*= (lsst::afw::image::Image< ImagePixelT > const &rhs) |
void | scaledMultiplies (double const c, MaskedImage const &rhs) |
MaskedImage & | operator/= (ImagePixelT const rhs) |
MaskedImage & | operator/= (MaskedImage const &rhs) |
MaskedImage & | operator/= (lsst::afw::image::Image< ImagePixelT > 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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
ImagePtr | getImage () const |
Return a (shared_ptr to) the MaskedImage's image. | |
void | setImage (Image const &other) |
Set the image plane's pixel values to those of another Image. | |
MaskPtr | getMask () const |
Return a (shared_ptr to) the MaskedImage's mask. | |
void | setMask (Mask const &other) |
Set the mask plane's pixel values to those of another Mask. | |
void | setVariance (Variance const &other) |
Set the variance plane's pixel values to those of another Image. | |
VariancePtr | getVariance () const |
Return a (shared_ptr to) the MaskedImage's variance. | |
int | getWidth () const |
Return the number of columns in the image. | |
int | getHeight () const |
Return the number of rows in the image. | |
lsst::geom::Extent2I | getDimensions () const |
lsst::geom::Box2I | getBBox (ImageOrigin const origin=PARENT) const |
int | getX0 () const |
Return the image's column-origin. | |
int | getY0 () const |
Return the image's row-origin. | |
lsst::geom::Point2I | getXY0 () const |
Return the image's origin. | |
void | setXY0 (int const x0, int const y0) |
Set the MaskedImage's origin. | |
void | setXY0 (lsst::geom::Point2I const origin) |
Set the MaskedImage's origin. | |
double | indexToPosition (double ind, lsst::afw::image::xOrY const xy) const |
Convert image index to image position (see Image::indexToPosition) | |
std::pair< int, double > | positionToIndex (double const pos, lsst::afw::image::xOrY const xy) const |
Convert image position to index (see Image::positionToIndex) | |
iterator | begin () const |
Return an iterator to the start of the image. | |
iterator | end () const |
Return an iterator to the end of the image. | |
iterator | at (int const x, int const y) const |
Return an iterator at the point (x, y) | |
reverse_iterator | rbegin () const |
Return a reverse_iterator to the start of the image. | |
reverse_iterator | rend () const |
Return a reverse_iterator to the end of the image. | |
fast_iterator | begin (bool contiguous) const |
Fast iterators to contiguous images. | |
fast_iterator | end (bool contiguous) 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. | |
x_iterator | row_begin (int y) const |
Return an x_iterator to the start of the image. | |
x_iterator | row_end (int y) const |
Return an x_iterator to the end of the image. | |
x_iterator | x_at (int x, int y) const |
Return an x_iterator at the point (x, y) | |
y_iterator | col_begin (int x) const |
Return an y_iterator to the start of the image. | |
y_iterator | col_end (int x) const |
Return an y_iterator to the end of the image. | |
y_iterator | y_at (int x, int y) const |
Return an y_iterator at the point (x, y) | |
xy_locator | xy_at (int x, int y) const |
Return an xy_locator at the point (x, y) | |
Static Public Member Functions | |
static MaskedImage | readFits (std::string const &filename) |
Read a MaskedImage from a regular FITS file. | |
static MaskedImage | readFits (fits::MemFileManager &manager) |
Read a MaskedImage from a FITS RAM file. | |
A class to manipulate images, masks, and variance as a single object.
Definition at line 74 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_iterator = const_MaskedImageIterator<typename Image::iterator, typename Mask::iterator, typename Variance::iterator> |
Definition at line 532 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_x_iterator = const_MaskedImageIterator<typename Image::x_iterator, typename Mask::x_iterator, typename Variance::x_iterator> |
A const_iterator to a row of a MaskedImage.
Definition at line 543 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_xy_locator = const_MaskedImageLocator<typename Image::xy_locator, typename Mask::xy_locator, typename Variance::xy_locator> |
A const_locator for a MaskedImage.
Definition at line 556 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_y_iterator = const_MaskedImageIterator<typename Image::y_iterator, typename Mask::y_iterator, typename Variance::y_iterator> |
A const_iterator to a column of a MaskedImage.
Definition at line 551 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::fast_iterator = x_iterator |
A fast STL compliant iterator for contiguous images N.b.
The order of pixel access is undefined
Definition at line 547 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::Image = lsst::afw::image::Image<ImagePixelT> |
Definition at line 86 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::image_category = detail::MaskedImage_tag |
Definition at line 89 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::ImagePtr = std::shared_ptr<image::Image<ImagePixelT>> |
shared pointer to the Image
Definition at line 77 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::iterator = MaskedImageIterator<typename Image::iterator, typename Mask::iterator, typename Variance::iterator> |
Definition at line 530 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::Mask = lsst::afw::image::Mask<MaskPixelT> |
Definition at line 87 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskPlaneDict = typename Mask<MaskPixelT>::MaskPlaneDict |
The Mask's MaskPlaneDict.
Definition at line 83 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskPtr = std::shared_ptr<image::Mask<MaskPixelT>> |
shared pointer to the Mask
Definition at line 79 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::Pixel = lsst::afw::image::pixel::Pixel<ImagePixelT, MaskPixelT, VariancePixelT> |
A Pixel in the MaskedImage.
Definition at line 112 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::reverse_iterator = MaskedImageIterator<typename Image::reverse_iterator, typename Mask::reverse_iterator, typename Variance::reverse_iterator> |
Definition at line 534 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::SinglePixel = lsst::afw::image::pixel::SinglePixel<ImagePixelT, MaskPixelT, VariancePixelT> |
A single Pixel of the same type as those in the MaskedImage.
Definition at line 114 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::Variance = lsst::afw::image::Image<VariancePixelT> |
Definition at line 85 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::VariancePtr = std::shared_ptr<image::Image<VariancePixelT>> |
shared pointer to the variance Image
Definition at line 81 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::x_iterator = MaskedImageIterator<typename Image::x_iterator, typename Mask::x_iterator, typename Variance::x_iterator> |
An iterator to a row of a MaskedImage.
Definition at line 541 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::xy_locator = MaskedImageLocator<typename Image::xy_locator, typename Mask::xy_locator, typename Variance::xy_locator> |
A locator for a MaskedImage.
Definition at line 554 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::xy_x_iterator = typename MaskedImageLocator<typename Image::xy_locator, typename Mask::xy_locator, typename Variance::xy_locator>::x_iterator |
an x_iterator associated with an xy_locator
Definition at line 559 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::xy_y_iterator = typename MaskedImageLocator<typename Image::xy_locator, typename Mask::xy_locator, typename Variance::xy_locator>::y_iterator |
an y_iterator associated with an xy_locator
Definition at line 561 of file MaskedImage.h.
using lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::y_iterator = MaskedImageIterator<typename Image::y_iterator, typename Mask::y_iterator, typename Variance::y_iterator> |
An iterator to a column of a MaskedImage.
Definition at line 549 of file MaskedImage.h.
|
explicit |
Construct from a supplied dimensions.
The Image, Mask, and Variance will be set to zero
width | number of columns |
height | number of rows |
planeDict | Make Mask conform to this mask layout (ignore if empty) |
Definition at line 43 of file MaskedImage.cc.
|
explicit |
Construct from a supplied dimensions.
The Image, Mask, and Variance will be set to zero
dimensions | Number of columns, rows in image |
planeDict | Make Mask conform to this mask layout (ignore if empty) |
Definition at line 54 of file MaskedImage.cc.
|
explicit |
Construct from a supplied Image and optional Mask and Variance.
The Mask and Variance will be set to zero if omitted
image | Image |
mask | Mask |
variance | Variance Mask |
Definition at line 149 of file MaskedImage.cc.
|
explicit |
Create an MaskedImage of the specified size.
The Image, Mask, and Variance will be set to zero
bbox | dimensions of image: width x height |
planeDict | Make Mask conform to this mask layout (ignore if empty) |
dimensions
member which may be conveniently used to make objects of an appropriate size Definition at line 65 of file MaskedImage.cc.
|
explicit |
Construct a MaskedImage by reading a regular FITS file.
[in] | fileName | File to read. |
[in,out] | metadata | Metadata read from the primary HDU header. |
[in] | bbox | If non-empty, read only the pixels within the bounding box. |
[in] | origin | Coordinate system of the bounding box; if PARENT, the bounding box should take into account the xy0 saved with the image. |
[in] | conformMasks | If true, make Mask conform to the mask layout in the file. |
[in] | needAllHdus | If true, throw fits::FitsError if the mask and/or variance plane is missing. If false, silently initialize them to zero. |
[in,out] | imageMetadata | Metadata read from the image HDU header. |
[in,out] | maskMetadata | Metadata read from the mask HDU header. |
[in,out] | varianceMetadata | Metadata read from the variance HDU header. |
[in] | allowUnsafe | Permit reading into the requested pixel type even when on-disk values may overflow or truncate. |
Definition at line 74 of file MaskedImage.cc.
|
explicit |
Construct a MaskedImage by reading a FITS image in memory.
[in] | manager | An object that manages the memory buffer to read. |
[in,out] | metadata | Metadata read from the primary HDU header. |
[in] | bbox | If non-empty, read only the pixels within the bounding box. |
[in] | origin | Coordinate system of the bounding box; if PARENT, the bounding box should take into account the xy0 saved with the image. |
[in] | conformMasks | If true, make Mask conform to the mask layout in the file. |
[in] | needAllHdus | If true, throw fits::FitsError if the mask and/or variance plane is missing. If false, silently initialize them to zero. |
[in,out] | imageMetadata | Metadata read from the image HDU header. |
[in,out] | maskMetadata | Metadata read from the mask HDU header. |
[in,out] | varianceMetadata | Metadata read from the variance HDU header. |
[in] | allowUnsafe | Permit reading into the requested pixel type even when on-disk values may overflow or truncate. |
Definition at line 99 of file MaskedImage.cc.
|
explicit |
Construct a MaskedImage from an already-open FITS object.
[in] | fitsfile | A FITS object to read from. Current HDU is ignored. |
[in,out] | metadata | Metadata read from the primary HDU header. |
[in] | bbox | If non-empty, read only the pixels within the bounding box. |
[in] | origin | Coordinate system of the bounding box; if PARENT, the bounding box should take into account the xy0 saved with the image. |
[in] | conformMasks | If true, make Mask conform to the mask layout in the file. |
[in] | needAllHdus | If true, throw fits::FitsError if the mask and/or variance plane is missing. If false, silently initialize them to zero. |
[in,out] | imageMetadata | Metadata read from the image HDU header. |
[in,out] | maskMetadata | Metadata read from the mask HDU header. |
[in,out] | varianceMetadata | Metadata read from the variance HDU header. |
[in] | allowUnsafe | Permit reading into the requested pixel type even when on-disk values may overflow or truncate. |
Definition at line 124 of file MaskedImage.cc.
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImage | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs, |
bool const | deep = false ) |
Copy constructor; shallow, unless deep is true.
rhs | Image to copy |
deep | Make deep copy? |
Definition at line 157 of file MaskedImage.cc.
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImage | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > && | rhs | ) |
Definition at line 169 of file MaskedImage.cc.
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImage | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs, |
lsst::geom::Box2I const & | bbox, | ||
ImageOrigin const | origin = PARENT, | ||
bool const | deep = false ) |
Copy constructor of the pixels specified by bbox; shallow, unless deep is true.
rhs | MaskedImage to copy |
bbox | Specify desired region |
origin | Specify the coordinate system of the bbox |
deep | If false, new ImageBase shares storage with rhs; if true make a new, standalone, MaskedImage |
Definition at line 173 of file MaskedImage.cc.
|
inline |
generalised copy constructor; defined here in the header so that the compiler can instantiate N(N-1)/2 conversions between N ImageBase types.
We only support converting the Image part
rhs | Input image |
deep | Must be true; needed to disambiguate |
Definition at line 713 of file MaskedImage.h.
|
virtualdefault |
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::assign | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs, |
lsst::geom::Box2I const & | bbox = lsst::geom::Box2I(), | ||
ImageOrigin | origin = PARENT ) |
Copy pixels from another masked image to a specified subregion of this masked image.
[in] | rhs | source image whose pixels are to be copied into this image (the destination) |
[in] | bbox | subregion of this image to set; if empty (the default) then all pixels are set |
[in] | origin | origin of bbox: if PARENT then the lower left pixel of this image is at xy0 if LOCAL then the lower left pixel of this image is at 0,0 |
lsst::pex::exceptions::LengthError | if the dimensions of rhs and the specified subregion of this image do not match. |
Definition at line 224 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::at | ( | int const | x, |
int const | y ) const |
Return an iterator
at the point (x, y)
Definition at line 592 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::begin | ( | ) | const |
Return an iterator
to the start of the image.
Definition at line 568 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::fast_iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::begin | ( | bool | contiguous | ) | const |
Fast iterators to contiguous images.
Return a fast iterator
to the start of the image, which must be contiguous Note that the order in which pixels are visited is undefined.
contiguous | Pixels are contiguous (must be true) |
lsst::pex::exceptions::RuntimeError | Argument contiguous is false, or the pixels are not in fact contiguous |
Definition at line 662 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::y_iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::col_begin | ( | int | x | ) | const |
Return an y_iterator
to the start of the image.
Definition at line 642 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::y_iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::col_end | ( | int | x | ) | const |
Return an y_iterator
to the end of the image.
Definition at line 652 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::end | ( | ) | const |
Return an iterator
to the end of the image.
Definition at line 582 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::fast_iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::end | ( | bool | contiguous | ) | 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.
contiguous | Pixels are contiguous (must be true) |
lsst::pex::exceptions::RuntimeError | Argument contiguous is false, or the pixels are not in fact contiguous |
Definition at line 672 of file MaskedImage.cc.
|
inline |
Definition at line 1059 of file MaskedImage.h.
|
inline |
Definition at line 1058 of file MaskedImage.h.
|
inline |
Return the number of rows in the image.
Definition at line 1057 of file MaskedImage.h.
|
inline |
Return a (shared_ptr to) the MaskedImage's image.
Definition at line 1019 of file MaskedImage.h.
|
inline |
Return a (shared_ptr to) the MaskedImage's mask.
Definition at line 1031 of file MaskedImage.h.
|
inline |
Return a (shared_ptr to) the MaskedImage's variance.
Definition at line 1052 of file MaskedImage.h.
|
inline |
Return the number of columns in the image.
Definition at line 1055 of file MaskedImage.h.
|
inline |
Return the image's column-origin.
This will usually be 0 except for images created using the MaskedImage(fileName, hdu, BBox, mode)
ctor or MaskedImage(ImageBase, BBox)
cctor The origin can be reset with setXY0()
Definition at line 1067 of file MaskedImage.h.
|
inline |
Return the image's origin.
This will usually be (0, 0) except for images created using the MaskedImage(fileName, hdu, BBox, mode)
ctor or MaskedImage(ImageBase, BBox)
cctor The origin can be reset with setXY0
Definition at line 1083 of file MaskedImage.h.
|
inline |
Return the image's row-origin.
This will usually be 0 except for images created using the MaskedImage(fileName, hdu, BBox, mode)
ctor or MaskedImage(ImageBase, BBox)
cctor The origin can be reset with setXY0()
Definition at line 1075 of file MaskedImage.h.
|
inline |
Convert image index to image position (see Image::indexToPosition)
ind | image index |
xy | Is this a column or row coordinate? |
Definition at line 1122 of file MaskedImage.h.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::operator*= | ( | ImagePixelT const | rhs | ) |
Definition at line 343 of file MaskedImage.cc.
|
inline |
Definition at line 841 of file MaskedImage.h.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::operator*= | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs | ) |
Definition at line 302 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::operator+= | ( | ImagePixelT const | rhs | ) |
Add a scalar rhs to a MaskedImage.
Definition at line 250 of file MaskedImage.cc.
|
inline |
Definition at line 796 of file MaskedImage.h.
|
inline |
Definition at line 800 of file MaskedImage.h.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::operator+= | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs | ) |
Add a MaskedImage rhs to a MaskedImage.
The image and variances are added; the masks are ORd together
Definition at line 233 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::operator-= | ( | ImagePixelT const | rhs | ) |
Subtract a scalar rhs from a MaskedImage.
Definition at line 274 of file MaskedImage.cc.
|
inline |
Definition at line 823 of file MaskedImage.h.
|
inline |
Definition at line 827 of file MaskedImage.h.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::operator-= | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs | ) |
Subtract a MaskedImage rhs from a MaskedImage.
The images are subtracted; the masks are ORd together; and the variances are added
Definition at line 257 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::operator/= | ( | ImagePixelT const | rhs | ) |
Definition at line 414 of file MaskedImage.cc.
|
inline |
Definition at line 851 of file MaskedImage.h.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::operator/= | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs | ) |
Definition at line 373 of file MaskedImage.cc.
|
default |
|
default |
Make the lhs use the rhs's pixels.
If you are copying a scalar value, a simple lhs = scalar;
is OK, but this is probably not the function that you want to use with an image. To copy pixel values from the rhs use assign(rhs)
rhs | Right hand side |
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::operator= | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::Pixel const & | rhs | ) |
Set the pixels in the MaskedImage to the rhs.
Definition at line 204 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::operator= | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::SinglePixel const & | rhs | ) |
Set the pixels in the MaskedImage to the rhs.
Definition at line 214 of file MaskedImage.cc.
|
inline |
Return a subimage corresponding to the given box (interpreted as PARENT coordinates).
Definition at line 768 of file MaskedImage.h.
|
inline |
Convert image position to index (see Image::positionToIndex)
pos | image position |
xy | Is this a column or row coordinate? |
Definition at line 1133 of file MaskedImage.h.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::reverse_iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::rbegin | ( | ) | const |
Return a reverse_iterator
to the start of the image.
Definition at line 602 of file MaskedImage.cc.
|
inlinestatic |
Read a MaskedImage from a FITS RAM file.
[in] | manager | Object that manages the memory to be read. |
Definition at line 1012 of file MaskedImage.h.
|
inlinestatic |
Read a MaskedImage from a regular FITS file.
[in] | filename | Name of the file to read. |
Definition at line 1003 of file MaskedImage.h.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::reverse_iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::rend | ( | ) | const |
Return a reverse_iterator
to the end of the image.
Definition at line 612 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::x_iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::row_begin | ( | int | y | ) | const |
Return an x_iterator
to the start of the image.
Definition at line 622 of file MaskedImage.cc.
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::x_iterator lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::row_end | ( | int | y | ) | const |
Return an x_iterator
to the end of the image.
Definition at line 632 of file MaskedImage.cc.
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::scaledDivides | ( | double const | c, |
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs ) |
Definition at line 394 of file MaskedImage.cc.
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::scaledMinus | ( | double const | c, |
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs ) |
Subtract a scaled MaskedImage c*rhs from a MaskedImage.
The images are subtracted; the masks are ORd together; and the variances are added
Definition at line 266 of file MaskedImage.cc.
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::scaledMultiplies | ( | double const | c, |
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs ) |
Definition at line 323 of file MaskedImage.cc.
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::scaledPlus | ( | double const | c, |
MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | rhs ) |
Add a scaled MaskedImage c*rhs to a MaskedImage.
The image and variances are added; the masks are ORd together
Definition at line 242 of file MaskedImage.cc.
|
inline |
Set the image plane's pixel values to those of another Image.
This copies pixel values, not pointers.
pex::exceptions::LengthError | if dimensions do not match. |
Definition at line 1028 of file MaskedImage.h.
|
inline |
Set the mask plane's pixel values to those of another Mask.
This copies pixel values, not pointers.
pex::exceptions::LengthError | if dimensions do not match. |
Definition at line 1040 of file MaskedImage.h.
|
inline |
Set the variance plane's pixel values to those of another Image.
This copies pixel values, not pointers.
pex::exceptions::LengthError | if dimensions do not match. |
Definition at line 1049 of file MaskedImage.h.
|
inline |
Set the MaskedImage's origin.
The origin is usually set by the constructor, so you shouldn't need this function
Definition at line 1093 of file MaskedImage.h.
|
inline |
Set the MaskedImage's origin.
The origin is usually set by the constructor, so you shouldn't need this function
Definition at line 1103 of file MaskedImage.h.
|
inline |
Return a subimage corresponding to the given box.
bbox | Bounding box of the subimage returned. |
origin | Origin bbox is rleative to; PARENT accounts for xy0, LOCAL does not. |
This method is wrapped as getitem in Python.
Definition at line 763 of file MaskedImage.h.
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::swap | ( | MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > & | rhs | ) |
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::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.
[in] | fitsfile | An empty FITS file object. |
[in] | imageOptions | Options controlling writing of image as FITS. |
[in] | maskOptions | Options controlling writing of mask as FITS. |
[in] | varianceOptions | Options controlling writing of variance as FITS. |
[in] | metadata | Additional values to write to the primary HDU header (may be null). |
[in] | imageMetadata | Metadata to be written to the image header. |
[in] | maskMetadata | Metadata to be written to the mask header. |
[in] | varianceMetadata | Metadata to be written to the variance header. |
The FITS file will have four HDUs; the primary HDU will contain only metadata, while the image, mask, and variance HDU headers will use the "INHERIT='T'" convention to indicate that the primary metadata applies to those HDUs as well.
Definition at line 494 of file MaskedImage.cc.
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::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.
[in] | fitsfile | An empty FITS file object. |
[in] | metadata | Additional values to write to the primary HDU header (may be null). |
[in] | imageMetadata | Metadata to be written to the image header. |
[in] | maskMetadata | Metadata to be written to the mask header. |
[in] | varianceMetadata | Metadata to be written to the variance header. |
The FITS file will have four HDUs; the primary HDU will contain only metadata, while the image, mask, and variance HDU headers will use the "INHERIT='T'" convention to indicate that the primary metadata applies to those HDUs as well.
Definition at line 458 of file MaskedImage.cc.
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::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.
[in] | manager | Manager object for the memory block to write to. |
[in] | imageOptions | Options controlling writing of image as FITS. |
[in] | maskOptions | Options controlling writing of mask as FITS. |
[in] | varianceOptions | Options controlling writing of variance as FITS. |
[in] | metadata | Additional values to write to the primary HDU header (may be null). |
[in] | imageMetadata | Metadata to be written to the image header. |
[in] | maskMetadata | Metadata to be written to the mask header. |
[in] | varianceMetadata | Metadata to be written to the variance header. |
The FITS file will have four HDUs; the primary HDU will contain only metadata, while the image, mask, and variance HDU headers will use the "INHERIT='T'" convention to indicate that the primary metadata applies to those HDUs as well.
Definition at line 481 of file MaskedImage.cc.
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::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.
[in] | manager | Manager object for the memory block to write to. |
[in] | metadata | Additional values to write to the primary HDU header (may be null). |
[in] | imageMetadata | Metadata to be written to the image header. |
[in] | maskMetadata | Metadata to be written to the mask header. |
[in] | varianceMetadata | Metadata to be written to the variance header. |
The FITS file will have four HDUs; the primary HDU will contain only metadata, while the image, mask, and variance HDU headers will use the "INHERIT='T'" convention to indicate that the primary metadata applies to those HDUs as well.
Definition at line 432 of file MaskedImage.cc.
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::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.
[in] | fileName | Name of the file to write. |
[in] | imageOptions | Options controlling writing of image as FITS. |
[in] | maskOptions | Options controlling writing of mask as FITS. |
[in] | varianceOptions | Options controlling writing of variance as FITS. |
[in] | metadata | Additional values to write to the primary HDU header (may be null). |
[in] | imageMetadata | Metadata to be written to the image header. |
[in] | maskMetadata | Metadata to be written to the mask header. |
[in] | varianceMetadata | Metadata to be written to the variance header. |
The FITS file will have four HDUs; the primary HDU will contain only metadata, while the image, mask, and variance HDU headers will use the "INHERIT='T'" convention to indicate that the primary metadata applies to those HDUs as well.
Definition at line 468 of file MaskedImage.cc.
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::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.
[in] | fileName | Name of the file to write. When writing separate files, this is the "base" of the filename (e.g. foo reads foo_{img.msk.var}.fits). |
[in] | metadata | Additional values to write to the primary HDU header (may be null). |
[in] | imageMetadata | Metadata to be written to the image header. |
[in] | maskMetadata | Metadata to be written to the mask header. |
[in] | varianceMetadata | Metadata to be written to the variance header. |
The FITS file will have four HDUs; the primary HDU will contain only metadata, while the image, mask, and variance HDU headers will use the "INHERIT='T'" convention to indicate that the primary metadata applies to those HDUs as well.
Definition at line 422 of file MaskedImage.cc.
|
inline |
Return an x_iterator
at the point (x, y)
Definition at line 1181 of file MaskedImage.h.
|
inline |
Return an xy_locator
at the point (x, y)
Definition at line 1215 of file MaskedImage.h.
|
inline |
Return an y_iterator
at the point (x, y)
Definition at line 1201 of file MaskedImage.h.