Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
vigra_ext::ImageMaskInterpolator< SrcImageIterator, SrcAccessor, MaskIterator, MaskAccessor, INTERPOLATOR > Class Template Reference
"wrapper" for efficient interpolation access to an image More...
#include <Interpolators.h>
Public Types | |
| typedef SrcAccessor::value_type | PixelType |
| typedef MaskAccessor::value_type | MaskType |
Public Member Functions | |
| ImageMaskInterpolator (vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > const &src, std::pair< MaskIterator, MaskAccessor > mask, INTERPOLATOR &inter, bool warparound) | |
| Construct interpolator for an given image. | |
| ImageMaskInterpolator (SrcImageIterator src_upperleft, SrcImageIterator src_lowerright, SrcAccessor sa, MaskIterator mask_upperleft, MaskAccessor ma, INTERPOLATOR &inter, bool warparound) | |
| Construct interpolator for specific image. | |
| bool | operator() (double x, double y, PixelType &result, MaskType &mask) const |
Interpolate the data item at a non-integer position x, y. | |
| bool | interpolateInside (int srcx, int srcy, double dx, double dy, PixelType &result, MaskType &mask) const |
| Interpolate without boundary check. | |
Detailed Description
template<typename SrcImageIterator, typename SrcAccessor, typename MaskIterator, typename MaskAccessor, typename INTERPOLATOR>
class vigra_ext::ImageMaskInterpolator< SrcImageIterator, SrcAccessor, MaskIterator, MaskAccessor, INTERPOLATOR >
"wrapper" for efficient interpolation access to an image
Tailored for panorama remapping. Supports warparound boundary condition of left and right as well as masks
Member Typedef Documentation
|
|||||
|
|
|
|||||
|
|
Constructor & Destructor Documentation
|
||||||||||||||||||||||||
|
Construct interpolator for an given image.
|
|
||||||||||||||||||||||||||||||||||||
|
Construct interpolator for specific image.
|
Member Function Documentation
|
||||||||||||||||||||||||||||||||
|
Interpolate without boundary check.
|
|
||||||||||||||||||||||||
|
Interpolate the data item at a non-integer position It checks if the interpolation would access a pixel with alpha = 0 and returns false in that case. be careful, no bounds checking is done here. take INTERPOLATOR::size into accout before iterating over the picture. the used image pixels are [i-(n/2 -1) .. i+n/2], where n is the size of the interpolator
|
The documentation for this class was generated from the following file:
- hugin_base/vigra_ext/Interpolators.h
1.3.9.1