25 #ifndef LSST_AFW_MATH_DETAIL_GPU_CONVOLVE_H
26 #define LSST_AFW_MATH_DETAIL_GPU_CONVOLVE_H
39 #include "boost/shared_ptr.hpp"
48 #define IS_INSTANCE(A, B) (dynamic_cast<B const*>(&(A)) != NULL)
56 namespace ConvolveGpuStatus {
63 template <
typename OutImageT,
typename InImageT>
65 OutImageT& convolvedImage,
66 InImageT
const& inImage,
71 template <
typename OutPixelT,
typename InPixelT>
79 template <
typename OutPixelT,
typename InPixelT>
87 template <
typename OutPixelT,
typename InPixelT>
95 template <
typename OutPixelT,
typename InPixelT>
110 #endif // !defined(LSST_AFW_MATH_DETAIL_GPU_CONVOLVE_H)
An include file to include the header files for lsst::afw::geom.
Declare the Kernel class and subclasses.
ConvolveGpuStatus::ReturnCode convolveLinearCombinationGPU(lsst::afw::image::MaskedImage< OutPixelT, lsst::afw::image::MaskPixel, lsst::afw::image::VariancePixel > &convolvedImage, lsst::afw::image::MaskedImage< InPixelT, lsst::afw::image::MaskPixel, lsst::afw::image::VariancePixel > const &inImage, lsst::afw::math::LinearCombinationKernel const &kernel, lsst::afw::math::ConvolutionControl const &convolutionControl)
Parameters to control convolution.
ConvolveGpuStatus::ReturnCode convolveSpatiallyInvariantGPU(lsst::afw::image::MaskedImage< OutPixelT, lsst::afw::image::MaskPixel, lsst::afw::image::VariancePixel > &convolvedImage, lsst::afw::image::MaskedImage< InPixelT, lsst::afw::image::MaskPixel, lsst::afw::image::VariancePixel > const &inImage, lsst::afw::math::Kernel const &kernel, lsst::afw::math::ConvolutionControl const &convolutionControl)
A kernel that is a linear combination of fixed basis kernels.
A class to manipulate images, masks, and variance as a single object.
Convolve and convolveAtAPoint functions for Image and Kernel.
Implementation of the Class MaskedImage.
Kernels are used for convolution with MaskedImages and (eventually) Images.
A class to represent a 2-dimensional array of pixels.
Include files required for standard LSST Exception handling.
ConvolveGpuStatus::ReturnCode basicConvolveGPU(OutImageT &convolvedImage, InImageT const &inImage, lsst::afw::math::Kernel const &kernel, lsst::afw::math::ConvolutionControl const &convolutionControl)