imreadのエラー
7 views (last 30 days)
Show older comments
指定のフォルダに入っている画像(JPG形式)を、全て読み込ませて画像処理を行うプログラムを作成しています。
ファイル名を指定して順次読み込ませているのですが、途中(約900枚)で下記のようなエラーが出て、読み込まれません。
次を使用中のエラー: imread>get_format_info
ファイル形式を特定できません。
エラー: imread/call_format_specific_reader (行 470)
fmt_s = get_format_info(fullname);
エラー: imread (行 444)
[X, map] = call_format_specific_reader();
エラー: test_3 (行 25)
A = imread(original);
フォルダ自体はMATLAB Driveにアップロードしており、エラーが出る直前の画像までは問題なく処理されています。
ファイル名はフォルダ内のファイルを書き出し、そこからforループで取得、指定しています。
対処法があれば是非ともご教授いただければと思います。
4 Comments
Answers (0)
See Also
Categories
Find more on Convert Image Type 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!