[Insight-users] GDCMImageIO and unsigned Int pixel type

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Oct 3 12:11:11 EDT 2008


On Fri, Oct 3, 2008 at 5:28 PM, Benhacene Boudan Mustafa
<m.benhacene.boudan at umontreal.ca> wrote:
>
> Hi all,
> when i trying to save an image with pixel type of unsigned short in dcm format i get a : "GDCMImageIO(0x8489090): DICOM does not support this component type" message error.
> I don't see anything in the itkGDCMImageIO that explains that error, float and double are not supported but char, short and int should be ok.
>
> Any idea?

You have either an RGB image (more than a single comp image). Or your
image is simply not unsigned short, try printing the actual component
type in the error message and you'll know for sure.

-- 
Mathieu


More information about the Insight-users mailing list