|
LSSTApplications
11.0-13-gbb96280,12.1+18,12.1+7,12.1-1-g14f38d3+72,12.1-1-g16c0db7+5,12.1-1-g5961e7a+84,12.1-1-ge22e12b+23,12.1-11-g06625e2+4,12.1-11-g0d7f63b+4,12.1-19-gd507bfc,12.1-2-g7dda0ab+38,12.1-2-gc0bc6ab+81,12.1-21-g6ffe579+2,12.1-21-gbdb6c2a+4,12.1-24-g941c398+5,12.1-3-g57f6835+7,12.1-3-gf0736f3,12.1-37-g3ddd237,12.1-4-gf46015e+5,12.1-5-g06c326c+20,12.1-5-g648ee80+3,12.1-5-gc2189d7+4,12.1-6-ga608fc0+1,12.1-7-g3349e2a+5,12.1-7-gfd75620+9,12.1-9-g577b946+5,12.1-9-gc4df26a+10
LSSTDataManagementBasePackage
|
Namespaces | |
| assembleCcdTask | |
| fringe | |
| isr | |
| isrTask | |
| linearize | |
| version | |
Classes | |
| class | CountMaskedPixels |
Functions | |
| template<typename PixelT > | |
| int | applyLookupTable (afw::image::Image< PixelT > &image, ndarray::Array< PixelT, 1, 1 > const &table, PixelT indOffset) |
| Add the values in a lookup table to an image, e.g. More... | |
| template int | applyLookupTable< float > (afw::image::Image< float > &, ndarray::Array< float, 1, 1 > const &, float) |
| template int | applyLookupTable< double > (afw::image::Image< double > &, ndarray::Array< double, 1, 1 > const &, double) |
| template<typename PixelT > | |
| size_t | maskNans (afw::image::MaskedImage< PixelT > const &mi,afw::image::MaskPixel maskVal,afw::image::MaskPixel allow=0) |
| Mask NANs in an image. More... | |
| template<typename ImagePixelT , typename FunctionT > | |
| void | fitOverscanImage (std::shared_ptr< afw::math::Function1< FunctionT > > &overscanFunction, afw::image::MaskedImage< ImagePixelT > const &overscan, double ssize, int sigma) |
| std::string | between (std::string &s, char ldelim, char rdelim) |
| template void | fitOverscanImage (std::shared_ptr< afw::math::Function1< double > > &overscanFunction, afw::image::MaskedImage< float > const &overscan, double ssize, int sigma) |
| template void | fitOverscanImage (std::shared_ptr< afw::math::Function1< double > > &overscanFunction, afw::image::MaskedImage< double > const &overscan, double ssize, int sigma) |
| template size_t | maskNans< float > (afw::image::MaskedImage< float > const &, afw::image::MaskPixel, afw::image::MaskPixel) |
| template size_t | maskNans< double > (afw::image::MaskedImage< double > const &, afw::image::MaskPixel, afw::image::MaskPixel) |
| template<typename ImagePixelT , typename FunctionT > | |
| void | fitOverscanImage (std::shared_ptr< lsst::afw::math::Function1< FunctionT > > &overscanFunction, lsst::afw::image::MaskedImage< ImagePixelT > const &overscan, double ssize=1., int sigma=1) |
| int lsst::ip::isr::applyLookupTable | ( | afw::image::Image< PixelT > & | image, |
| ndarray::Array< PixelT, 1, 1 > const & | table, | ||
| PixelT | indOffset | ||
| ) |
Add the values in a lookup table to an image, e.g.
for non-linearity correction
The algorithm is as follows: numOutOfRange = 0 For each i,j of the image: lookupInd = int(indOffset + image[i,j]) if lookupInd not in range [0, table.size() - 1]: set lookupInd to nearest edge and increment numOutOfRange image[i,j] += table[lookupInd] return numOutOfRange
| [in,out] | image | image to which to add the values; modified in place |
| [in] | table | lookup table |
| [in] | indOffset | scalar added to image value before truncating to lookup column |
Definition at line 35 of file applyLookupTable.cc.
| template int lsst::ip::isr::applyLookupTable< double > | ( | afw::image::Image< double > & | , |
| ndarray::Array< double, 1, 1 > const & | , | ||
| double | |||
| ) |
| template int lsst::ip::isr::applyLookupTable< float > | ( | afw::image::Image< float > & | , |
| ndarray::Array< float, 1, 1 > const & | , | ||
| float | |||
| ) |
| std::string lsst::ip::isr::between | ( | std::string & | s, |
| char | ldelim, | ||
| char | rdelim | ||
| ) |
| void lsst::ip::isr::fitOverscanImage | ( | std::shared_ptr< afw::math::Function1< FunctionT > > & | overscanFunction, |
| afw::image::MaskedImage< ImagePixelT > const & | overscan, | ||
| double | ssize, | ||
| int | sigma | ||
| ) |
afw::geom::Box2I bbox = afw::geom::Box2I( afw::geom::Point2I(0, y), afw::geom::Point2I(0, width) ); The above was how this was defined before ticket #1556. As I understand it the following is the new way to do this
Definition at line 52 of file Isr.cc.
| void lsst::ip::isr::fitOverscanImage | ( | std::shared_ptr< lsst::afw::math::Function1< FunctionT > > & | overscanFunction, |
| lsst::afw::image::MaskedImage< ImagePixelT > const & | overscan, | ||
| double | ssize = 1., |
||
| int | sigma = 1 |
||
| ) |
| template void lsst::ip::isr::fitOverscanImage | ( | std::shared_ptr< afw::math::Function1< double > > & | overscanFunction, |
| afw::image::MaskedImage< float > const & | overscan, | ||
| double | ssize, | ||
| int | sigma | ||
| ) |
| template void lsst::ip::isr::fitOverscanImage | ( | std::shared_ptr< afw::math::Function1< double > > & | overscanFunction, |
| afw::image::MaskedImage< double > const & | overscan, | ||
| double | ssize, | ||
| int | sigma | ||
| ) |
| size_t lsst::ip::isr::maskNans | ( | afw::image::MaskedImage< PixelT > const & | mi, |
| afw::image::MaskPixel | maskVal, | ||
| afw::image::MaskPixel | allow = 0 |
||
| ) |
Mask NANs in an image.
NANs in the image or variance that are not already masked by the 'allow' value are masked with the 'maskVal'.
| mi | Input image |
| maskVal | Bit mask value to give a NaN |
| allow | Allow NANs with this bit mask (0 to disallow all NANs) |
Definition at line 34 of file Isr.cc.
| template size_t lsst::ip::isr::maskNans< double > | ( | afw::image::MaskedImage< double > const & | , |
| afw::image::MaskPixel | , | ||
| afw::image::MaskPixel | |||
| ) |
| template size_t lsst::ip::isr::maskNans< float > | ( | afw::image::MaskedImage< float > const & | , |
| afw::image::MaskPixel | , | ||
| afw::image::MaskPixel | |||
| ) |
1.8.5