Hi all,<div><br></div><div> It looks like that the variable m_FrameOfReferenceInstanceUID is generated but not saved into DICOM file in Code/IO/itkGDCMImageIO.cxx. It there a reason?</div><div>This field is useful if some other DICOM files need to refer to the generated image file. Please consider save this field and a few codes around the line 950 as follows will suffice:</div>
<div><br></div><div> const char *frameofreferenceuid = m_FrameOfReferenceInstanceUID.c_str();</div><div> {</div><div> gdcm::DataElement de( gdcm::Tag(0x0020, 0x0052) ); // Frame of Reference</div><div> de.SetByteValue( <meta charset="utf-8">frameofreferenceuid, strlen(<meta charset="utf-8">frameofreferenceuid) );</div>
<div> de.SetVR( gdcm::Attribute< 0x0020, 0x0052 >::GetVR() );</div><div> header.Insert(de);</div><div> }</div><div><br></div><div>Thanks,</div><div>Mengda</div>