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
댓글 수: 0
채택된 답변
Image Analyst
2014년 4월 5일
See the second example in the FAQ http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
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.
댓글 수: 1
Rifat Hasan Prithibi
2019년 6월 2일
</matlabcentral/answers/uploaded_files/222401/Screenshot_20190601-223816.png> Plz solve this . Just initial steps.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!