|
lsst.afw
13.0-101-g894215678
|
Base class to transform pixel position for a destination image to its position in the original source image. More...
#include <PositionFunctor.h>
Public Member Functions | |
| PositionFunctor () | |
| virtual | ~PositionFunctor () |
| virtual lsst::afw::geom::Point2D | operator() (int destCol, int destRow) const =0 |
Base class to transform pixel position for a destination image to its position in the original source image.
The different possible transform definitions (from WCS to WCS, or via AffineTransform) are handled through derived classes, and are used in warping. When computing a warped image, one iterates over the pixels in the destination image and must ask 'for the value I wish to put here, where should I go to find it in the source image?'. Instantiating a Functor derived from this base class creates a callable function which accepts (destination) col,row and returns (source image) col,row (in the form of a Point2D).
Definition at line 53 of file PositionFunctor.h.
|
inlineexplicit |
Definition at line 55 of file PositionFunctor.h.
|
inlinevirtual |
Definition at line 56 of file PositionFunctor.h.
|
pure virtual |
Implemented in lsst::afw::math::detail::XYTransformPositionFunctor.
1.8.13