interpolation done without imresize
显示 更早的评论
How to do nearest neighbor interpolation and bilinear interpolation on a gray scale image without using imresize? The code is supposed to mimic the operation of imresize but should not use any functions available on matlab.
采纳的回答
更多回答(1 个)
Sean de Wolski
2013-1-24
I would use interp2 or griddedInterpolant.
doc interp2
doc griddedInterpolant
2 个评论
Image Analyst
2013-1-24
"should not use any functions available on matlab."
Sean de Wolski
2013-1-24
Well technically griddedInterpolant is a class with methods ;)
类别
在 帮助中心 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!