how can i place 25 image by using in one mask in successive manner?

1 vue (au cours des 30 derniers jours)
Som
Som le 11 Août 2017
Commenté : Image Analyst le 14 Août 2017
how can i place 25 images in one mask.it will be in row wise in that mask?
  2 commentaires
José-Luis
José-Luis le 11 Août 2017
Please try to be clearer.
Som
Som le 11 Août 2017
i have 25 image and i want to place all images in one mask row wise in successive manner

Connectez-vous pour commenter.

Réponse acceptée

José-Luis
José-Luis le 11 Août 2017
This is how I interpret your question.
imageSize = [256,256];
numImages = 25;
result = zeros(numImages,imageSize(1),imageSize(2));
for ii = 1:numImages;
currentImage = rand(imageSize);
result(ii,:,:) = currentImage;
end
Vertically stacked images.
  3 commentaires
Som
Som le 14 Août 2017
i was trying to show the output image but error is coming. imshow(result) i added after the loop to show the image.
Image Analyst
Image Analyst le 14 Août 2017
I see you've accepted this answer so I assume you no longer have any errors.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by