How to implement Bicubic interpolation in an image?

I have 256*256 dimension image and I want to make it 512*512 using bicubic interpolation. How to do it using csapi(x,y) or csapi(x,y,xx) function? What should be taken inplace of x & y here?

回答 (2 件)

TheRealTonyStark
TheRealTonyStark 2019 年 10 月 13 日
編集済み: TheRealTonyStark 2019 年 10 月 13 日

1 投票

The resizing of image using bicubic interpolation method:
Example
J = imresize(I, 2, 'bicubic');%in your case
J: Resized image.
I: input image.
0.5: scaling factor
Image Analyst
Image Analyst 2017 年 12 月 1 日

0 投票

Simply use imresize():
resizedImage = imresize(originalImage, [512, 512]);
I never heard of the function csapi(). It does not show up in the help for my MATLAB.

4 件のコメント

Nidhi Soni
Nidhi Soni 2017 年 12 月 1 日
I need to use interpolation to enhance the image
Image Analyst
Image Analyst 2017 年 12 月 1 日
What's your definition of "enhance"? Merely resizing an image will not increase the resolution or make details any easier to see/resolve.
Nidhi Soni
Nidhi Soni 2017 年 12 月 1 日
I am trying to apply DWT and BEMD on an image. Then adding these DWT and BEMD components but DWT components have reduced dimension than BEMD component, So I want to interpolate them.
TheRealTonyStark
TheRealTonyStark 2019 年 10 月 13 日
Increasing the size will create irreularities in the image. To smoothen that out we use spline fitting.

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

カテゴリ

ヘルプ センター および File ExchangeImage Processing Toolbox についてさらに検索

質問済み:

2017 年 12 月 1 日

編集済み:

2019 年 10 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by