<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
How can i read <STRONG><U>all </U></STRONG>.tif files in a certain directory. I found that u can read DICOM images using <BR>
<BR><FONT size=2>
<EM>vtkDICOMImageReader* pRead = vtkDICOMImageReader::New();</EM><BR></FONT><FONT size=2>
<EM>pRead->SetDirectoryName(strPath);</EM><BR></FONT>
<BR>
<STRONG>SetDirectoryName</STRONG> does the following:<BR>
<BR>
"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."<BR>
<BR>
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).<BR>
<BR>
Thanx in advance,<BR>
Polys<BR><br /><hr />Discover the new Windows Vista <a href='http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>