How can I place 4 jpeg images randomly into one 2x2 single larger image?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ciro saravia
le 22 Juil 2018
Commenté : ciro saravia
le 22 Juil 2018
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 commentaires
Rik
le 22 Juil 2018
What code did you use? It is easier to adapt your existing code than to write new code you'll have to adapt.
Réponse acceptée
Walter Roberson
le 22 Juil 2018
parts = {A, B_resized, C_resized, D_resized};
pic = cell2mat( reshape( parts(randperm(4)), 2, 2 ) );
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!