30 #ifndef LSST_AFW_IMAGE_UTILS_H 31 #define LSST_AFW_IMAGE_UTILS_H 39 #include "boost/format.hpp" 40 #include "boost/mpl/bool.hpp" 77 template <
typename ImageT>
79 typename ImageT::Pixel bad = 0
81 typedef typename ImageT::SinglePixel SinglePixelT;
std::shared_ptr< daf::base::PropertyList > readMetadata(std::string const &fileName, int hdu=fits::DEFAULT_HDU, bool strip=false)
Return the metadata (header entries) from a FITS file.
ImageT::SinglePixel badPixel(typename ImageT::Pixel bad=0)
Return a value indicating a bad pixel for the given Image type.
A base class for image defects.
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...
const int DEFAULT_HDU
Specify that the default HDU should be read.
std::shared_ptr< daf::base::PropertyList > readMetadata(std::string const &fileName, int hdu=DEFAULT_HDU, bool strip=false)
Read FITS header.