<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">From: Jim Qicun Shi<br class=""><br class="">Does anyone know how to re-set 0018 | 0088 tag in DICOM file? I tried the "normal" way ( the way to re-set other tags such as 0018 | 0050 and it is ok to re-set.) to set a value, 0.5, for example, but its value in the output DICOM slices is always 1. Why? If not allow to re-set, may I remove the tag from DICOM file? My original DICOM is short of this tag. I are using ITK 4.7.1.</div></blockquote></div><div><br class=""></div><div>For a 2D image the itk::GDCMImageIO class will not set the spacing internally. I extended this class to re-write the Write() method to use the value from the spacing value in the meta-data to set the m_Spacing[ 2 ] value.</div><div><br class=""></div><div>Regards,</div><div><br class=""></div><div class=""><b class="">Todd Jensen</b>, PhD</div><div class="">Jensen Informatics LLC</div><div class=""><a href="http://www.linkedin.com/in/toddjensen" class="">http://www.linkedin.com/in/toddjensen</a></div><div class="">+1 (262) 682-0143</div><div class=""><a href="mailto:todd@jenseninformatics.com" class="">todd@jenseninformatics.com</a></div></body></html>