TuttleOFX
1
|
#include <nearestNeighbor.hpp>
Public Member Functions | |
nearest_neighbor_sampler () | |
template<typename Weight > | |
void | operator() (const RESAMPLING_CORE_TYPE &distance, Weight &weight) |
Get weight for a specific distance, for nearest neighbor resampler. | |
Data Fields | |
const size_t | _windowSize |
Definition at line 12 of file nearestNeighbor.hpp.
terry::sampler::nearest_neighbor_sampler::nearest_neighbor_sampler | ( | ) | [inline] |
Definition at line 16 of file nearestNeighbor.hpp.
void terry::sampler::nearest_neighbor_sampler::operator() | ( | const RESAMPLING_CORE_TYPE & | distance, |
Weight & | weight | ||
) | [inline] |
Get weight for a specific distance, for nearest neighbor resampler.
[in] | distance | between the pixels and the current pixel |
[out] | weight | return value to weight the pixel in filtering |
Definition at line 27 of file nearestNeighbor.hpp.
Definition at line 14 of file nearestNeighbor.hpp.