Template Function lsst::afw::math::convolveAtAPoint(typename InImageT::const_xy_locator, std::vector<Kernel::Pixel> const&, std::vector<Kernel::Pixel> const&)

Function Documentation

template<typename OutImageT, typename InImageT>
OutImageT::SinglePixel lsst::afw::math::convolveAtAPoint(typename InImageT::const_xy_locator inImageLocator, std::vector<Kernel::Pixel> const &kernelXList, std::vector<Kernel::Pixel> const &kernelYList)

Apply separable convolution kernel to an image at one point

Note

This subroutine sacrifices convenience for performance. The user is expected to figure out the kernel center and adjust the supplied pixel accessors accordingly. For an example of how to do this see convolve().

Parameters
  • inImageLocator: locator for image pixel that overlaps pixel (0,0) of kernel (the origin of the kernel, not its center)

  • kernelXList: kernel column vector

  • kernelYList: kernel row vector