Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
vigra_ext::interp_sinc< size_ > Struct Template Reference

sinc interpolation, with variable width More...

#include <Interpolators.h>

Public Member Functions

void calc_coeff (double x, double *w) const
 initialize weights for given offset x
 
void emitGLSL (std::ostringstream &oss) const
 

Static Public Attributes

static const int size = size_
 

Detailed Description

template<int size_>
struct vigra_ext::interp_sinc< size_ >

sinc interpolation, with variable width

Definition at line 247 of file Interpolators.h.

Member Function Documentation

◆ calc_coeff()

template<int size_>
void vigra_ext::interp_sinc< size_ >::calc_coeff ( double  x,
double w 
) const
inline

initialize weights for given offset x

Definition at line 253 of file Interpolators.h.

References vigra_ext::sinc(), vigra_ext::interp_sinc< size_ >::size, and threshold().

◆ emitGLSL()

template<int size_>
void vigra_ext::interp_sinc< size_ >::emitGLSL ( std::ostringstream &  oss) const
inline

Definition at line 271 of file Interpolators.h.

References M_PI, vigra_ext::interp_sinc< size_ >::size, and threshold().

Member Data Documentation

◆ size

template<int size_>
const int vigra_ext::interp_sinc< size_ >::size = size_
static

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