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

조회 수: 1 (최근 30일)
Som
Som 2017년 8월 11일
댓글: Image Analyst 2017년 8월 14일
how can i place 25 images in one mask.it will be in row wise in that mask?
  댓글 수: 2
José-Luis
José-Luis 2017년 8월 11일
Please try to be clearer.
Som
Som 2017년 8월 11일
i have 25 image and i want to place all images in one mask row wise in successive manner

댓글을 달려면 로그인하십시오.

채택된 답변

José-Luis
José-Luis 2017년 8월 11일
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
Som
Som 2017년 8월 14일
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 2017년 8월 14일
I see you've accepted this answer so I assume you no longer have any errors.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by