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

1 vue (au cours des 30 derniers jours)
NicknameAlpha
NicknameAlpha le 22 Déc 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上で画面に表示させるような方法については何かありそうですか?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!