[GRASS-dev] interp_type: cubic | bicubic

Markus Metz markus.metz.giswork at gmail.com
Fri May 17 14:03:09 PDT 2013


On Thu, May 16, 2013 at 11:37 AM, Sören Gebbert
<soerengebbert at googlemail.com> wrote:
> 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.

+1

Markus M


More information about the grass-dev mailing list