Montage with Raster Scan
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello, I have a cell array of images obtained by scanning in a raster scan as illustrated below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190761/image.png)
I want to create a montaged image, and can do it successfully when xsteps & ysteps =3 (so 9 images in the image Array "imgArray")
montageImage = [imgArray{1}, imgArray{4}, imgArray{7}; imgArray{2}, imgArray{5}, imgArray{8}; imgArray{3}, imgArray{6}, imgArray{9}];
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190762/image.png)
However, I want it generalised for any values of xstep and ystep.
0 commentaires
Réponses (2)
KSSV
le 23 Mai 2018
Read about montage in the documentation, there is an option of specifying size..with this you can show them in your desired step/ size.
montage(fileNames, 'Size', [m n]);
3 commentaires
Voir également
Catégories
En savoir plus sur Image Sequences and Batch Processing 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!