|
|
Am 17.03.2011 14:52, schrieb Trevor G Quayle:
>>> One thing I noticed is that with interpolate 1 there is a distinct shift down
>>> and to the left. Is there a bias in the internal interpolate function? This is
>>> something that I have noticed before with interpolate.
>>
>> It was known (and fixed) for interpolation of input images, but has
>> never been examined for df3 files yet.
>
>
> I ran a test with a 1/2 pixel shift which corrected it, so it does look like
> this just needs to be corrected for df3 files in the code.
I had a closer look by now; according to the code, there is indeed a
half-voxel shift towards negative coordinate values, for both trilinear
and tricubic interpolation.
Post a reply to this message
|
|