augmentedI​mageDatast​oreで画像のサイズ​が変更後の画像の表示​について

1 visualizzazione (ultimi 30 giorni)
NicknameAlpha
NicknameAlpha il 22 Dic 2018
Risposto: Tohru Kikawada il 24 Dic 2018
AlexNet を使用した転移学習のWebページ(https://jp.mathworks.com/help/deeplearning/examples/transfer-learning-using-alexnet.html)で,
227 x 227 x 3 の入力イメージへ拡張イメージ データストアを使用して学習イメージのサイズを自動的にこのようなので変更しているようですが,
pixelRange = [-30 30];
imageAugmenter = imageDataAugmenter( ...
'RandXReflection',true, ...
'RandXTranslation',pixelRange, ...
'RandYTranslation',pixelRange);
augimdsTrain = augmentedImageDatastore(inputSize(1:2),imdsTrain, ...
'DataAugmentation',imageAugmenter);
このサイズがaugmentedImageDatastoreが使われて自動的に変更された後の画像をMATLAB上で画面に表示させるような方法については何かありそうですか?

Risposta accettata

Tohru Kikawada
Tohru Kikawada il 24 Dic 2018
augmentedImageDatastore のドキュメント下部に下記の記述で可視化できると記載があります。
ご参考なれば幸いです。
minibatch = read(auimds);
imshow(imtile(minibatch.input))

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!