LSST Applications
21.0.0-172-gfb10e10a+18fedfabac,22.0.0+297cba6710,22.0.0+80564b0ff1,22.0.0+8d77f4f51a,22.0.0+a28f4c53b1,22.0.0+dcf3732eb2,22.0.1-1-g7d6de66+2a20fdde0d,22.0.1-1-g8e32f31+297cba6710,22.0.1-1-geca5380+7fa3b7d9b6,22.0.1-12-g44dc1dc+2a20fdde0d,22.0.1-15-g6a90155+515f58c32b,22.0.1-16-g9282f48+790f5f2caa,22.0.1-2-g92698f7+dcf3732eb2,22.0.1-2-ga9b0f51+7fa3b7d9b6,22.0.1-2-gd1925c9+bf4f0e694f,22.0.1-24-g1ad7a390+a9625a72a8,22.0.1-25-g5bf6245+3ad8ecd50b,22.0.1-25-gb120d7b+8b5510f75f,22.0.1-27-g97737f7+2a20fdde0d,22.0.1-32-gf62ce7b1+aa4237961e,22.0.1-4-g0b3f228+2a20fdde0d,22.0.1-4-g243d05b+871c1b8305,22.0.1-4-g3a563be+32dcf1063f,22.0.1-4-g44f2e3d+9e4ab0f4fa,22.0.1-42-gca6935d93+ba5e5ca3eb,22.0.1-5-g15c806e+85460ae5f3,22.0.1-5-g58711c4+611d128589,22.0.1-5-g75bb458+99c117b92f,22.0.1-6-g1c63a23+7fa3b7d9b6,22.0.1-6-g50866e6+84ff5a128b,22.0.1-6-g8d3140d+720564cf76,22.0.1-6-gd805d02+cc5644f571,22.0.1-8-ge5750ce+85460ae5f3,master-g6e05de7fdc+babf819c66,master-g99da0e417a+8d77f4f51a,w.2021.48
LSST Data Management Base Package
|
Classes | |
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... | |
struct | ConvolveWithInterpolationWorkingImages |
kernel images used by convolveRegionWithInterpolation More... | |
class | Spline |
class | TautSpline |
class | SmoothedSpline |
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... | |
void | declareConvolve (lsst::utils::python::WrapperCollection &wrappers) |
void | wrapConvolve (lsst::utils::python::WrapperCollection &wrappers) |
void | wrapSpline (lsst::utils::python::WrapperCollection &) |
PYBIND11_MODULE (_detail, mod) | |
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 181 of file BasicConvolve.cc.
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 141 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 209 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 246 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 88 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 355 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 45 of file ConvolveWithInterpolation.cc.
void lsst::afw::math::detail::declareConvolve | ( | lsst::utils::python::WrapperCollection & | wrappers | ) |
Definition at line 69 of file _convolve.cc.
lsst::afw::math::detail::PYBIND11_MODULE | ( | _detail | , |
mod | |||
) |
Definition at line 11 of file _detail.cc.
void lsst::afw::math::detail::wrapConvolve | ( | lsst::utils::python::WrapperCollection & | wrappers | ) |
Definition at line 118 of file _convolve.cc.
void lsst::afw::math::detail::wrapSpline | ( | lsst::utils::python::WrapperCollection & | wrappers | ) |
Definition at line 38 of file _spline.cc.