.php xmlns="http://www.w3.org/1999/.php"> - k-Wave MATLAB Toolbox
k-Wave Toolbox

saveTiffStack

Save volume data as a tiff stack.

Syntax

saveTiffStack(M)
saveTiffStack(M, filename)
saveTiffStack(M, filename, bit_depth)
saveTiffStack(M, [], bit_depth)

Description

saveTiffStack saves 3D volume data in matrix form as a stacked tiff image. If the data is indexed as [x, y, z], each image corresponds to an [y, z] slice of the data. If no filename is given, a dialog box is invoked.

Inputs

M the volume data to save
filename filename string
bit_depth bit depth of the tiff image (set to 8 or 16; default = 8)

See Also

imwrite
<.php>