27 template <
typename PixelT>
40 result._maskDict = fileMD;
47 #define INSTANTIATE(T) \ 48 template Mask<T> MaskFitsReader::read(lsst::geom::Box2I const &, ImageOrigin, bool, bool) Mask< PixelT > read(lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool conformMasks=false, bool allowUnsafe=false)
Read the Mask.
static std::shared_ptr< MaskDict > getDefault()
std::shared_ptr< daf::base::PropertyList > readMetadata()
Read the image's FITS header.
static void setDefault(std::shared_ptr< MaskDict > dict)
static MaskPlaneDict parseMaskPlaneMetadata(std::shared_ptr< lsst::daf::base::PropertySet const > metadata)
Given a PropertySet that contains the MaskPlane assignments, setup the MaskPlanes.
lsst::geom::Point2I readXY0(lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT)
Read the image origin from the on-disk image or a subimage thereof.
A base class for image defects.
Represent a 2-dimensional array of bitmask pixels.
std::int32_t MaskPixel
default type for Masks and MaskedImage Masks
static std::shared_ptr< MaskDict > copyOrGetDefault(MaskPlaneDict const &dict)
void conformMaskPlanes(const MaskPlaneDict &masterPlaneDict)
Adjust this mask to conform to the standard Mask class's mask plane dictionary, adding any new mask p...
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...
An integer coordinate rectangle.