How to scale up image using imresize

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.

Antworten (1)

KALYAN ACHARJYA
KALYAN ACHARJYA am 15 Dez. 2020
Bearbeitet: KALYAN ACHARJYA am 15 Dez. 2020

0 Stimmen

result=imresize(input_image,[128,128]); % 'bicubic' is default
If you are specific on up/down sampling method ( Interpolation method), please see here

Kategorien

Mehr zu Read, Write, and Modify Image finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 15 Dez. 2020

Bearbeitet:

am 15 Dez. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by