LSST Applications g063fba187b+66a50001ff,g0f08755f38+1a22dc2551,g1653933729+a8ce1bb630,g168dd56ebc+a8ce1bb630,g217e2c1bcf+12e87a5bd8,g246886dfd9+466c7b6c06,g28da252d5a+858b171e04,g2bbee38e9b+404b60ec9b,g2bc492864f+404b60ec9b,g3156d2b45e+6e55a43351,g347aa1857d+404b60ec9b,g35bb328faa+a8ce1bb630,g3a166c0a6a+404b60ec9b,g3e281a1b8c+c5dd892a6c,g414038480c+6b9177ef31,g41af890bb2+70bea58702,g599934f4f4+b8c5400ca5,g781aacb6e4+a8ce1bb630,g7af13505b9+b5b9cefdb8,g80478fca09+c2997882f3,g82479be7b0+8974e6af0f,g858d7b2824+1a22dc2551,g89c8672015+f4add4ffd5,g8f1c07a47a+de51c9b0a5,g9125e01d80+a8ce1bb630,ga5288a1d22+b66f8cf76b,gb58c049af0+d64f4d3760,gc28159a63d+404b60ec9b,gcab2d0539d+66cf1de5d4,gcf0d15dbbd+12cb7e2563,gda6a2b7d83+12cb7e2563,gdaeeff99f8+1711a396fd,ge79ae78c31+404b60ec9b,gef2f8181fd+414189b318,gf0baf85859+c1f95f4921,gf0c06eb49c+1a22dc2551,gfa517265be+1a22dc2551,gfa999e8aa5+17cd334064,v28.0.0.rc2
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.