[Insight-users] RE : GDCMImageIO and unsigned Int pixel type
Benhacene Boudan Mustafa
m.benhacene.boudan at umontreal.ca
Fri Oct 3 12:27:38 EDT 2008
Hi mathieu, thank you for the answer.
I was a bit tired when i wrote my message. I am trying to save an unsigned int image (not unsigned short) in dicom format.
I can use the unsigned char and short but i get an error using the unsigned int type. Any idea why?
karim
-------- Message d'origine--------
De: Mathieu Malaterre [mailto:mathieu.malaterre at gmail.com]
Date: ven. 03/10/2008 12:11
À: Benhacene Boudan Mustafa
Cc: insight-users at itk.org
Objet : Re: [Insight-users] GDCMImageIO and unsigned Int pixel type
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