[GRASS-dev] interp_type: cubic | bicubic

Glynn Clements glynn at gclements.plus.com
Thu May 16 02:34:04 PDT 2013

Martin Landa wrote:

> recently I have added a standardized option for sampling interpolation
> methods [1], based on lib/raster/sample.c and codes defined in
> raster.h [2].
> Some modules use 'bicubic' other 'cubic' value. What do you think that
> is more preferable?

Whichever is used, it should be consistent. I.e. either
nearest/linear/cubic or nearest/bilinear/bicubic.

The former might be preferable if we want to extend it to 3D
interpolation (i.e. use nearest/linear/cubic regardless of the
dimensionality, rather than using separate 2D/3D terminology).

> It's bicubic interpolation [3] accomplished using cubic convolution,
> right?


Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list