Resizing the images to 100 x 100
4 ビュー (過去 30 日間)
古いコメントを表示
Abdussalam Elhanashi
2020 年 11 月 22 日
コメント済み: Abdussalam Elhanashi
2020 年 11 月 25 日
Hi,
I want to resize the images for TestData to be 100 x 100
figure();
for i = 1:20
subplot(4,5,i);
imshow(TestData.Files{i});
end
0 件のコメント
採用された回答
Walter Roberson
2020 年 11 月 23 日
TestData.Files(1:20) = cellfun(@(I) imresize(I,[100,100]), TestData.Files(1:20), 'uniform', 0);
The code would have been shorter if you were doing all of the images instead of only 20.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!