24 #if !defined(LSST_DETECTION_FOOTPRINT_SET_H)
25 #define LSST_DETECTION_FOOTPRINT_SET_H
60 template <
typename ImagePixelT>
63 int const npixMin=1,
bool const setPeaks=
true);
65 template <
typename MaskPixelT>
70 template <
typename ImagePixelT,
typename MaskPixelT>
73 std::string
const& planeName =
"",
74 int const npixMin=1,
bool const setPeaks=
true);
76 #else // workaround for https://github.com/swig/swig/issues/245
88 int const npixMin=1,
bool const setPeaks=
true);
91 std::string
const& planeName =
"",
92 int const npixMin=1,
bool const setPeaks=
true);
96 int const npixMin=1,
bool const setPeaks=
true);
99 std::string
const& planeName =
"",
100 int const npixMin=1,
bool const setPeaks=
true);
104 int const npixMin=1,
bool const setPeaks=
true);
107 std::string
const& planeName =
"",
108 int const npixMin=1,
bool const setPeaks=
true);
112 int const npixMin=1,
bool const setPeaks=
true);
115 std::string
const& planeName =
"",
116 int const npixMin=1,
bool const setPeaks=
true);
126 bool const includePeaks);
176 const
bool relativeIDs
179 template <typename MaskPixelT>
181 image::Mask<MaskPixelT> *mask,
182 std::
string const& planeName
191 template <
typename MaskPixelT>
194 std::string
const& planeName
196 setMask(mask.get(), planeName);
199 void merge(
FootprintSet const& rhs,
int tGrow=0,
int rGrow=0,
bool isotropic=
true);
201 template <
typename ImagePixelT,
typename MaskPixelT>
An include file to include the header files for lsst::afw::geom.
void swap(ImageBase< PixelT > &a, ImageBase< PixelT > &b)
A Threshold is used to pass a threshold value to detection algorithms.
An integer coordinate rectangle.
table::Key< table::Array< Kernel::Pixel > > image
boost::uint64_t FootprintIdPixel
Custom catalog class for record/table subclasses that are guaranteed to have an ID, and should generally be sorted by that ID.
Represent a 2-dimensional array of bitmask pixels.
A class to manipulate images, masks, and variance as a single object.
Represent a detection threshold.
Implementation of the Class MaskedImage.
Citizen is a class that should be among all LSST classes base classes, and handles basic memory manag...
MaskT setMaskFromFootprintList(lsst::afw::image::Mask< MaskT > *mask, std::vector< boost::shared_ptr< Footprint >> const &footprints, MaskT const bitmask)
OR bitmask into all the Mask's pixels which are in the set of Footprints.