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.

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 12월 15일
편집: KALYAN ACHARJYA 2020년 12월 15일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

질문:

2020년 12월 15일

편집:

2020년 12월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by