Open TIF image stack

21 views (last 30 days)
Bernoulli Lizard
Bernoulli Lizard on 5 Sep 2012
How can I open a TIF image stack, so that I can use each of the images separatly?
  1 Comment
Ajaykumar Zalavadia
Ajaykumar Zalavadia on 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,[])

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 5 Sep 2012
Did you use the Tiff class, introduced within the last few versions?
  8 Comments
Bernoulli Lizard
Bernoulli Lizard on 6 Sep 2012
I'm not really sure. It looks like one file, but when it is opened [in ImagaeJ] it has several separate images that you can scroll through.
I can open the file using [FileName1, PathName1] = uigetfile({'*.tif', 'Image Files (*.tif)'}, 'Choose the image to open.'); % Open Image File
but I do not know how I can call and handle the individual images in it.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!