How to implement Bicubic interpolation in an image?

34 vues (au cours des 30 derniers jours)
Nidhi Soni
Nidhi Soni le 1 Déc 2017
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?

Réponses (2)

TheRealTonyStark
TheRealTonyStark le 13 Oct 2019
Modifié(e) : TheRealTonyStark le 13 Oct 2019
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 le 1 Déc 2017
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 commentaires
Nidhi Soni
Nidhi Soni le 1 Déc 2017
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 le 13 Oct 2019
Increasing the size will create irreularities in the image. To smoothen that out we use spline fitting.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Splines dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by