MATLAB: How can i place 25 image by using in one mask in successive manner

image processing

how can i place 25 images in one mask.it will be in row wise in that mask?

Best Answer

  • 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.