lsst.afw g7304ef7ade+54d2011bfb
Loading...
Searching...
No Matches
MaskFitsReader.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_MASKFITSREADER_H
23#define LSST_AFW_IMAGE_MASKFITSREADER_H
24
26#include "lsst/afw/image/Mask.h"
27
28namespace lsst { namespace afw { namespace image {
29
39class MaskFitsReader final : public ImageBaseFitsReader {
40public:
41
43
59 template <typename PixelT>
61 bool conformMasks=false, bool allowUnsafe=false);
62
63};
64
65}}} // namespace lsst::afw::image
66
67#endif // !LSST_AFW_IMAGE_MASKFITSREADER_H
AmpInfoBoxKey bbox
Definition: Amplifier.cc:117
Base class for image FITS readers.
ImageBaseFitsReader(std::string const &fileName, int hdu=fits::DEFAULT_HDU)
Construct a FITS reader object.
A FITS reader class for Masks.
Mask< PixelT > read(lsst::geom::Box2I const &bbox=lsst::geom::Box2I(), ImageOrigin origin=PARENT, bool conformMasks=false, bool allowUnsafe=false)
Read the Mask.
Represent a 2-dimensional array of bitmask pixels.
Definition: Mask.h:77