How can I set the value of Extrapval in interp2?

I use interp2 to resample my image, but i have non value in my resampled image, I should set extrapval in interp2 but I don't know what is the appropriate value for this argument?

回答(1 个)

you should use value 0 or 255 for extrapval depending upon the image intensity values you are dealing with

类别

在 帮助中心 和 File Exchange 中查找有关 Interpolation 的更多信息

标签

提问:

2013-12-6

回答:

2013-12-6

Community Treasure Hunt

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

Start Hunting!

Translated by