ファイル内の写真について

4 views (last 30 days)
大空
大空 on 25 Jun 2022
Commented: Akira Agata on 26 Jun 2022
ファイル内に更に2つのファイルを分けその中に10枚づつほど写真が入っています。これを画像処理をしたいため227✖227をしたいと思っています。どうすればいいですか?

Answers (1)

Hernia Baby
Hernia Baby on 25 Jun 2022
imresizeはいかがでしょうか?
  1 Comment
Akira Agata
Akira Agata on 26 Jun 2022
+1
おそらく Deep Learning に入力するため画像をリサイズされたいのではないかと推測します。
もしそうであれば、画像ファイルそのものには手を加えることなく、プログラム側で imageDatastore + augmentedImageDatastore を組み合わせて使うことで、Deep Learning への画像入力サイズを調整することができます。

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!