TuttleOFX  1
terry::sampler::bilinear_sampler Struct Reference

#include <bilinear.hpp>

Public Member Functions

 bilinear_sampler ()
template<typename Weight >
void operator() (const RESAMPLING_CORE_TYPE &distance, Weight &weight)
 Get weight for a specific distance, for all bilinear resampler.

Data Fields

const size_t _windowSize

Detailed Description

Definition at line 10 of file bilinear.hpp.


Constructor & Destructor Documentation

terry::sampler::bilinear_sampler::bilinear_sampler ( ) [inline]

Definition at line 14 of file bilinear.hpp.


Member Function Documentation

template<typename Weight >
void terry::sampler::bilinear_sampler::operator() ( const RESAMPLING_CORE_TYPE &  distance,
Weight &  weight 
) [inline]

Get weight for a specific distance, for all bilinear resampler.

Parameters:
[in]distancebetween the pixels and the current pixel
[out]weightreturn value to weight the pixel in filtering

Definition at line 25 of file bilinear.hpp.

References RESAMPLING_CORE_TYPE.


Field Documentation

Definition at line 12 of file bilinear.hpp.


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