[vtkusers] Read TIFF files in specified directory

Polys Polykarpou polys_poly at hotmail.com
Fri Nov 23 07:01:01 EST 2007


How can i read all .tif files in a certain directory. I found that u can read DICOM images using 
 
vtkDICOMImageReader* pRead = vtkDICOMImageReader::New();
pRead->SetDirectoryName(strPath);
 
SetDirectoryName does the following:
 
"Set the directory name for the reader to look in for DICOM files. If this method is used, the reader will try to find all the DICOM files in a directory. It will select the subset corresponding to the first series UID it stumbles across and it will try to build an ordered volume from them based on the slice number. The volume building will be upgraded to something more sophisticated in the future."
 
I want to do the same with .tif files (that is find all the TIFF files in a directory and build an ordered volume from them).
 
Thanx in advance,
Polys
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071123/76c0c08a/attachment.htm>


More information about the vtkusers mailing list