How can I place 4 jpeg images randomly into one 2x2 single larger image?
2 ビュー (過去 30 日間)
古いコメントを表示
I can create an image of all 4 of the jpeg images so it makes a 2x2 picture, but i am not sure how to randomize it.
2 件のコメント
Rik
2018 年 7 月 22 日
What code did you use? It is easier to adapt your existing code than to write new code you'll have to adapt.
採用された回答
Walter Roberson
2018 年 7 月 22 日
parts = {A, B_resized, C_resized, D_resized};
pic = cell2mat( reshape( parts(randperm(4)), 2, 2 ) );
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Segmentation and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!