[Insight-users] Converting NIfTI volume to dcm series using ImageReadDicomSeriesWrite.cxx

Jason.Dowling at csiro.au Jason.Dowling at csiro.au
Mon Mar 1 19:27:49 EST 2010


Thanks Mathieu!!  The conversion is working perfectly now (using current cvs checkout ).  

Cheers,
Jason


________________________________________
From: Mathieu Malaterre [mathieu.malaterre at gmail.com]
Sent: Monday, 1 March 2010 8:55 PM
To: Dowling, Jason (ICT Centre, Herston - RBWH)
Cc: insight-users at itk.org
Subject: Re: [Insight-users] Converting NIfTI volume to dcm series using        ImageReadDicomSeriesWrite.cxx

On Mon, Mar 1, 2010 at 8:07 AM,  <Jason.Dowling at csiro.au> wrote:
> Hi,
>
> I'm trying to convert a (generated) CT NIfTi volume to a .dcm series and have an annoying problem:.  The .nii volume has been pixel type of unsigned short.   I am trying to write an intensity range between 0-2510 (and then update the rescale intercept tag to -1024).  ImageReadDicomSeriesWrite compiles and runs without problems, however the image data in the output .dcm files is always truncated to 8 bits.  Any tags I specify seem to be ignored (eg. "0008|0060" Modality  or "0028|1052" rescale intercept.  I'm using itk-3.16.0 and I've used both the itk gdcm and also my local build of gdcm2 (2.0.12).
>

This might have to do with (closed: 2009-09-19 09:47):
http://www.itk.org/Bug/view.php?id=9570

You need something more recent than ITK 3.16 according to bug report.

--
Mathieu


More information about the Insight-users mailing list