Template Function lsst::afw::image::innerProduct

Function Documentation

template<typename Image1T, typename Image2T>
double lsst::afw::image::innerProduct(Image1T const &lhs, Image2T const &rhs, int const border = 0)

Calculate the inner product of two images

Return

The inner product

Parameters
  • lhs: first image

  • rhs: Other image to dot with first

  • border: number of pixels to ignore around the edge

Exceptions
  • lsst::pex::exceptions::LengthError: if all the images aren’t the same size