<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Bookman Old Style">Hi,</FONT></DIV>
<DIV><FONT face="Bookman Old Style"></FONT> </DIV>
<DIV><FONT face="Bookman Old Style">I use the below codes to read a series of
MRI,</FONT></DIV>
<DIV><FONT face="Bookman Old Style"></FONT> </DIV>
<DIV><FONT face="Bookman Old Style"> this->dicomReader =
ReaderType_Short::New();//itk<BR> itk::DICOMSeriesFileNames::Pointer
nameGenerator =
itk::DICOMSeriesFileNames::New();<BR> nameGenerator->SetDirectory(
(const char*)strPath );<BR> typedef std::vector<std::string>
fileNamesContainer;<BR> fileNamesContainer fileNames;<BR> fileNames =
nameGenerator->GetFileNames();<BR> this->dicomReader->SetImageIO(
itk::DICOMImageIO2::New() );<BR> this->dicomReader->SetFileNames(
fileNames ); <BR> this->dicomReader->Update();</FONT></DIV>
<DIV><FONT face="Bookman Old Style"></FONT> </DIV>
<DIV><FONT face="Bookman Old Style">However, the spacing[2], namely spacing
between slices, is uncorrect. </FONT></DIV>
<DIV><FONT face="Bookman Old Style"></FONT> </DIV>
<DIV><FONT face="Bookman Old Style">Hope your help! </FONT></DIV>
<DIV><FONT face="Bookman Old Style"></FONT> </DIV>
<DIV><FONT face="Bookman Old Style"></FONT> </DIV>
<DIV><FONT face="Bookman Old Style">Regards,</FONT></DIV>
<DIV><FONT face="Bookman Old Style"></FONT> </DIV>
<DIV><FONT face="Bookman Old Style">Yixun Liu</FONT></DIV></BODY></HTML>