[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR > Class Template Reference

"wrapper" for efficient interpolation access to an image More...

#include <Interpolators.h>

List of all members.

Public Types

typedef SrcAccessor::value_type PixelType
typedef vigra::UInt8 MaskType

Public Member Functions

 ImageInterpolator (vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > const &src, INTERPOLATOR &inter, bool warparound)
 Construct interpolator for an given image.
 ImageInterpolator (SrcImageIterator src_upperleft, SrcImageIterator src_lowerright, SrcAccessor sa, INTERPOLATOR &inter, bool warparound)
 Construct interpolator for specific image.
bool operator() (double x, double y, PixelType &result, MaskType &mask) const
 Interpolate without mask, but return dummy alpha value nevertheless.
bool operator() (double x, double y, PixelType &result) const
 Interpolate without mask.
bool interpolateNoMaskInside (int srcx, int srcy, double dx, double dy, PixelType &result) const
 Interpolate without boundary check and mask.
void emitGLSL (std::ostringstream &oss) const


Detailed Description

template<typename SrcImageIterator, typename SrcAccessor, typename INTERPOLATOR>
class vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >

"wrapper" for efficient interpolation access to an image

Tailored for panorama remapping. Supports warparound boundary condition of left and right


Member Typedef Documentation

template<typename SrcImageIterator, typename SrcAccessor, typename INTERPOLATOR>
typedef vigra::UInt8 vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::MaskType
 

template<typename SrcImageIterator, typename SrcAccessor, typename INTERPOLATOR>
typedef SrcAccessor::value_type vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::PixelType
 


Constructor & Destructor Documentation

template<typename SrcImageIterator, typename SrcAccessor, typename INTERPOLATOR>
vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::ImageInterpolator vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > const &  src,
INTERPOLATOR &  inter,
bool  warparound
[inline]
 

Construct interpolator for an given image.

template<typename SrcImageIterator, typename SrcAccessor, typename INTERPOLATOR>
vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::ImageInterpolator SrcImageIterator  src_upperleft,
SrcImageIterator  src_lowerright,
SrcAccessor  sa,
INTERPOLATOR &  inter,
bool  warparound
[inline]
 

Construct interpolator for specific image.


Member Function Documentation

template<typename SrcImageIterator, typename SrcAccessor, typename INTERPOLATOR>
void vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::emitGLSL std::ostringstream &  oss  )  const [inline]
 

template<typename SrcImageIterator, typename SrcAccessor, typename INTERPOLATOR>
bool vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::interpolateNoMaskInside int  srcx,
int  srcy,
double  dx,
double  dy,
PixelType result
const [inline]
 

Interpolate without boundary check and mask.

template<typename SrcImageIterator, typename SrcAccessor, typename INTERPOLATOR>
bool vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator() double  x,
double  y,
PixelType result
const [inline]
 

Interpolate without mask.

template<typename SrcImageIterator, typename SrcAccessor, typename INTERPOLATOR>
bool vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator() double  x,
double  y,
PixelType result,
MaskType mask
const [inline]
 

Interpolate without mask, but return dummy alpha value nevertheless.


The documentation for this class was generated from the following file:

Generated on Mon Sep 20 01:01:37 2010 for Hugintrunk by doxygen 1.3.9.1