MATLAB Answers

Lanczos kernel for image resizing (imresize function)

42 views (last 30 days)
Georgios Batsios
Georgios Batsios on 4 Feb 2021
Answered: Rohit Pappu on 9 Feb 2021
Hi!
I would like to know how the lanczos2 kernel works in imresize function.
Also does anyone know if there is a reference that I can use in a scientific publication?
Thanks!

Answers (1)

Rohit Pappu
Rohit Pappu on 9 Feb 2021
The Lanczos-2 algorithm precalculates the coefficients based on the resize factor. The model calls the lanczos2_coeffi.m script to calculate and store these coefficients. The script calculates the Lanczos-2 coefficients using 6 taps and 32 phases.
Additional documentation and references can be found here

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by