Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 24 de Jun. de 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 el 25 de Jun. de 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!

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by