|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-8843f13794
|
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.
SPDX-FileCopyrightText: 2001-2009,2013 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
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 42 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 154 of file interp.c.
References Rast_interp_cubic_bspline().
Definition at line 24 of file interp.c.
References Rast_interp_linear().
Referenced by Rast_get_sample_bilinear().
Definition at line 33 of file interp.c.
Referenced by Rast_interp_bicubic().
Definition at line 144 of file interp.c.
Referenced by Rast_interp_bicubic_bspline().
Definition at line 19 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 194 of file interp.c.
References _, G_fatal_error(), INTERP_BICUBIC, INTERP_BILINEAR, INTERP_NEAREST, and INTERP_UNKNOWN.