image_save

You know that annoying error when trying to write to an image stack in Matlab?
ダウンロード: 254
更新 2012/2/14

ライセンスの表示

Image Stack Saver

image_save(Im1,basename)
image_save(Im1,basename,fmax)

For use with appended image stacks, e.g. most commonly stacked TIF files.
Some operating systems throw an error indicating that the file is
inaccessible at the time of write, which leads to a code fault and can be
very frustrating. This simple script fixes that issues, mainly on the
Windows operating system.

Im1 = the current image (matrix) you want to add to the stack

basename = is a string that specifices the file name, and potentially the
path of the stack to save to. Best practice is the put '.tif' at the end
of the file name.

fmax = maximum number of allowed failures, i.e. if the script attempts to
write to the file 'fmax' times and fails, it will give up. This prevents
entering an infinite loop. The default value is fmax = 10.

Any of the 'imwrite' parameters can be modified on line 38.

引用

Tristan Ursell (2024). image_save (https://www.mathworks.com/matlabcentral/fileexchange/35079-image_save), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0