Template Function lsst::afw::image::for_each_pixel(Image<LhsT>&, pixelOp1XY<LhsT> const&)

Function Documentation

template<typename LhsT>
void lsst::afw::image::for_each_pixel(Image<LhsT> &lhs, pixelOp1XY<LhsT> const &func)

Parameters
  • lhs: Image to set

  • func: functor to call

Set each pixel in an Image<LhsT> to func(x, y, lhs)

(x, y) allow for lhs.getXY0()