"Edouard" <pov### [at] edouardinfo> wrote:
> > 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.
>
> Yeah - it's to do with where you consider the authoritative pixel value to be -
> in the center of the voxel, or in the lower corner.
>
> I remember writing code to correct for exactly that in my DF3 proximity code. I
> need to look at it again, as it might have changed during the 3.7 beta cycle
> (there was a post about interpolation a few months back I recall).
>
> Cheers,
> Edouard.
I added a half pixel shift to the interpolated version and it seems correct that
way. Looks like it may need updating in 3.7 to correct this.
-tgq
Post a reply to this message
|