Read Image sequences in order
古いコメントを表示
Hello everyone, I am trying to read the image sequences. Images are named as Img_1, Img_2,....,Img_10. I am reading the images one by one as follows:
m=1;
while(m <= length(Images))
Frame1 = [Imgdir '/' Images(m).name];
curr_frame1=imread(Frame1);
m=m+1;
end
But It reads Img_10 first and then Img_1. Why? I want to read the image in sequence.Please help.
採用された回答
その他の回答 (1 件)
Image Analyst
2015 年 10 月 19 日
0 投票
Code samples for this frequently asked question are in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!