<div>Hello,</div>
<div> </div>
<div>I'm trying to save the result of a segmentation process as an overlay of the original DICOM image.</div>
<div> </div>
<div>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. </div>
<div> </div>
<div>To fill the overlay data field, I'm using: </div>
<div> </div>
<div>itk::EncapsulateMetaData<short int*>(dictionary,"6000|3000", overlay) </div>
<div> </div>
<div>(where overlay is a short int array containing the pixel values (only 0 and 1 if using a ROI overlay type))</div>
<div> </div>
<div>But it doesn't work !</div>
<div> </div>
<div>Any idea on how to solve this problem?</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>