Does anybody know of a way to shift data by a fraction of a sample by using sinc interpolation? For example, shift an image to the right by 0.1 pixels.
I'm struggling to find a formula or reference that explains how to generate such a kernel, and I already know how to do it in the frequency domain....
I'm thinking something like:
function kernel=subpixelshifter(shift) trange=[-1,0,1]-shift; kernel=lanczos3(trange); end function x=lanczos3(x) bad= x>3; x=sinc(x).*sinc(x/3); x(bad)=0; end