LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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
 < multiple inclusion guard macro
 
 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.