augmentedImageDatastoreで画像のサイズが変更後の画像の表示について
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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上で画面に表示させるような方法については何かありそうですか?
0 Commenti
Risposta accettata
Tohru Kikawada
il 24 Dic 2018
augmentedImageDatastore のドキュメント下部に下記の記述で可視化できると記載があります。
ご参考なれば幸いです。
minibatch = read(auimds);
imshow(imtile(minibatch.input))
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Deep Learning Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!