[GRASS-dev] interp_type: cubic | bicubic

Sören Gebbert soerengebbert at googlemail.com
Thu May 16 02:37:25 PDT 2013


Hi,

2013/5/16 Glynn Clements <glynn at gclements.plus.com>:
>
> 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).

I fully agree, otherwise we will end up using bilinear, trilinear,
bicubic and tricubic.

Best regards
Soeren

>
>> It's bicubic interpolation [3] accomplished using cubic convolution,
>> right?
>
> Right.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list