display N images in all the possible combinations in 3 x 3 matrices

1 vue (au cours des 30 derniers jours)
Alejandro Estudillo
Alejandro Estudillo le 23 Juin 2018
Hi all,
Hope someone can help me.
I have a folder with a set of images. All the images have the same size. What I would like to do is to present all the possible combinations of these images in 3 x 3 grids and save each of them as a JPG. I could do this manually, but I have too many images.
Any help would be very appreciated!
  4 commentaires
Walter Roberson
Walter Roberson le 24 Juin 2018
9 images arranged on a 3 x 3 grid in all possible permutations would have 362880 results. Are you sure you want to do that?
9 choices for the first position, 8 choices for the second position, 7 choices for the third position, ... 9! = 362880 total possibilities.
Alejandro Estudillo
Alejandro Estudillo le 25 Juin 2018
Hi Walter,
Thanks for your reply. I have been doing some simulations wit the function permn and I think that what I want to do is not too convenient. Ideally, I would like to have all the possible combinations, but I think I am going to use a different approach. Thanks again for your reply!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by