I can use imwrite() to save color images as tiff but I would like to have them in a single file like the one attached here. In ImageJ I can see all these images by panning a scrollbar at the bottom. How can I export 5 tiff images into a tiff image stack like this directly from matlab?
Example of a tiff image stack can be downloaded below
Edit:
When I use the Tiff class Tiff('path to file above') I get:
TIFF File: 'C:\blablablablablabla'
Mode: 'r'
Current Image Directory: 1
Number Of Strips: 1
SubFileType: Tiff.SubFileType.Default
Photometric: Tiff.Photometric.RGB
ImageLength: 800
ImageWidth: 800
RowsPerStrip: 800
BitsPerSample: 8
Compression: Tiff.Compression.None
SampleFormat: Tiff.SampleFormat.UInt
SamplesPerPixel: 3
PlanarConfiguration: Tiff.PlanarConfiguration.Chunky
ImageDescription: ImageJ=1.52p
images=5
slices=5
unit=micron
loop=false
Orientation: Tiff.Orientation.TopLeft
Best Answer