how can i save some image in cell array and then display them in a figure by sequence

7 次查看(过去 30 天)
how can i save some image in cell array and then display them in a figure by sequence
[n,p]=uigetfile('*.*');
a=imread([p,n]);
[n1,p1]=uigetfile('*.*');
b=imread([p1,n1]);
[n2,p2]=uigetfile('*.*');
c=imread([p2,n2]);
cell{1} = a;
cell{2} = b;
cell{3} = c;
for i=1:length(cell)
imshow(cell(i));
end
it doesnt work

采纳的回答

Image Analyst
Image Analyst 2014-4-5
I see no reason to save the images in a cell array. Just display them and process them inside the loop and don't bother saving them for later. It just takes up memory that you probably don't need to do.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by