LSSTApplications  18.1.0
LSSTDataManagementBasePackage
ImageFitsReader.h
Go to the documentation of this file.
1 /*
2  * Developed for the LSST Data Management System.
3  * This product includes software developed by the LSST Project
4  * (https://www.lsst.org).
5  * See the COPYRIGHT file at the top-level directory of this distribution
6  * for details of code ownership.
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <https://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef LSST_AFW_IMAGE_IMAGEFITSREADER_H
23 #define LSST_AFW_IMAGE_IMAGEFITSREADER_H
24 
26 #include "lsst/afw/image/Image.h"
27 
28 namespace lsst { namespace afw { namespace image {
29 
39 class ImageFitsReader final : public ImageBaseFitsReader {
40 public:
41 
43 
57  template <typename PixelT>
59  bool allowUnsafe=false);
60 
61 };
62 
63 }}} // namespace lsst::afw::image
64 
65 #endif // !LSST_AFW_IMAGE_IMAGEFITSREADER_H
A FITS reader class for regular Images.
ImageBaseFitsReader(std::string const &fileName, int hdu=fits::DEFAULT_HDU)
Construct a FITS reader object.
A base class for image defects.
table::Box2IKey bbox
Definition: Detector.cc:169
Image< PixelT > read(lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool allowUnsafe=false)
Read the Image.
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...
Base class for image FITS readers.
An integer coordinate rectangle.
Definition: Box.h:54
A class to represent a 2-dimensional array of pixels.
Definition: Image.h:59