[Insight-users] Slice spacing of DICOM series

Mathieu Malaterre mathieu.malaterre at kitware.com
Fri Sep 2 13:10:32 EDT 2005


Andrew,

	Could you check you are using GDCM. GDCM was not the default DICOM IO 
factory until very recently.

	For more info on the ZSpacing you can check what is being done in 
gdcm/src/gdcmFile.cxx:File::GetZSpacing()

HTH,
Mathieu



Andrew Li wrote:
> Hi,
> 
> We use itk::ImageSeriesReader to read 3D MRI data set that is stored as
> a (2D) DICOM series and then check the slice spacing in slice direction
> as following:  
> 	...
> 	ReaderType::Pointer reader = ReaderType::New();
> 	...
> 	double sliceSpacingInSliceDirection =
> (reader->GetOutput()->GetSpacing())[2]; 
> 	...
> 
> How slice spacing in slice direction is derived in
> itk::ImageSeriesReader Class? It seems not from the tag: {0x0018,
> 0x0088} (spacing between slices).
> 
> Please let me know. Thanks.
> 
> -Andrew
>  
> --------------------------------------------------------
> 
> This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information.Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.
> --------------------------------------------------------
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 



More information about the Insight-users mailing list