LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Classes | Namespaces | Functions
warpExposure.h File Reference

Support for warping an image to a new WCS. More...

#include <string>
#include "boost/shared_ptr.hpp"
#include "lsst/base.h"
#include "lsst/pex/exceptions.h"
#include "lsst/afw/geom.h"
#include "lsst/afw/gpu/DevicePreference.h"
#include "lsst/afw/image/LsstImageTypes.h"
#include "lsst/afw/image/Exposure.h"
#include "lsst/afw/math/ConvolveImage.h"
#include "lsst/afw/math/Function.h"
#include "lsst/afw/math/FunctionLibrary.h"
#include "lsst/afw/math/Kernel.h"

Go to the source code of this file.

Classes

class  lsst::afw::math::LanczosWarpingKernel
 Lanczos warping: accurate but slow and can introduce ringing artifacts. More...
 
class  lsst::afw::math::BilinearWarpingKernel
 Bilinear warping: fast; good for undersampled data. More...
 
class  lsst::afw::math::BilinearWarpingKernel::BilinearFunction1
 1-dimensional bilinear interpolation function. More...
 
class  lsst::afw::math::NearestWarpingKernel
 Nearest neighbor warping: fast; good for undersampled data. More...
 
class  lsst::afw::math::NearestWarpingKernel::NearestFunction1
 1-dimensional nearest neighbor interpolation function. More...
 
class  lsst::afw::math::WarpingControl
 Parameters to control convolution. More...
 

Namespaces

 lsst
 Estimate image backgrounds.
 
 lsst::afw
 
 lsst::afw::image
 
 lsst::afw::math
 
 lsst::afw::math::details
 

Functions

boost::shared_ptr
< SeparableKernel > 
lsst::afw::math::makeWarpingKernel (std::string name)
 Return a warping kernel given its name. More...
 
template<typename DestExposureT , typename SrcExposureT >
int lsst::afw::math::warpExposure (DestExposureT &destExposure, SrcExposureT const &srcExposure, WarpingControl const &control, typename DestExposureT::MaskedImageT::SinglePixel padValue=lsst::afw::math::edgePixel< typename DestExposureT::MaskedImageT >(typename lsst::afw::image::detail::image_traits< typename DestExposureT::MaskedImageT >::image_category()))
 Warp (remap) one exposure to another. More...
 
template<typename DestExposureT , typename SrcExposureT >
int lsst::afw::math::warpExposure (DestExposureT &destExposure, SrcExposureT const &srcExposure, SeparableKernel &warpingKernel, int const interpLength=0, typename DestExposureT::MaskedImageT::SinglePixel padValue=lsst::afw::math::edgePixel< typename DestExposureT::MaskedImageT >(typename lsst::afw::image::detail::image_traits< typename DestExposureT::MaskedImageT >::image_category()), lsst::afw::gpu::DevicePreference devPref=lsst::afw::gpu::DEFAULT_DEVICE_PREFERENCE)
 Warp (remap) one exposure to another. More...
 
template<typename DestImageT , typename SrcImageT >
int lsst::afw::math::warpImage (DestImageT &destImage, lsst::afw::image::Wcs const &destWcs, SrcImageT const &srcImage, lsst::afw::image::Wcs const &srcWcs, WarpingControl const &control, typename DestImageT::SinglePixel padValue=lsst::afw::math::edgePixel< DestImageT >(typename lsst::afw::image::detail::image_traits< DestImageT >::image_category()))
 Warp an Image or MaskedImage to a new Wcs. See also convenience function warpExposure() to warp an Exposure. More...
 
template<typename DestImageT , typename SrcImageT >
int lsst::afw::math::warpImage (DestImageT &destImage, lsst::afw::image::Wcs const &destWcs, SrcImageT const &srcImage, lsst::afw::image::Wcs const &srcWcs, SeparableKernel &warpingKernel, int const interpLength=0, typename DestImageT::SinglePixel padValue=lsst::afw::math::edgePixel< DestImageT >(typename lsst::afw::image::detail::image_traits< DestImageT >::image_category()), lsst::afw::gpu::DevicePreference devPref=lsst::afw::gpu::DEFAULT_DEVICE_PREFERENCE)
 A variant of warpImage that uses an older, deprecated interface. More...
 
template<typename DestImageT , typename SrcImageT >
int lsst::afw::math::warpImage (DestImageT &destImage, SrcImageT const &srcImage, lsst::afw::geom::AffineTransform const &affineTransform, WarpingControl const &control, typename DestImageT::SinglePixel padValue=lsst::afw::math::edgePixel< DestImageT >(typename lsst::afw::image::detail::image_traits< DestImageT >::image_category()))
 A variant of warpImage that uses an affine transformation instead of a WCS to describe the transformation. More...
 
template<typename DestImageT , typename SrcImageT >
int lsst::afw::math::warpImage (DestImageT &destImage, SrcImageT const &srcImage, SeparableKernel &warpingKernel, lsst::afw::geom::AffineTransform const &affineTransform, int const interpLength=0, typename DestImageT::SinglePixel padValue=lsst::afw::math::edgePixel< DestImageT >(typename lsst::afw::image::detail::image_traits< DestImageT >::image_category()), lsst::afw::gpu::DevicePreference devPref=lsst::afw::gpu::DEFAULT_DEVICE_PREFERENCE)
 A variant of the affine transformation warpImage that uses an older, deprecated interface. More...
 
template<typename DestImageT , typename SrcImageT >
int lsst::afw::math::warpCenteredImage (DestImageT &destImage, SrcImageT const &srcImage, lsst::afw::geom::LinearTransform const &linearTransform, lsst::afw::geom::Point2D const &centerPosition, WarpingControl const &control, typename DestImageT::SinglePixel padValue=lsst::afw::math::edgePixel< DestImageT >(typename lsst::afw::image::detail::image_traits< DestImageT >::image_category()))
 Warp an image with a LinearTranform about a specified point. This enables warping an image of e.g. a PSF without translating the centroid. More...
 
template<typename DestImageT , typename SrcImageT >
int lsst::afw::math::warpCenteredImage (DestImageT &destImage, SrcImageT const &srcImage, SeparableKernel &warpingKernel, lsst::afw::geom::LinearTransform const &linearTransform, lsst::afw::geom::Point2D const &centerPosition, int const interpLength=0, typename DestImageT::SinglePixel padValue=lsst::afw::math::edgePixel< DestImageT >(typename lsst::afw::image::detail::image_traits< DestImageT >::image_category()), lsst::afw::gpu::DevicePreference devPref=lsst::afw::gpu::DEFAULT_DEVICE_PREFERENCE)
 A variant of warpCenteredImage that supports the old, deprecated interface. More...
 
template<typename A , typename B >
bool lsst::afw::math::details::isSameObject (A const &, B const &)
 
template<typename A >
bool lsst::afw::math::details::isSameObject (A const &a, A const &b)
 

Detailed Description

Support for warping an image to a new WCS.

Author
Nicole M. Silvestri and Russell Owen, University of Washington

Definition in file warpExposure.h.