|
Hugin trunk 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. | |
| 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 |
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 295 of file Interpolators.h.
| typedef vigra::UInt8 vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::MaskType |
Definition at line 300 of file Interpolators.h.
| typedef SrcAccessor::value_type vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::PixelType |
Definition at line 298 of file Interpolators.h.
|
private |
Definition at line 302 of file Interpolators.h.
|
inline |
Construct interpolator for an given image.
Definition at line 314 of file Interpolators.h.
|
inline |
Construct interpolator for specific image.
Definition at line 329 of file Interpolators.h.
|
inline |
Definition at line 464 of file Interpolators.h.
References vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_inter, and threshold().
|
inline |
Interpolate without boundary check and mask.
Definition at line 428 of file Interpolators.h.
References vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_inter, vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_sAcc, vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_sIter, and threshold().
Referenced by vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().
|
inline |
Interpolate without mask.
Definition at line 352 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, vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::m_warparound, and threshold().
|
inline |
Interpolate without mask, but return dummy alpha value nevertheless.
Definition at line 344 of file Interpolators.h.
References vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().
Referenced by vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().
|
private |
Definition at line 307 of file Interpolators.h.
Referenced by vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().
|
private |
Definition at line 310 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 306 of file Interpolators.h.
Referenced by vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().
|
private |
Definition at line 308 of file Interpolators.h.
Referenced by vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >::operator()().