23#if !defined(LSST_AFW_MATH_OFFSETIMAGE_H)
24#define LSST_AFW_MATH_OFFSETIMAGE_H 1
51template <
typename ImageT>
53 std::string const& algorithmName =
"lanczos5",
unsigned int buffer = 0);
60template <
typename ImageT>
70template <
typename ImageT>
78template <
typename ImageT>
86template <
typename ImageT>
Property
control what is calculated
@ MEAN
estimate sample mean
std::shared_ptr< ImageT > rotateImageBy90(ImageT const &image, int nQuarter)
Rotate an image by an integral number of quarter turns.
std::shared_ptr< ImageT > offsetImage(ImageT const &image, float dx, float dy, std::string const &algorithmName="lanczos5", unsigned int buffer=0)
Return an image offset by (dx, dy) using the specified algorithm.
std::shared_ptr< ImageT > flipImage(ImageT const &inImage, bool flipLR, bool flipTB)
Flip an image left–right and/or top–bottom.
std::shared_ptr< ImageT > binImage(ImageT const &inImage, int const binX, int const binY, lsst::afw::math::Property const flags=lsst::afw::math::MEAN)