How to Reduce image size and increase size

2 visualizaciones (últimos 30 días)
mayy noensai
mayy noensai el 27 de En. de 2022
Comentada: mayy noensai el 27 de En. de 2022
i would like to know how can i reduce the image size snd enlarge?
in the
  1. nearest neighbor
  2. bilinear
  3. bicubic
can i get a sample code?
Thank you so much

Respuestas (1)

Matt J
Matt J el 27 de En. de 2022
  3 comentarios
Image Analyst
Image Analyst el 27 de En. de 2022
@mayy noensai in the lines of code below, it should be very evident which is which:
outputImage = imresize(inputImage, [rows, columns], 'bilinear');
outputImage = imresize(inputImage, [rows, columns], 'bicubic');
mayy noensai
mayy noensai el 27 de En. de 2022
@Image Analyst Thank you so much.
@Matt J Thank you so much

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by