Template Function lsst::afw::math::warpCenteredImage¶
Function Documentation¶
-
template<typename
DestImageT
, typenameSrcImageT
>
intlsst::afw::math
::
warpCenteredImage
(DestImageT &destImage, SrcImageT const &srcImage, lsst::geom::LinearTransform const &linearTransform, lsst::geom::Point2D const ¢erPosition, WarpingControl const &control, typename DestImageT::SinglePixel padValue = lsst::afw::math::edgePixel<DestImageT>(typename lsst::afw::image::detail::image_traits<DestImageT>::image_category()))¶ - Parameters
destImage
: remapped imagesrcImage
: source imagelinearTransform
: linear transformation to applycenterPosition
: pixel position for location of linearTransformcontrol
: control parameterspadValue
: use this value for undefined (edge) pixels
Warp an image with a LinearTranform about a specified point.
This enables warping an image of e.g. a PSF without translating the centroid.