please tell me about image interpolation.

i tried imresize function but in that i dint understand
In some paper, authors used image interpolation by factor alpha to increase or decrease the size of the image. please tell how this this alpha factor used in an image interpolation

 Réponse acceptée

Walter Roberson
Walter Roberson le 28 Août 2015
scale = alpha;
newimage = imresize(YourImage, scale);

2 commentaires

sandeep kumar
sandeep kumar le 28 Août 2015
i referred one paper, in that he has given interpolation with factor 2 and interpolation with factor alpha/2. I tried implementing that, by using imresize function to enhance the image from 263X263 resolution to 512X512 resolution, but i couldn't understand how to give value to alpha.
MyImage = rand(263,263,3);
biggerImage = imresize(MyImage, 2);
smallerImage = imresize(MyImage, 1/2);
Image512a = imresize(MyImage, [512 512]);
Image512b = imresize(MyImage, 512/263);

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interpolation dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by