[Insight-users] RGB DICOMs

Martin Kavec martin.kavec at gmail.com
Thu Apr 23 16:13:23 EDT 2009


Hi Mathieu,

On Thu, Apr 23, 2009 at 12:02 PM, Mathieu Malaterre <
mathieu.malaterre at gmail.com> wrote:

> 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.
>

If I do not the code above, the resulting dicoms have correct number of
slices, but each slice is composed of 4 identical copies of the original
image in 4 quadrants.


> > 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.
>

 The complete code is attached. Thanks for looking at it.

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090423/db2057ed/attachment.htm>


More information about the Insight-users mailing list