LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Classes | Namespaces | Functions | Variables
Interp.h File Reference
#include <limits>
#include <vector>
#include "lsst/geom/Box.h"
#include "lsst/afw/image/Defect.h"
#include "lsst/afw/image/MaskedImage.h"

Go to the source code of this file.

Classes

class  lsst::meas::algorithms::Defect
 Encapsulate information about a bad portion of a detector. More...
 

Namespaces

 lsst
 A base class for image defects.
 
 lsst::afw
 
 lsst::afw::detection
 
 lsst::meas
 
 lsst::meas::algorithms
 Fit spatial kernel using approximate fluxes for candidates, and solving a linear system of equations.
 
 lsst::meas::algorithms::interp
 

Functions

template<typename MaskedImageT >
std::pair< bool, typename MaskedImageT::Image::Pixel > lsst::meas::algorithms::interp::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, ignoring pixels given by badmask. More...
 
template<typename MaskedImageT >
void lsst::meas::algorithms::interpolateOverDefects (MaskedImageT &mimage, afw::detection::Psf const &, std::vector< Defect::Ptr > &_badList, double fallbackValue, bool useFallbackValueAtEdge)
 Process a set of known bad pixels in an image. More...
 

Variables

double const lsst::meas::algorithms::interp::lpc_1_c1 = 0.7737
 LPC coefficients for sigma = 1, S/N = infty. More...
 
double const lsst::meas::algorithms::interp::lpc_1_c2 = -0.2737
 
double const lsst::meas::algorithms::interp::lpc_1s2_c1 = 0.7358
 LPC coefficients for sigma = 1/sqrt(2), S/N = infty. More...
 
double const lsst::meas::algorithms::interp::lpc_1s2_c2 = -0.2358
 
double const lsst::meas::algorithms::interp::min2GaussianBias = -0.5641895835
 Mean value of the minimum of two N(0,1) variates. More...