<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-CH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hello ITK-User,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>I am using the Image Series Writer to write a series of DICOM files. In the past, this class had some problems with the z-spacing (always 1mm). Fortunately this problem was almost &nbsp;solved with the latest ITK version. Almost &nbsp;solved because of the following reasons:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>I tested the class by reading and writing and reading again the same series. Based on the fact, that neither a registration nor any other manipulation of the image has been performed, the Meta Data Dictionary Array should be the same all over the writing and reading process. <b>THIS is not the case.<o:p></o:p></b></span></p><p class=MsoNormal><b><span lang=EN-US><o:p>&nbsp;</o:p></span></b></p><p class=MsoNormal><span lang=EN-US>The following entries, of the Meta Data Dictionary Array, differ from each other only by rewriting:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>-----------------------------------------------<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0018|0088<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Original ID tag value: 3.75<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Rewritten ID tag value: 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0018|1310<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Original ID tag value: 0\256\224\0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Rewritten ID tag value: 23600\13618\23606\12850\23604\48<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal>ID tag: 0020|0037<o:p></o:p></p><p class=MsoNormal>Original ID tag value: 1\-2.0397992e-010\2.1439154e-011\2.051035e-010\0.9945219\-0.10452846<o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Rewritten ID tag value: 1\0\0\0\1\0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0028|0101<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Original ID tag value: 12<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Rewritten ID tag value: 16<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0028|0102<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Original ID tag value: 11<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Rewritten ID tag value: 15<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0028|0103<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Original ID tag value: 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Rewritten ID tag value: 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0028|0106<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Original ID tag value: 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Rewritten ID tag value: 48<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0028|0107<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Original ID tag value: 994<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Rewritten ID tag value: 14649\52<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>--------------------------------------------------------------------------------<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0018|0088 -&gt; Is the spacing between slices and automatically set to 1mm. &nbsp;why??&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0018|1310 -&gt; Acquisition Matrix. Why does this value change. ?? No registration has been performed !!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0020|0037-&gt; Image orientation (Patient). The Identity matrix is set automatically. Why ?? if no changes have been performed, why it must be changed?? &nbsp;Recalculation ??<b> </b>See: &nbsp;https://issues.itk.org/jira/browse/ITK-281<b><o:p></o:p></b></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0028|0101-&gt; Number of Bits stored. The image has not been changed, why is this value not the same as on the original image??<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0028|0102-&gt; Number of Bits stored. The image has not been changed, why is this value not the same as on the original image??<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0028|0103-&gt; Number of Bits stored. The image has not been changed, why is this value not the same as on the original image??<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>ID tag: 0028|0106-&gt; Smallest Image Pixel Value. Why does this value change???!!!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal>ID tag: 0028|0107-&gt; Largest Image Pixel Value. <span lang=EN-US>It added a dimension??!!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>The Tags &#8220;Number of Bits stored&#8221; differs because I used a higher Bit number type, I guess. Or are the last four Bits redundant??<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Question: Is it possible to change the Meta Data Dictionary Array only, without touching the images and not using the Image Series Writer class ??<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Best Regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Thomas<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p></div></body></html>