Azzera filtri
Azzera filtri

please tell me about image interpolation.

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Walter Roberson
Walter Roberson il 28 Ago 2015
scale = alpha;
newimage = imresize(YourImage, scale);
  2 Commenti
sandeep kumar
sandeep kumar il 28 Ago 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.
Walter Roberson
Walter Roberson il 28 Ago 2015
MyImage = rand(263,263,3);
biggerImage = imresize(MyImage, 2);
smallerImage = imresize(MyImage, 1/2);
Image512a = imresize(MyImage, [512 512]);
Image512b = imresize(MyImage, 512/263);

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Read, Write, and Modify Image in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by