Interpolators.h File Reference

The pano tools interpolators ported to vigra. More...

#include <iostream>
#include <iomanip>
#include <math.h>
#include <hugin_math/hugin_math.h>
#include <algorithm>
#include <vigra/accessor.hxx>
#include <vigra/diff2d.hxx>

Include dependency graph for Interpolators.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  vigra_ext

Classes

struct  vigra_ext::interp_nearest
 nearest neighbour, stupid, but might be useful somewhere More...
struct  vigra_ext::interp_bilin
 simple bilinear interpolation More...
struct  vigra_ext::interp_cubic
 cubic interpolation More...
struct  vigra_ext::interp_spline16
 spline16 interpolation More...
struct  vigra_ext::interp_spline36
 spline36 interpolation More...
struct  vigra_ext::interp_spline64
 spline64 interpolation More...
struct  vigra_ext::interp_sinc< size_ >
 sinc interpolation, with variable width More...
class  vigra_ext::ImageInterpolator< SrcImageIterator, SrcAccessor, INTERPOLATOR >
 "wrapper" for efficient interpolation access to an image More...
class  vigra_ext::ImageMaskInterpolator< SrcImageIterator, SrcAccessor, MaskIterator, MaskAccessor, INTERPOLATOR >
 "wrapper" for efficient interpolation access to an image More...
class  vigra_ext::InterpolatingAccessor< ACCESSOR, VALUETYPE, INTERPOLATOR >
 interpolation at non-integer positions. More...

Enumerations

enum  Interpolator {
  INTERP_CUBIC = 0, INTERP_SPLINE_16, INTERP_SPLINE_36, INTERP_SINC_256,
  INTERP_SPLINE_64, INTERP_BILINEAR, INTERP_NEAREST_NEIGHBOUR, INTERP_SINC_1024
}
 enum with all interpolation methods More...

Functions

double sinc (double x)
double cubic01 (double x)
double cubic12 (double x)
const double A (-0.75)


Detailed Description

The pano tools interpolators ported to vigra.

Author:
Helmut Dersch <der@fh-furtwangen.de> and Pablo d'Angelo <pablo.dangelo@web.de> (port to vigra)
$Id$

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file Interpolators.h.


Enumeration Type Documentation

enum Interpolator
 

enum with all interpolation methods

Enumeration values:
INTERP_CUBIC 
INTERP_SPLINE_16 
INTERP_SPLINE_36 
INTERP_SINC_256 
INTERP_SPLINE_64 
INTERP_BILINEAR 
INTERP_NEAREST_NEIGHBOUR 
INTERP_SINC_1024 

Definition at line 78 of file Interpolators.h.

Referenced by vigra_ext::transformImageAlphaIntern(), vigra_ext::transformImageAlphaInternMT(), vigra_ext::transformImageDist(), and vigra_ext::transformImageInternMT().


Function Documentation

const double A -0.  75  )  [static]
 

Referenced by vigra_ext::cubic01(), vigra_ext::cubic12(), vigra_ext::interp_cubic::emitGLSL(), and vigra_ext::VigQuotientEstimator::estimate().

double vigra_ext::cubic01 double  x  )  [static]
 

Definition at line 65 of file Interpolators.h.

References vigra_ext::A().

Referenced by vigra_ext::interp_cubic::calc_coeff().

double vigra_ext::cubic12 double  x  )  [static]
 

Definition at line 71 of file Interpolators.h.

References vigra_ext::A().

Referenced by vigra_ext::interp_cubic::calc_coeff().

double vigra_ext::sinc double  x  )  [static]
 

Definition at line 50 of file Interpolators.h.

Referenced by vigra_ext::interp_sinc< size_ >::calc_coeff().


Generated on Fri Apr 25 01:25:47 2014 for Hugintrunk by  doxygen 1.3.9.1