フィルターのクリア

Can anyone show me the algorithm to perform bi-cubic interpolation of an image?

1 回表示 (過去 30 日間)
Avinash Bhatt
Avinash Bhatt 2018 年 11 月 1 日
コメント済み: Avinash Bhatt 2018 年 11 月 1 日
I need to determine bi-cubic interpolation of an image. Please show me how it is done.
  2 件のコメント
KSSV
KSSV 2018 年 11 月 1 日
Read about interp2
Avinash Bhatt
Avinash Bhatt 2018 年 11 月 1 日
Sir, can you please show a demo by using interp2?

サインインしてコメントする。

採用された回答

KSSV
KSSV 2018 年 11 月 1 日
I = imread('cameraman.tif') ;
[nx,ny] =size(I) ;
[X,Y] = meshgrid(1:ny,1:nx) ;
x = linspace(1,nx,500) ;
y = linspace(1,ny,500) ;
[Xi,Yi] = meshgrid(x,y) ;
I1 = interp2(X,Y,double(I),Xi,Yi) ;
imshow(uint8(I1)) ;
Also have a look on imresize

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolating Gridded Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by