lsst.meas.algorithms g8588faa8eb+d2f309c3d6
|
Functions | |
template<typename MaskedImageT > | |
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, ignoring pixels given by badmask. | |
Variables | |
double const | lpc_1_c1 = 0.7737 |
LPC coefficients for sigma = 1, S/N = infty. | |
double const | lpc_1_c2 = -0.2737 |
double const | lpc_1s2_c1 = 0.7358 |
LPC coefficients for sigma = 1/sqrt(2), S/N = infty. | |
double const | lpc_1s2_c2 = -0.2358 |
double const | min2GaussianBias = -0.5641895835 |
Mean value of the minimum of two N(0,1) variates. | |
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.
Interpolation can either be vertical or horizontal
x | x: column coordinate of the pixel in question |
y | y: row coordinate of the pixel in question |
image | image: in this image |
horizontal | horizontal: interpolate horizontally? |
minval | minval: minimum acceptable value |
double const lsst::meas::algorithms::interp::lpc_1_c1 = 0.7737 |
double const lsst::meas::algorithms::interp::lpc_1_c2 = -0.2737 |
double const lsst::meas::algorithms::interp::lpc_1s2_c1 = 0.7358 |
double const lsst::meas::algorithms::interp::lpc_1s2_c2 = -0.2358 |