Having problems with loading a tiff file using Tiff method
조회 수: 17 (최근 30일)
이전 댓글 표시
I have a .tiff file that has 208 images. When I tried to using Tiff method, I got the following error message:
Warning: TIFF library warning: TIFFReadDirectoryCheckOrder: Invalid TIFF directory; tags are not sorted in ascending order.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8961 (0x2301) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8962 (0x2302) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8963 (0x2303) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8964 (0x2304) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8965 (0x2305) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8966 (0x2306) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8967 (0x2307) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8960 (0x2300) encountered..
I was able to open each file with imread(file,'Index',5); however, I cannot get the information how many images in the file.
댓글 수: 0
답변 (1개)
Walter Roberson
2012년 12월 5일
Those tags really are not defined by the TIFF standard; they aren't even in the private space range. Possibly the TIFF is corrupted.
If you are using MS Windows, there is a utility to view the tags; see http://www.awaresystems.be/imaging/tiff/astifftagviewer.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!