how to enhance an image using bicubic interpolation

3 vues (au cours des 30 derniers jours)
Sharen H
Sharen H le 3 Juil 2013
I have to enhance an image using bicubic interpolation...Can u please help me which builin function i have to use...Thanks in advance

Réponses (2)

Matt J
Matt J le 3 Juil 2013
Modifié(e) : Matt J le 3 Juil 2013
griddedInterpolant() or interp2() can do bicubic interpolation.
No idea how this could produce an enhanced image, however.
  2 commentaires
Sharen H
Sharen H le 3 Juil 2013
xx =
1 2 3
2 3 4
3 4 5
F = griddedInterpolant(xx,'cubic') i am getting error Please help
Matt J
Matt J le 3 Juil 2013
Modifié(e) : Matt J le 3 Juil 2013
i am getting error
Not me. For me, it works fine,
>> xx=[1 2 3; 2 3 4; 3 4 5];F=griddedInterpolant(xx,'cubic');
>> F(2.5,1.5)
ans =
3
>> F(3,2.5)
ans =
4.5000

Connectez-vous pour commenter.


Image Analyst
Image Analyst le 3 Juil 2013
I don't see any reason why that would enhance an image. Did you perhaps really mean to the use word "resize" rather than "enhance"?
The built-in function that does bicubic interpolation is called imresize() and it's in the Image Processing Toolbox.

Catégories

En savoir plus sur Image Filtering and Enhancement 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