LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Namespaces | |
_footprintMerge | |
_peak | |
detail | |
multiband | |
utils | |
Classes | |
class | Footprint |
Class to describe the properties of a detected object from an image. More... | |
class | FootprintControl |
A Control Object for Footprints, controlling e.g. More... | |
class | FootprintFactory |
class | FootprintMerge |
class | FootprintMergeList |
List of Merged Footprints. More... | |
class | FootprintSet |
A set of Footprints, associated with a MaskedImage. More... | |
class | GaussianPsf |
A circularly symmetric Gaussian Psf class with no spatial variation, intended mostly for testing purposes. More... | |
class | HeavyFootprint |
A set of pixels in an Image, including those pixels' actual values. More... | |
class | HeavyFootprintCtrl |
A control object for HeavyFootprints. More... | |
class | IdSpan |
run-length code for part of object More... | |
struct | IdSpanCompar |
comparison functor; sort by ID, then by row (y), then by column range start (x0) More... | |
class | PeakRecord |
Record class that represents a peak in a Footprint. More... | |
class | PeakTable |
Table class for Peaks in Footprints. More... | |
class | Psf |
A polymorphic base class for representing an image's Point Spread Function. More... | |
class | Threshold |
A Threshold is used to pass a threshold value to detection algorithms. More... | |
Typedefs | |
typedef std::uint64_t | FootprintIdPixel |
Pixel type for FootprintSet::insertIntoImage() More... | |
typedef afw::table::ColumnViewT< PeakRecord > | PeakColumnView |
typedef afw::table::CatalogT< PeakRecord > | PeakCatalog |
typedef afw::table::CatalogT< PeakRecord const > | ConstPeakCatalog |
Functions | |
std::shared_ptr< Footprint > | mergeFootprints (Footprint const &footprint1, Footprint const &footprint2) |
Merges two Footprints – appends their peaks, and unions their spans, returning a new Footprint. More... | |
std::vector< lsst::geom::Box2I > | footprintToBBoxList (Footprint const &footprint) |
Return a list of BBoxs, whose union contains exactly the pixels in the footprint, neither more nor less. More... | |
template<typename ImagePixelT , typename MaskPixelT , typename VariancePixelT > | |
HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > | makeHeavyFootprint (Footprint const &foot, lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const &img, HeavyFootprintCtrl const *ctrl=NULL) |
Create a HeavyFootprint with footprint defined by the given Footprint and pixel values from the given MaskedImage. More... | |
template<typename ImagePixelT , typename MaskPixelT , typename VariancePixelT > | |
std::shared_ptr< HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > > | mergeHeavyFootprints (HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > const &h1, HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > const &h2) |
Sum the two given HeavyFootprints h1 and h2, returning a HeavyFootprint with the union footprint, and summed pixels where they overlap. More... | |
std::ostream & | operator<< (std::ostream &os, PeakRecord const &record) |
Threshold | createThreshold (const double value, const std::string type="value", const bool polarity=true) |
Factory method for creating Threshold objects. More... | |
void | wrapFootprint (WrapperCollection &) |
void | wrapFootprintCtrl (WrapperCollection &) |
void | wrapFootprintMerge (WrapperCollection &) |
void | wrapFootprintSet (WrapperCollection &) |
void | wrapGaussianPsf (WrapperCollection &) |
void | wrapHeavyFootprint (WrapperCollection &) |
void | wrapPeak (WrapperCollection &) |
void | wrapPsf (WrapperCollection &) |
void | wrapThreshold (WrapperCollection &) |
PYBIND11_MODULE (_detection, mod) | |
int | resolve_alias (const std::vector< int > &aliases, int id) |
Follow a chain of aliases, returning the final resolved value. More... | |
typedef afw::table::CatalogT<PeakRecord const> lsst::afw::detection::ConstPeakCatalog |
Pixel type for FootprintSet::insertIntoImage()
This is independent of the template parameters for FootprintSet, and including it within FootprintSet makes it difficult for SWIG to interpret the type.
Definition at line 48 of file FootprintSet.h.
Threshold lsst::afw::detection::createThreshold | ( | const double | value, |
const std::string | type = "value" , |
||
const bool | polarity = true |
||
) |
Factory method for creating Threshold objects.
value | value of threshold |
type | string representation of a ThresholdType. This parameter is optional. Allowed values are: "variance", "value", "stdev", "pixel_stdev" |
polarity | If true detect positive objects, false for negative |
Definition at line 109 of file Threshold.cc.
std::vector< lsst::geom::Box2I > lsst::afw::detection::footprintToBBoxList | ( | Footprint const & | footprint | ) |
Return a list of BBoxs, whose union contains exactly the pixels in the footprint, neither more nor less.
Useful in generating sets of meas::algorithms::Defects for the ISR
footprint | Footprint to turn into bounding box list |
Definition at line 352 of file Footprint.cc.
HeavyFootprint<ImagePixelT, MaskPixelT, VariancePixelT> lsst::afw::detection::makeHeavyFootprint | ( | Footprint const & | foot, |
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT > const & | img, | ||
HeavyFootprintCtrl const * | ctrl = NULL |
||
) |
Create a HeavyFootprint with footprint defined by the given Footprint and pixel values from the given MaskedImage.
Definition at line 148 of file HeavyFootprint.h.
std::shared_ptr< Footprint > lsst::afw::detection::mergeFootprints | ( | Footprint const & | footprint1, |
Footprint const & | footprint2 | ||
) |
Merges two Footprints – appends their peaks, and unions their spans, returning a new Footprint.
Region is not preserved, and is set to an empty lsst::geom::Box2I object.
Definition at line 327 of file Footprint.cc.
std::shared_ptr< HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > > lsst::afw::detection::mergeHeavyFootprints | ( | HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > const & | h1, |
HeavyFootprint< ImagePixelT, MaskPixelT, VariancePixelT > const & | h2 | ||
) |
Sum the two given HeavyFootprints h1 and h2, returning a HeavyFootprint with the union footprint, and summed pixels where they overlap.
The peak list is the union of the two inputs.
Definition at line 132 of file HeavyFootprint.cc.
std::ostream & lsst::afw::detection::operator<< | ( | std::ostream & | os, |
PeakRecord const & | record | ||
) |
lsst::afw::detection::PYBIND11_MODULE | ( | _detection | , |
mod | |||
) |
Definition at line 47 of file _detection.cc.
int lsst::afw::detection::resolve_alias | ( | const std::vector< int > & | aliases, |
int | id | ||
) |
void lsst::afw::detection::wrapFootprint | ( | WrapperCollection & | wrappers | ) |
Definition at line 76 of file _footprint.cc.
void lsst::afw::detection::wrapFootprintCtrl | ( | WrapperCollection & | wrappers | ) |
Definition at line 39 of file _footprintCtrl.cc.
void lsst::afw::detection::wrapFootprintMerge | ( | WrapperCollection & | wrappers | ) |
Definition at line 38 of file _footprintMerge.cc.
void lsst::afw::detection::wrapFootprintSet | ( | WrapperCollection & | wrappers | ) |
Definition at line 84 of file _footprintSet.cc.
void lsst::afw::detection::wrapGaussianPsf | ( | WrapperCollection & | wrappers | ) |
Definition at line 38 of file _gaussianPsf.cc.
void lsst::afw::detection::wrapHeavyFootprint | ( | WrapperCollection & | wrappers | ) |
Definition at line 88 of file _heavyFootprint.cc.
void lsst::afw::detection::wrapPeak | ( | WrapperCollection & | wrappers | ) |
void lsst::afw::detection::wrapPsf | ( | WrapperCollection & | wrappers | ) |
void lsst::afw::detection::wrapThreshold | ( | WrapperCollection & | wrappers | ) |
Definition at line 38 of file _threshold.cc.