[vtkusers] How can I open a TIFF file?

Andy Cedilnik andy.cedilnik at kitware.com
Tue Jun 4 08:11:01 EDT 2002


If I remember correctly, VTK 3.2 had the old TIFF reader inside
(vtkTIFFReader). It is however limited to only a hand full of TIFF
formats. If you want to be able to open arbitrary TIFF format, I suggest
switching to VTK 4.*.

vtkTIFFReader r
r SetFileName "file.tif"
r Update

			Andy

On Tue, 2002-06-04 at 05:53, Rocío Sánchez Fernández wrote:
> Is there any way to open a TIFF file and to get a pointer of the
> luminance of the pixels independently of the NumberOfScalarsComponents? I
> only work with gray-level images, but I have images with 1 and 4
> ScalarComponents...
> I work with VTK 3.2 and tcl/tk on workstation Linux.





More information about the vtkusers mailing list