lsst.meas.algorithms gab1f63e0c6+3ef4526a60
|
This class contains static utility methods that are used by the CloughTocher2DInterpolatorTask and exists solely to provide a namespace. More...
#include <CloughTocher2DInterpolatorUtils.h>
Static Public Member Functions | |
static std::pair< ndarray::Array< float, 2, 2 >, ndarray::Array< float, 2, 2 > > | findGoodPixelsAroundBadPixels (afw::image::MaskedImage< PixelT, afw::image::MaskPixel, afw::image::VariancePixel > const &mimage, std::vector< std::string > const &maskPlanes, int const buffer) |
Find the positions of bad pixels as defined by the masks, and also find the location and pixel value of good pixels around the bad pixels. | |
static void | updateArrayFromImage (ndarray::Array< float, 2, 2 > const &pixelArray, afw::image::Image< PixelT > const &image) |
Update the values (third column) of the pixelArray from the image. | |
static void | updateImageFromArray (afw::image::Image< PixelT > &image, ndarray::Array< float const, 2, 2 > const &pixelArray) |
Update the pixel values of the image from the pixelArray. | |
This class contains static utility methods that are used by the CloughTocher2DInterpolatorTask and exists solely to provide a namespace.
Definition at line 44 of file CloughTocher2DInterpolatorUtils.h.
|
static |
Find the positions of bad pixels as defined by the masks, and also find the location and pixel value of good pixels around the bad pixels.
[in] | mimage | MaskedImage to find the pixels from. |
[in] | maskPlanes | List of mask planes to consider as bad pixels. |
[in] | buffer | Number of pixels to dilate the bad pixels by. |
Definition at line 43 of file CloughTocher2DInterpolatorUtils.cc.
|
static |
Update the values (third column) of the pixelArray from the image.
[out] | pixelArray | The three-column array to update. |
[in] | image | The image to update the pixel values from. |
Definition at line 86 of file CloughTocher2DInterpolatorUtils.cc.
|
static |
Update the pixel values of the image from the pixelArray.
[out] | image | The image to update. |
[in] | pixelArray | The three-column array to update the pixel values from. |
Definition at line 98 of file CloughTocher2DInterpolatorUtils.cc.