Open TIF image stack
显示 更早的评论
How can I open a TIF image stack, so that I can use each of the images separatly?
1 个评论
Ajaykumar Zalavadia
2019-1-24
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,[])
回答(1 个)
Image Analyst
2012-9-5
0 个投票
Did you use the Tiff class, introduced within the last few versions?
8 个评论
Bernoulli Lizard
2012-9-5
Image Analyst
2012-9-5
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
2012-9-5
Sean de Wolski
2012-9-5
doc tiff
It even has an example...
Bernoulli Lizard
2012-9-6
Walter Roberson
2012-9-6
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
2012-9-6
Walter Roberson
2012-9-6
类别
在 帮助中心 和 File Exchange 中查找有关 Image Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!