LSSTApplications
18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
LSSTDataManagementBasePackage
|
Classes | |
struct | ConvolveWithInterpolationWorkingImages |
kernel images used by convolveRegionWithInterpolation More... | |
class | KernelImagesForRegion |
A collection of Kernel images for special locations on a rectangular region of an image. More... | |
class | RowOfKernelImagesForRegion |
A row of KernelImagesForRegion. More... | |
class | SmoothedSpline |
class | Spline |
class | TautSpline |
struct | TrapezoidalPacker |
A helper class ChebyshevBoundedField, for mapping trapezoidal matrices to 1-d arrays. More... | |
class | WarpAtOnePoint |
A functor that computes one warped pixel. More... | |
Functions | |
template<typename OutImageT , typename InImageT > | |
void | basicConvolve (OutImageT &convolvedImage, InImageT const &inImage, lsst::afw::math::Kernel const &kernel, lsst::afw::math::ConvolutionControl const &convolutionControl) |
Low-level convolution function that does not set edge pixels. More... | |
template<typename OutImageT , typename InImageT > | |
void | basicConvolve (OutImageT &convolvedImage, InImageT const &inImage, lsst::afw::math::DeltaFunctionKernel const &kernel, lsst::afw::math::ConvolutionControl const &convolutionControl) |
A version of basicConvolve that should be used when convolving delta function kernels. More... | |
template<typename OutImageT , typename InImageT > | |
void | basicConvolve (OutImageT &convolvedImage, InImageT const &inImage, lsst::afw::math::LinearCombinationKernel const &kernel, lsst::afw::math::ConvolutionControl const &convolutionControl) |
A version of basicConvolve that should be used when convolving a LinearCombinationKernel. More... | |
template<typename OutImageT , typename InImageT > | |
void | basicConvolve (OutImageT &convolvedImage, InImageT const &inImage, lsst::afw::math::SeparableKernel const &kernel, lsst::afw::math::ConvolutionControl const &convolutionControl) |
A version of basicConvolve that should be used when convolving separable kernels. More... | |
template<typename OutImageT , typename InImageT > | |
void | convolveWithBruteForce (OutImageT &convolvedImage, InImageT const &inImage, lsst::afw::math::Kernel const &kernel, lsst::afw::math::ConvolutionControl const &convolutionControl) |
Convolve an Image or MaskedImage with a Kernel by computing the kernel image at every point. More... | |
template<typename OutImageT , typename InImageT > | |
void | convolveWithInterpolation (OutImageT &outImage, InImageT const &inImage, lsst::afw::math::Kernel const &kernel, ConvolutionControl const &convolutionControl) |
Convolve an Image or MaskedImage with a spatially varying Kernel using linear interpolation. More... | |
template<typename OutImageT , typename InImageT > | |
void | convolveRegionWithInterpolation (OutImageT &outImage, InImageT const &inImage, KernelImagesForRegion const ®ion, ConvolveWithInterpolationWorkingImages &workingImages) |
Convolve a region of an Image or MaskedImage with a spatially varying Kernel using interpolation. More... | |
PYBIND11_MODULE (convolve, mod) | |
void lsst::afw::math::detail::basicConvolve | ( | OutImageT & | convolvedImage, |
InImageT const & | inImage, | ||
lsst::afw::math::Kernel const & | kernel, | ||
lsst::afw::math::ConvolutionControl const & | convolutionControl | ||
) |
Low-level convolution function that does not set edge pixels.
convolvedImage must be the same size as inImage. convolvedImage has a border in which the output pixels are not set. This border has size:
[out] | convolvedImage | convolved image |
[in] | inImage | image to convolve |
[in] | kernel | convolution kernel |
[in] | convolutionControl | convolution control parameters |
lsst::pex::exceptions::InvalidParameterError | if convolvedImage dimensions != inImage dimensions |
lsst::pex::exceptions::InvalidParameterError | if inImage smaller than kernel in width or height |
lsst::pex::exceptions::InvalidParameterError | if kernel width or height < 1 |
std::bad_alloc | when allocation of CPU memory fails |
Definition at line 142 of file BasicConvolve.cc.
void lsst::afw::math::detail::basicConvolve | ( | OutImageT & | convolvedImage, |
InImageT const & | inImage, | ||
lsst::afw::math::DeltaFunctionKernel const & | kernel, | ||
lsst::afw::math::ConvolutionControl const & | convolutionControl | ||
) |
A version of basicConvolve that should be used when convolving delta function kernels.
[out] | convolvedImage | convolved image |
[in] | inImage | image to convolve |
[in] | kernel | convolution kernel |
[in] | convolutionControl | convolution control parameters |
Definition at line 182 of file BasicConvolve.cc.
void lsst::afw::math::detail::basicConvolve | ( | OutImageT & | convolvedImage, |
InImageT const & | inImage, | ||
lsst::afw::math::LinearCombinationKernel const & | kernel, | ||
lsst::afw::math::ConvolutionControl const & | convolutionControl | ||
) |
A version of basicConvolve that should be used when convolving a LinearCombinationKernel.
The Algorithm:
[out] | convolvedImage | convolved image |
[in] | inImage | image to convolve |
[in] | kernel | convolution kernel |
[in] | convolutionControl | convolution control parameters |
lsst::pex::exceptions::InvalidParameterError | if convolvedImage dimensions != inImage dimensions |
lsst::pex::exceptions::InvalidParameterError | if inImage smaller than kernel in width or height |
lsst::pex::exceptions::InvalidParameterError | if kernel width or height < 1 |
std::bad_alloc | when allocation of CPU memory fails |
Definition at line 210 of file BasicConvolve.cc.
void lsst::afw::math::detail::basicConvolve | ( | OutImageT & | convolvedImage, |
InImageT const & | inImage, | ||
lsst::afw::math::SeparableKernel const & | kernel, | ||
lsst::afw::math::ConvolutionControl const & | convolutionControl | ||
) |
A version of basicConvolve that should be used when convolving separable kernels.
[out] | convolvedImage | convolved image |
[in] | inImage | image to convolve |
[in] | kernel | convolution kernel |
[in] | convolutionControl | convolution control parameters |
Definition at line 247 of file BasicConvolve.cc.
void lsst::afw::math::detail::convolveRegionWithInterpolation | ( | OutImageT & | outImage, |
InImageT const & | inImage, | ||
KernelImagesForRegion const & | region, | ||
ConvolveWithInterpolationWorkingImages & | workingImages | ||
) |
Convolve a region of an Image or MaskedImage with a spatially varying Kernel using interpolation.
This is a low-level convolution function that does not set edge pixels.
[out] | outImage | convolved image = inImage convolved with kernel |
[in] | inImage | input image |
[in] | region | kernel image region over which to convolve |
[in] | workingImages | working kernel images |
Definition at line 94 of file ConvolveWithInterpolation.cc.
void lsst::afw::math::detail::convolveWithBruteForce | ( | OutImageT & | convolvedImage, |
InImageT const & | inImage, | ||
lsst::afw::math::Kernel const & | kernel, | ||
lsst::afw::math::ConvolutionControl const & | convolutionControl | ||
) |
Convolve an Image or MaskedImage with a Kernel by computing the kernel image at every point.
(If the kernel is not spatially varying then only compute it once).
convolvedImage must be the same size as inImage. convolvedImage has a border in which the output pixels are not set. This border has size:
[out] | convolvedImage | convolved image |
[in] | inImage | image to convolve |
[in] | kernel | convolution kernel |
[in] | convolutionControl | convolution control parameters |
lsst::pex::exceptions::InvalidParameterError | if convolvedImage dimensions != inImage dimensions |
lsst::pex::exceptions::InvalidParameterError | if inImage smaller than kernel in width or height |
lsst::pex::exceptions::InvalidParameterError | if kernel width or height < 1 |
std::bad_alloc | when allocation of CPU memory fails |
Definition at line 356 of file BasicConvolve.cc.
void lsst::afw::math::detail::convolveWithInterpolation | ( | OutImageT & | outImage, |
InImageT const & | inImage, | ||
lsst::afw::math::Kernel const & | kernel, | ||
math::ConvolutionControl const & | convolutionControl | ||
) |
Convolve an Image or MaskedImage with a spatially varying Kernel using linear interpolation.
This is a low-level convolution function that does not set edge pixels.
The algorithm is as follows:
Note that this routine will also work with spatially invariant kernels, but not efficiently.
[out] | outImage | convolved image = inImage convolved with kernel |
[in] | inImage | input image |
[in] | kernel | convolution kernel |
[in] | convolutionControl | convolution control parameters |
lsst::pex::exceptions::InvalidParameterError | if outImage is not the same size as inImage |
Definition at line 50 of file ConvolveWithInterpolation.cc.
lsst::afw::math::detail::PYBIND11_MODULE | ( | convolve | , |
mod | |||
) |
Definition at line 68 of file convolve.cc.