Open TIF image stack
Ältere Kommentare anzeigen
How can I open a TIF image stack, so that I can use each of the images separatly?
1 Kommentar
Ajaykumar Zalavadia
am 24 Jan. 2019
I remeber using bfOpen3DVolume function from Bio-format matlab tools to open TIFF Image stack,
Download bfmatlab.zip from openmicroscopy.org website, here is the link
Extract the folder and add it to matlab path,
fileName = 'C:\fullPath\Filename.tif'; %Path to tiff file containing image stack
Data = bfOpen3DVolume(fileName);
imgStack=Data{1,1}{1,1};
figure; montage(imgStack,[])
Antworten (1)
Image Analyst
am 5 Sep. 2012
0 Stimmen
Did you use the Tiff class, introduced within the last few versions?
8 Kommentare
Bernoulli Lizard
am 5 Sep. 2012
Image Analyst
am 5 Sep. 2012
Here's a snippet from the help:
Tiff class
MATLAB Gateway to LibTIFF library routines
Description
The Tiff class represents a connection to a Tagged Image File Format (TIFF) file and provides access to many of the capabilities of the LibTIFF library. Use the methods of the Tiff object to call routines in the LibTIFF library. While you can use the imread and imwrite functions to read and write TIFF files, the Tiff class offers capabilities that these functions don't provide, such as reading subimages, writing tiles and strips of image data, and modifying individual TIFF tags.
Bernoulli Lizard
am 5 Sep. 2012
Sean de Wolski
am 5 Sep. 2012
doc tiff
It even has an example...
Bernoulli Lizard
am 6 Sep. 2012
Walter Roberson
am 6 Sep. 2012
What is an "image stack" in this context? Is it a series of TIFF files, or is it a single TIFF file that stores several images? If it is a single TIFF file, then you use the facilities for reading "subimages"
Bernoulli Lizard
am 6 Sep. 2012
Walter Roberson
am 6 Sep. 2012
Kategorien
Mehr zu Image Data finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!