[Insight-users] How to write DICOM overlay?

Sébastien Wilfart swilfart at gmail.com
Wed Jan 5 10:47:16 EST 2011


Hello,

I'm trying to save the result of a segmentation process as an overlay of the
original DICOM image.

In the DICOM standard (C.9, PS 3.3), I found some information about the
tags whose initilization is required (6000|0010: number of rows, 6000|0011:
number of columns, 6000|0040: type,..., 6000|3000: overlay data). The last
one is used to store the pixel sequence describing the segmented region.

To fill the overlay data field, I'm using:

itk::EncapsulateMetaData<short int*>(dictionary,"6000|3000", overlay)

(where overlay is a short int array containing the pixel values (only 0 and
1 if using a ROI overlay type))

But it doesn't work !

Any idea on how to solve this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110105/7ac6c386/attachment.htm>


More information about the Insight-users mailing list