TuttleOFX  1
interpolation.hpp File Reference
#include <boost/gil/gil_all.hpp>
#include <cmath>
Include dependency graph for interpolation.hpp:

Go to the source code of this file.

Namespaces

namespace  tuttle
 

This file provides a set of reimplementations of CImg functions by means of the generic image library (gil). Functions for image blurring.


namespace  tuttle::imageUtils

Functions

const float & tuttle::imageUtils::pix2d (const float *W, const int x, const int y, const int c, const int w, const int h, const int nc)
 Return right pixel from unsafe coordinates.
template<typename DstView >
const float tuttle::imageUtils::pix2d (DstView &myView, const int x, const int y, const int c, const int w, const int h)
 Return right pixel from unsafe coordinates.
float tuttle::imageUtils::linear_pix2d (const float *W, const float fx, const float fy, const int c, const int w, const int h, const int nc)
 Return interpolated pixel.
template<typename DstView >
float tuttle::imageUtils::linear_pix2d (DstView &myView, const float fx, const float fy, const int c, const int w, const int h)
 Return interpolated pixel.