How to scale up image using imresize

12 ビュー (過去 30 日間)
Edo Wijaya
Edo Wijaya 2020 年 12 月 15 日
編集済み: KALYAN ACHARJYA 2020 年 12 月 15 日
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 日
result=imresize(input_image,[128,128]); % 'bicubic' is default
If you are specific on up/down sampling method ( Interpolation method), please see here

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by