4 ms·
The claim that the best interpolation kernel for 2d images is just a product of two Lanczos kernels in the X and Y directions seems wrong to me. Rather, there i
by zozbot234 1y ago
The claim that the best interpolation kernel for 2d images is just a product of two Lanczos kernels in the X and Y directions seems wrong to me. Rather, there is a proper 2D analog to the sinc function known as the jinc, or "Sombrero" function https://en.wikipedia.org/wiki/Sombrero_function https://en.wikipedia.org/wiki/Sombrero_function . (This function is mathematically related to the "Airy" ringing patterns found in the optics of lenses.) Resampling with a jinc-based circular-window kernel should show a far lower intensity of ringing artifacts compared to the simple composition of two 1D Lanczos filters.
On a different point, when approximating a "brickwall" frequency spectrum an 'equiripple' pattern is generally considered desirable, and this will lead to a different kernel than the Lanczos approach does.
- rostayob 1y ago(I'm the author) I don't really claim that Lanczos interpolation as presented is the "best" 2D interpolation there is. It is definitely popular though, and I couldn't find a source explaining how it is derived, so I thought it'd be an interesting topic for a blog post.
- petermcneeley 1y agoThank you for this article. Are the graphs images? and how were they generated?