How to 'aggregate' a stack of images (picture 1) in matlab as in attached picture 2
Show older comments
I tried to use loop as below
for i = 1 : 10
imshow(df(:,:,i)) % Problem because df is the structure, not the 3-D array dff.
end
but it did not work.
Accepted Answer
More Answers (1)
yanqi liu
on 9 Aug 2022
yes,sir,may be use eval and for loop to make the structer,such as
for i = 1:10
figure(i);
imshow(eval(sprintf('df.x%d', i)), [])
end
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!