Borrar filtros
Borrar filtros

please tell me about image interpolation.

2 visualizaciones (últimos 30 días)
sandeep kumar
sandeep kumar el 28 de Ag. de 2015
Comentada: Walter Roberson el 28 de Ag. de 2015
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

Respuesta aceptada

Walter Roberson
Walter Roberson el 28 de Ag. de 2015
scale = alpha;
newimage = imresize(YourImage, scale);
  2 comentarios
sandeep kumar
sandeep kumar el 28 de Ag. de 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 el 28 de Ag. de 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);

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by