|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
Raster Library - Interpolation methods. More...
#include <math.h>#include <string.h>#include <grass/gis.h>#include <grass/raster.h>#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
| DCELL | Rast_interp_linear (double u, DCELL c0, DCELL c1) |
| DCELL | Rast_interp_bilinear (double u, double v, DCELL c00, DCELL c01, DCELL c10, DCELL c11) |
| DCELL | Rast_interp_cubic (double u, DCELL c0, DCELL c1, DCELL c2, DCELL c3) |
| DCELL | Rast_interp_bicubic (double u, double v, DCELL c00, DCELL c01, DCELL c02, DCELL c03, DCELL c10, DCELL c11, DCELL c12, DCELL c13, DCELL c20, DCELL c21, DCELL c22, DCELL c23, DCELL c30, DCELL c31, DCELL c32, DCELL c33) |
| DCELL | Rast_interp_lanczos (double u, double v, DCELL *c) |
| DCELL | Rast_interp_cubic_bspline (double u, DCELL c0, DCELL c1, DCELL c2, DCELL c3) |
| DCELL | Rast_interp_bicubic_bspline (double u, double v, DCELL c00, DCELL c01, DCELL c02, DCELL c03, DCELL c10, DCELL c11, DCELL c12, DCELL c13, DCELL c20, DCELL c21, DCELL c22, DCELL c23, DCELL c30, DCELL c31, DCELL c32, DCELL c33) |
| int | Rast_option_to_interp_type (const struct Option *option) |
| Get interpolation method from the option. | |
Raster Library - Interpolation methods.
(C) 2001-2009,2013 GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file interp.c.
| DCELL Rast_interp_bicubic | ( | double | u, |
| double | v, | ||
| DCELL | c00, | ||
| DCELL | c01, | ||
| DCELL | c02, | ||
| DCELL | c03, | ||
| DCELL | c10, | ||
| DCELL | c11, | ||
| DCELL | c12, | ||
| DCELL | c13, | ||
| DCELL | c20, | ||
| DCELL | c21, | ||
| DCELL | c22, | ||
| DCELL | c23, | ||
| DCELL | c30, | ||
| DCELL | c31, | ||
| DCELL | c32, | ||
| DCELL | c33 | ||
| ) |
Definition at line 44 of file interp.c.
References Rast_interp_cubic().
Referenced by Rast_get_sample_cubic().
| DCELL Rast_interp_bicubic_bspline | ( | double | u, |
| double | v, | ||
| DCELL | c00, | ||
| DCELL | c01, | ||
| DCELL | c02, | ||
| DCELL | c03, | ||
| DCELL | c10, | ||
| DCELL | c11, | ||
| DCELL | c12, | ||
| DCELL | c13, | ||
| DCELL | c20, | ||
| DCELL | c21, | ||
| DCELL | c22, | ||
| DCELL | c23, | ||
| DCELL | c30, | ||
| DCELL | c31, | ||
| DCELL | c32, | ||
| DCELL | c33 | ||
| ) |
Definition at line 156 of file interp.c.
References Rast_interp_cubic_bspline().
Definition at line 26 of file interp.c.
References Rast_interp_linear().
Referenced by Rast_get_sample_bilinear().
Definition at line 35 of file interp.c.
Referenced by Rast_interp_bicubic().
Definition at line 146 of file interp.c.
Referenced by Rast_interp_bicubic_bspline().
Definition at line 21 of file interp.c.
Referenced by Rast_interp_bilinear().
Get interpolation method from the option.
Calls G_fatal_error() on unknown interpolation method.
Supported methods:
| option | pointer to interpolation option |
Definition at line 196 of file interp.c.
References _, G_fatal_error(), INTERP_BICUBIC, INTERP_BILINEAR, INTERP_NEAREST, and INTERP_UNKNOWN.