19#ifndef LIBRESAMPLING2D_H
20#define LIBRESAMPLING2D_H
53 static double bilinear_pixel(
const Array2D<double> &i_grid,
const size_t &org_ii,
const size_t &org_jj,
const size_t &org_ncols,
const size_t &org_nrows,
const double &x,
const double &y);
54 static double BSpline_weight(
const double &x);
A class to represent 2D Grids. Typical application as DEM or Landuse Model.
Definition: Grid2DObject.h:42
Spatial resampling algorithms.
Definition: libresampling2D.h:37
static const Grid2DObject Bilinear(const Grid2DObject &i_grid, const double &factor)
Bilinear spatial data resampling.
Definition: libresampling2D.cc:49
static const Grid2DObject Nearest(const Grid2DObject &i_grid, const double &factor)
Definition: libresampling2D.cc:30
static const Grid2DObject cubicBSpline(const Grid2DObject &i_grid, const double &factor)
Definition: libresampling2D.cc:65