lastDirectory
현재 IFD가 파일의 마지막 IFD인지 확인
설명
예제
현재 디렉터리가 마지막 디렉터리인지 확인하기
파일에 대한 Tiff
객체를 만들어 현재 디렉터리가 파일의 마지막 디렉터리인지 확인합니다. 현재 디렉터리가 마지막 디렉터리인 경우 lastDirectory
함수는 1
을 반환합니다. 그렇지 않으면 이 함수는 0
을 반환합니다.
t = Tiff('example.tif','r'); lastDirectory(t)
ans = logical
0
현재 디렉터리를 디렉터리 번호 3
으로 설정하고, 이 디렉터리가 파일의 마지막 디렉터리인지 확인합니다.
setDirectory(t,3); lastDirectory(t)
ans = logical
1
Tiff
객체를 닫습니다.
close(t);
알고리즘
참고 문헌
이 함수는 LibTIFF C API의 TIFFLastDirectory
함수에 대응합니다. 이 함수를 사용하려면 TIFF 사양과 기술적인 내용을 잘 알고 있어야 합니다. LibTIFF - TIFF Library and Utilities의 문서를 참조하십시오.
버전 내역
R2009b에 개발됨
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)