Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Is Matlab's 'box' Interpolation Kernel

Does anyone know the equation/algorithm/theorem used by MATLAB's 'box' interpolation kernel in the imresize function? Or (even better) know a numpy equivelant?

like image 363
JDeveloper Avatar asked Oct 28 '25 17:10

JDeveloper


1 Answers

box interpolation is simply averaging pixels within the specified window size.

You may check the matlab function smooth3 etc for detail.

like image 190
Xiangrui Li Avatar answered Oct 31 '25 06:10

Xiangrui Li