[vtkusers] How to read a tiff file into volume
Kim Chuan Lim
lim.kim.chuan at gmail.com
Wed Jul 6 13:11:24 EDT 2005
i use vtkTIFFReader to read a stacked tiff format file like this
r SetFileName "$VTK_DATA_ROOT/2.tif"
scan [[r GetOutput] GetWholeExtent] "%d %d %d %d %d %d" \
xMin xMax yMin yMax zMin zMax
puts "xMin= $xMin , xMax = $xMax, yMin = $yMin , zMin = $zMin , zMax = $zMax"
The return values are all ZERO except xMax is equal to some value..
May i know how can i read a stacked tiff format file into volume?
Thanks in advance,
More information about the vtkusers