24 #ifndef LSST_MEAS_BASE_NaiveCentroid_h_INCLUDED 25 #define LSST_MEAS_BASE_NaiveCentroid_h_INCLUDED 32 #include "lsst/pex/config.h" 46 LSST_CONTROL_FIELD(
background,
double,
"Value to subtract from the image pixel values");
47 LSST_CONTROL_FIELD(
doFootprintCheck,
bool,
"Do check that the centroid is contained in footprint.");
49 "If set > 0, Centroid Check also checks distance from footprint peak.");
103 #endif // !LSST_MEAS_BASE_NaiveCentroid_h_INCLUDED
Simple class used to define and document flags The name and doc constitute the identity of the FlagDe...
double maxDistToPeak
"If set > 0, Centroid Check also checks distance from footprint peak." ;
static FlagDefinition const EDGE
Exception to be thrown when a measurement algorithm experiences a known failure mode.
NaiveCentroidControl Control
Utility class for handling flag fields that indicate the failure modes of an algorithm.
A class that calculates a centroid as a simple unweighted first moment of the 3x3 region around a pix...
static FlagDefinition const NO_COUNTS
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
bool doFootprintCheck
"Do check that the centroid is contained in footprint." ;
double background
"Value to subtract from the image pixel values" ;
A FunctorKey for CentroidResult.
A C++ control class to handle NaiveCentroidAlgorithm's configuration.
vector-type utility class to build a collection of FlagDefinitions
static FlagDefinition const FAILURE
NaiveCentroidControl()
Default constructor.