LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
25 #if !defined(LSST_MEAS_ALGORITHMS_INTERP_H)
26 #define LSST_MEAS_ALGORITHMS_INTERP_H
46 namespace algorithms {
64 template <
typename MaskedImageT>
66 bool horizontal,
double minval);
103 unsigned int getType()
const {
return _type; }
110 template <
typename MaskedImageT>
113 bool useFallbackValueAtEdge =
false);
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
@ RIGHT
defect is at right boundary
@ NEAR_LEFT
defect is near left boundary
@ MIDDLE
defect is in middle of frame
Defect(const geom::BoxI &bbox=geom::BoxI())
std::shared_ptr< Defect > Ptr
shared pointer to Defect
void classify(DefectPosition pos, unsigned int type)
std::pair< bool, typename MaskedImageT::Image::Pixel > singlePixel(int x, int y, MaskedImageT const &image, bool horizontal, double minval)
Return a boolean status (true: interpolation is OK) and the interpolated value for a pixel,...
@ WIDE_NEAR_LEFT
defect is near left, and wide
@ WIDE_RIGHT
defect is wide at right boundary
unsigned int getType() const
Return the defect's interpolation type.
Encapsulate information about a bad portion of a detector.
@ LEFT
defect is at left boundary
@ WIDE
defect is in middle, and wide
@ WIDE_NEAR_RIGHT
defect is near right, and wide
A base class for image defects.
double const lpc_1s2_c1
LPC coefficients for sigma = 1/sqrt(2), S/N = infty.
@ WIDE_LEFT
defect is wide at left boundary
DefectBase(const lsst::geom::Box2I &bbox)
An integer coordinate rectangle.
void interpolateOverDefects(MaskedImageT &image, afw::detection::Psf const &psf, std::vector< Defect::Ptr > &badList, double fallbackValue=0.0, bool useFallbackValueAtEdge=false)
Process a set of known bad pixels in an image.
Encapsulate information about a bad portion of a detector.
A polymorphic base class for representing an image's Point Spread Function.
@ NEAR_RIGHT
defect is near right boundary
double const lpc_1_c1
LPC coefficients for sigma = 1, S/N = infty.
double const min2GaussianBias
Mean value of the minimum of two N(0,1) variates.
DefectPosition getPos() const
Return the position of the defect.