Open TIF image stack
Mostrar comentarios más antiguos
How can I open a TIF image stack, so that I can use each of the images separatly?
1 comentario
Ajaykumar Zalavadia
el 24 de En. de 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,[])
Respuestas (1)
Image Analyst
el 5 de Sept. de 2012
0 votos
Did you use the Tiff class, introduced within the last few versions?
8 comentarios
Bernoulli Lizard
el 5 de Sept. de 2012
Image Analyst
el 5 de Sept. de 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
el 5 de Sept. de 2012
Sean de Wolski
el 5 de Sept. de 2012
doc tiff
It even has an example...
Bernoulli Lizard
el 6 de Sept. de 2012
Walter Roberson
el 6 de Sept. de 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
el 6 de Sept. de 2012
Walter Roberson
el 6 de Sept. de 2012
Categorías
Más información sobre Image Data en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!