Finding name of single frames when reading a Tiff stack file
이전 댓글 표시
I have a stack tiff file 'test.tif' where each frame has a name ('frame_A', 'frame_B', etc). How can I retrieve those names when reading in the .tif file?
I tried with
info = imfinfo('test.tif')
but unfortunately it does not solve the issue.
댓글 수: 5
dpb
2023년 8월 10일
bruno stricker
2023년 8월 22일
dpb
2023년 8월 22일
As pointed to before, the alternative gateway to the TIFF library is what is packaged in MATLAB. There's <an example to read individual images>, what will/will not work with an older release of MATLAB you'll just have to find out by trying and seeing.
If it does work, good; if it doesn't your choices with MATLAB are probably limited unless you can find something on the File Exchange written with earlier release that has workarounds or you just dive in and develop something yourself (other than upgrading, of course).
I've never tried any so no direct hints, sorry...
DGM
2023년 8월 22일
The most direct way to get an answer is to provide an example of the file you're working with.
The forum editor won't let you attach a TIFF, but you can zip it or append a fake extension.
bruno stricker
2023년 8월 22일
채택된 답변
추가 답변 (1개)
Walter Roberson
2023년 8월 22일
0 개 추천
Individual TIFF frames do not have "names". If you were to read in a bunch of image files and combine them into a TIFF file, then the file names would not typically be stored.
The program that created the TIFF file might potentially have stored the names as Image Description https://www.awaresystems.be/imaging/tiff/tifftags/imagedescription.html or as Page Name https://www.awaresystems.be/imaging/tiff/tifftags/pagename.html or Copyright https://www.awaresystems.be/imaging/tiff/tifftags/copyright.html . Or as 9c9b XPTitle (Windows) or 9c9c XPComment (Windows) or 9c9f XPSubject (Windows)
At first File Source https://www.awaresystems.be/imaging/tiff/tifftags/privateifd/exif/filesource.html seems plausible from the name, but it is a numeric tag with value 3 to indicate DSC (Digital Still Camera)
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
