フィルターのクリア

Problem with save an image JPEG 2000

5 ビュー (過去 30 日間)
K. Taieb
K. Taieb 2020 年 6 月 3 日
コメント済み: K. Taieb 2020 年 6 月 3 日
My Matlab program allows to calculate matrix and to save each matrix as an image (JPEG 2000) in a folder. The number of images is high. During the iteration, I am receiving the following error:
what's the problem please?
Thank you!
Error using writejp2c
Library error: "Error in Kakadu File Format Support:
Unable to open compressed data file!
"
Error in writejp2k (line 23)
writejp2c(data, filename, props);
Error in writejp2 (line 32)
writejp2k(data, map, filename, 'jp2', varargin{:});
Error in imwrite (line 546)
feval(fmt_s.write, data, map, filename, paramPairs{:});
Error in Simulation_3D_z_positif (line 179)
imwrite(uint16(T),['Images/E_' num2str(e) '_I_' num2str(n) '.jp2'])
  2 件のコメント
Walter Roberson
Walter Roberson 2020 年 6 月 3 日
I wonder... as a test, when the problem occurs, try executing
fopen('all')
You should only see a small number of files listed; I am wondering if there is somehow a leak of open files.
Another possibility is running out of disk space.
K. Taieb
K. Taieb 2020 年 6 月 3 日
Thank you!
I confirm that no problem of disk space because sometimes the program finished the calculation until the end. But I didn't understand where I put the line (fopen('all')) because I save image by image.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by