Multipage TIFF stack
function res = saveastiff(data, path, options)
options.color
: true or FALSE
: If this is true, third dimension should be 3 and the data is saved as a color image.
options.compress
: 'no', 'lzw', 'jpeg' or 'adobe'.
Compression type.
'no' : Uncompressed(Default)
'lzw' : lossless LZW
'jpeg' : lossy JPEG (When using JPEG compression, ImageWidth,
ImageLength, and RowsPerStrip must be multiples of 16.)
'adobe' : lossless Adobe-style
options.jpegquality
: JPEG compression qualtiy. A value between 1.0 and 100.0
options.message
: TRUE or false.
If this is false, all messages are skipped.
options.append
: true or FALSE
If path is exist, the data is appended to an existing file.
If path is not exist, this options is ignored.
options.overwrite
: true or FALSE
Overwrite to an existing file.
options.big
: true or FALSE,
Use 64 bit addressing and allows for files > 4GB
Defalut value of 'options' is
options.color = false;
options.compress = 'no';
options.message = true;
options.append = false;
options.overwrite = false;
options.big = false;
res : Return value. It is 0 when the function is finished with no error.
If an error is occured in the function, it will have a positive
number (error code).
인용 양식
Yoon-Oh Tak (2024). Multipage TIFF stack (https://www.mathworks.com/matlabcentral/fileexchange/35684-multipage-tiff-stack), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Image Data >
- Image Processing and Computer Vision > Image Processing Toolbox > Import, Export, and Conversion > Blocked Images >
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
4.5.0.0 | It is possible to set the JPEG compression rate using the options.jpegquality option.
|
||
4.4.0.0 | Bug fix: checking directory and filename in 'loadtiff.m' |
||
4.3.0.0 | Bug fix: RowsPerStrip of JPEG compression has to be a multiple of 16. |
||
4.2.0.0 | Added a file opening error checking routine. |
||
4.1.0.0 | Hello, Mark. I fixed my code a little bit. Please check this new version. I think it will be faster than before. |
||
4.0.0.0 | Now you can save a complex number image such as Fourier's coefficient image.
|
||
3.0.0.0 | Now you can save image to a sub directory.
|
||
2.6.0.0 | Now it supports 'uint64' and 'int64' data type.
|
||
1.20.0.0 | There was a mistake in the version 2.5, and I fixed it. Thank you, Eyal. |
||
1.19.0.0 | Bug fix and add 'big' option for BigTIFF format (Thanks to Urs Utzinger). |
||
1.18.0.0 | Bug fix.
|
||
1.16.0.0 | bug fix |
||
1.12.0.0 | Bug fix: It crashed when the file is already opened. |
||
1.11.0.0 | Ttypographical error on line 202 : optoins -> options
|
||
1.10.0.0 | Bug fixed.
|
||
1.9.0.0 | Bug fix
|
||
1.8.0.0 | bug fix |
||
1.6.0.0 | Parameter 'options' is added. |
||
1.5.0.0 | There was a bug in the example.
|
||
1.4.0.0 | Support lossy JPEG Compression.
|
||
1.0.0.0 |