storing multiple image in single file
古いコメントを表示
Hi All,
Is there a way to store multiple images in a single file ? I am trying the following:
imwrite(cat(3,img1,img2),filename,format);
thanks, rishabh
採用された回答
その他の回答 (2 件)
Walter Roberson
2011 年 5 月 26 日
0 投票
If you have a recent enough version, you can use the new TIFF class to write subfiles. See the hint about writeDirectory here
If you do not have a version that supports the TIFF class, there is no supported way to do what you want (but perhaps it could be done with one of the MATLAB FIle Exchange submissions.)
Bjorn Gustavsson
2011 年 5 月 26 日
0 投票
I was going to suggest that you could write your images to a fits-file - it is a good image format, in its way. Then when I checked matlab does not provide a fits-writing function, which is a bit pathetic. There are, however, a bunch of packages available on the FEX and the net.
カテゴリ
ヘルプ センター および File Exchange で Convert Image Type についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!