TIFFREAD Read multi-image TIFF file.
I = TIFFREAD(FILENAME) reads the input image volume.
I = TIFFREAD(FILENAME,INDICES) loads the specified frame(s). INDICES
can be a positive scalar, a vector of positive integers, or 'all'
(default, if excluded).
[___] = TIFFREAD(___,Name,Value) uses additional parameter name-value
pairs. Valid parameters include:
'Squeeze' Logical scalar indicating whether to remove
singleton dimensions or not. For grayscale images,
the output will by M-by-N-by-P when 'Squeeze' is
true and M-by-N-by-1-by-P otherwise.
Default: true
Notes
-----
1. This function is only valid if all image frames are the same size.
Example 1
---------
Read three-dimensional MRI grayscale data from file:
I = tiffread('mri.tif');
Example 2
---------
Read a series of color images from file:
I = tiffread('trees.tif',[2,3,4,6,7]);
See also IMFINFO, IMREAD, SQUEEZE.
Citation pour cette source
Matthew Eicholtz (2024). tiffread (https://www.mathworks.com/matlabcentral/fileexchange/60037-tiffread), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |