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

2 次查看(过去 30 天)
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上で画面に表示させるような方法については何かありそうですか?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!