[Insight-users] RGB DICOMs

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Apr 23 06:02:22 EDT 2009


On Thu, Apr 23, 2009 at 1:47 AM, Martin Kavec <martin.kavec at gmail.com> wrote:
> Hi all,
>
> I am using ITK-3.12 and its gdcm1 to produce RGB Dicoms. I define
> RGBPixel<unsigned char> and unless I take care of setting
>
> // AlocatedBits
> itk::EncapsulateMetaData<std::string>(*dict,"0028|0100", "8");
>
> // BitsStored
> itk::EncapsulateMetaData<std::string>(*dict,"0028|0101", "8");
>
> // HighBit
> itk::EncapsulateMetaData<std::string>(*dict,"0028|0102", "8");

That's incorrect.

> my images are not correctly interpreted.

This is quite a generic sentence. What does this means.

> I am not completely sure if these setting are by designed really left to be
> set by user?

It should not, and AFAIK it is working. Please send complete code.

Thanks,
-- 
Mathieu


More information about the Insight-users mailing list