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

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Mar 1 05:55:00 EST 2010


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