show images contained in a cell array in a single window with montage?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi everybody! I've a cell array containing the images I want to present in a single graphic window through montage function , here the code so far but doesn't work correctly :
%a from previous instruction is : 1 x 14 cell containing the images (uint8)
%contatore is the number of images i've generated
for i = 1 : contatore
montage(a{i},'Size',[2 7])
end
How can I make it work? Thanks Another point : there is a way to make the size of montage adjust itself instead, depending on the images it has instead of writing :'Size',[2 7] ? Thanks again
2 comentarios
Respuestas (1)
KALYAN ACHARJYA
el 15 de Oct. de 2018
Editada: KALYAN ACHARJYA
el 15 de Oct. de 2018
Here im_array is the cell array
montage(im_array)
5 comentarios
Ver también
Categorías
Más información sobre Display Image en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!