Hugintrunk
0.1
|
"wrapper" for efficient interpolation access to an image More...
#include <Interpolators.h>
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. More... | |
ImageInterpolator (SrcImageIterator src_upperleft, SrcImageIterator src_lowerright, SrcAccessor sa, INTERPOLATOR &inter, bool warparound) | |
Construct interpolator for specific image. More... | |
bool | operator() (double x, double y, PixelType &result, MaskType &mask) const |
Interpolate without mask, but return dummy alpha value nevertheless. More... | |
bool | operator() (double x, double y, PixelType &result) const |
Interpolate without mask. More... | |
bool | interpolateNoMaskInside (int srcx, int srcy, double dx, double dy, PixelType &result) const |
Interpolate without boundary check and mask. More... | |
void | emitGLSL (std::ostringstream &oss) const |
Private Types | |
typedef vigra::NumericTraits < PixelType >::RealPromote | RealPixelType |
Private Attributes | |
SrcImageIterator | m_sIter |
SrcAccessor | m_sAcc |
int | m_w |
int | m_h |
bool | m_warparound |
INTERPOLATOR | m_inter |
"wrapper" for efficient interpolation access to an image
Tailored for panorama remapping. Supports warparound boundary condition of left and right
Definition at line 290 of file Interpolators.h.
typedef vigra::UInt8 vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::MaskType |
Definition at line 295 of file Interpolators.h.
typedef SrcAccessor::value_type vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::PixelType |
Definition at line 293 of file Interpolators.h.
|
private |
Definition at line 297 of file Interpolators.h.
|
inline |
Construct interpolator for an given image.
Definition at line 309 of file Interpolators.h.
|
inline |
Construct interpolator for specific image.
Definition at line 324 of file Interpolators.h.
|
inline |
Definition at line 459 of file Interpolators.h.
References vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_inter.
Referenced by vigra_ext::transformImageAlphaGPUIntern(), and vigra_ext::transformImageGPUIntern().
|
inline |
Interpolate without boundary check and mask.
Definition at line 423 of file Interpolators.h.
References vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_inter, vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_sAcc, and vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_sIter.
Referenced by vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().
|
inline |
Interpolate without mask, but return dummy alpha value nevertheless.
Definition at line 339 of file Interpolators.h.
|
inline |
Interpolate without mask.
Definition at line 347 of file Interpolators.h.
References vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::interpolateNoMaskInside(), vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_h, vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_inter, vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_sAcc, vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_sIter, vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_w, and vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_warparound.
|
private |
Definition at line 302 of file Interpolators.h.
Referenced by vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().
|
private |
Definition at line 305 of file Interpolators.h.
Referenced by vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::emitGLSL(), vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::interpolateNoMaskInside(), and vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().
|
private |
|
private |
|
private |
Definition at line 301 of file Interpolators.h.
Referenced by vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().
|
private |
Definition at line 303 of file Interpolators.h.
Referenced by vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().