I want to access custom TIFF tags
10 ビュー (過去 30 日間)
古いコメントを表示
I am interested in reading and writing custom tags in TIFF files using MATLAB. It appears, from a cursory review of the LibTiff website, that invoking tiffmergefieldinfo with a list of the custom tags I need to work with might be enough. But the call is not supported in the tiff object.
I would prefer to not maintain a custom build of the LibTiff library, although that would probably work.
Has anyone worked in this area already?
0 件のコメント
回答 (1 件)
Ashish Uthama
2011 年 7 月 11 日
Mark, would the output of imfinfo be of any use? I think it reads custom tags (as 'unknown' tags in the output).
3 件のコメント
Ashish Uthama
2011 年 7 月 11 日
Mark, if they are numerical values or have fixed length, you could attempt to use the offset field of the unknown tag to gain raw-access to the location of the value in the file (fopen,fseek, fwrite, fclose). Of course, I am sure you are aware of the risks of doing so :)
参考
カテゴリ
Help Center および File Exchange で Image Data についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!