please tell me about image interpolation.

1 view (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 28 Aug 2015
scale = alpha;
newimage = imresize(YourImage, scale);
  2 Comments
sandeep kumar
sandeep kumar on 28 Aug 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 on 28 Aug 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);

Sign in to comment.

More Answers (0)

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!