How to scale up image using imresize

6 visualizaciones (últimos 30 días)
Edo Wijaya
Edo Wijaya el 15 de Dic. de 2020
Editada: KALYAN ACHARJYA el 15 de Dic. de 2020
I'm doing a machine learning project for letter recognition. i have problem when doing resize program. is there any way how to keep image used still in 128 x 128 pixel. Regardless how big or small user's input picture.

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 15 de Dic. de 2020
Editada: KALYAN ACHARJYA el 15 de Dic. de 2020
result=imresize(input_image,[128,128]); % 'bicubic' is default
If you are specific on up/down sampling method ( Interpolation method), please see here

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