[vtkusers] vtkTIFFReader Multipage tiled TIFF
Thorsten Wagner
jumpfunky at web.de
Wed May 20 19:57:04 EDT 2009
Hello,
i'm working with the vtkTIFFReader. Reading a 2D (1Page) tiled tiff works
fine. But, how can i access a spezific tile or a range of tiles?
Reading a multi page tiff results in a unhandled Win32-Exception. For a
multi page tiff i'm tried this:
vtkTIFFReader* tiffreader = vtkTIFFReader::New();
tiffreader->SetFileName("C:/ct2.tif");
tiffreader->SetFileDimensionality(3);
std::cout << "Start reading" << std::endl;
tiffreader->Update();
std::cout << "Reading successfull" << std::endl;
The same code without "tiffreader->SetFileDimensionality(3);" works for 2D
TIFF fine.
Any Ideas?
Regards,
Thorsten
--
View this message in context: http://www.nabble.com/vtkTIFFReader-Multipage-tiled-TIFF-tp23634719p23634719.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list