<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Yuzhihao,<div><br></div><div>It seems to me that you don't need to rewrite the GDCM headers, what you need is access</div><div><br></div><div>to the PET image information and its DICOM header. If you want to create an image based</div><div><br></div><div>on the Standard Uptake Value (SUV) you can use the GDCM reader for reading the PET&nbsp;</div><div><br></div><div>image&nbsp;information and the GDCM writer to write the new image. The SUV related&nbsp;</div><div><br></div><div>information&nbsp;(e.g. radioactivity concentration, injected dose, body weight) should be included</div><div><br></div><div>in the&nbsp;DICOM header which can be accessed using the GDCM IO library,&nbsp;a simple example</div><div><br></div><div>is&nbsp;included in the examples directory of the
 ITK,&nbsp;</div><div><br></div><div>(Examples/IO/DicomImageReadPrintTags.cxx).</div><div><br></div><div>To write the SUV image it is best to identify a Region or Volume of Interest (VOI, ROI) then</div><div><br></div><div>compute the SUV for that region, however you can use the image iterators in ITK to get&nbsp;</div><div><br></div><div>access to&nbsp;each pixel and perform IO operations as you need. Also you can use the&nbsp;</div><div><br></div><div>image iterators to write the SUV image. The "iterators" folder in the&nbsp;examples&nbsp;directory of</div><div><br></div><div>the ITK contains number of examples on image iterators.&nbsp;</div><div><br></div><div>Best regards,</div><div><br></div><div>Dawood</div><div><br><br>--- On <b>Sun, 1/16/11, 余志浩 <i>&lt;yuzhihao_238@163.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: 余志浩
 &lt;yuzhihao_238@163.com&gt;<br>Subject: Re:RE: ITK :read PET image<br>To: davoud_zzz@yahoo.com<br>Date: Sunday, January 16, 2011, 2:59 AM<br><br><div id="yiv879497358"><div><span style="FONT-SIZE:24px;"><span style="FONT-SIZE:18px;">Hi,Thanks for your reply! </span></span></div>
<div>I just want to convert the images to units of <font style="BACKGROUND-COLOR:#ffffff;"><font color="#ff0000"><strong>SUV</strong><strong> </strong></font></font><font style="BACKGROUND-COLOR:#ffffff;">in the<strong><font color="#008000"> itkGDCMImageIO </font></strong>files<strong>.&nbsp;</strong> i'am ready to write a method PetToSUV() in itkGDCMImageIO.h / itkGDCMImageIO.cxx.</font><font style="BACKGROUND-COLOR:#ffffff;">But i don't know how&nbsp;to do it.</font></div>
<div>&nbsp;</div>
<div>First,i need access the dicom r<span style="FONT-SIZE:18px;"></span>eader's data,how should i get the&nbsp; <span style="FONT-SIZE:24px;"></span><font style="FONT-SIZE:24px;" color="#000080">Radionuclide Start Time <span style="FONT-SIZE:18px;"> and&nbsp; <span style="FONT-SIZE:24px;"></span><font style="FONT-SIZE:24px;" color="#000080">Radionuclide Total Dose <span style="FONT-SIZE:16px;">,because&nbsp;<font color="#000000">their are&nbsp;parts of the sequence, and not part of the&nbsp; root element.<br></font></span></font></span></font></div>
<div>Can you give me some suggestions or&nbsp;Examples.&nbsp;</div>
<div>&nbsp;thank you very much! I wish get&nbsp;your a rapid reply!</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dean</div>
<div></div><br>At 2011-01-11 22:16:19,"Dawood&nbsp;Masslawi"&nbsp;&lt;<a rel="nofollow" ymailto="mailto:davoud_zzz@yahoo.com" target="_blank" href="/mc/compose?to=davoud_zzz@yahoo.com">davoud_zzz@yahoo.com</a>&gt; wrote:<br>
<blockquote id="yiv879497358isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid;">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top"><span class="yiv879497358Apple-style-span" style="FONT-SIZE:medium;FONT-FAMILY:'Times New Roman';"><pre>Hi,</pre><pre><br></pre><pre>It depends on the type of change you want to make however, basic</pre><pre><br></pre><pre>IO libraries can be found in the following directory:</pre><pre><br></pre><pre>"InsightToolkit-3.20.0\Code\IO". Since your image is in DICOM format</pre><pre><br></pre><pre>it is best to look at the GDCM and DICOM source codes first. If you</pre><pre><br></pre><pre>need to make more thorough changes in the source code you can trace</pre><pre><br></pre><pre>the headers. </pre><pre><br></pre><pre>Hope this helps and let us know how it works out,</pre><pre><br></pre><pre>Dawood
 Almasslawi</pre><pre><br></pre><pre><br></pre><pre>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</pre><pre><br></pre><pre><span class="yiv879497358Apple-style-span" style="FONT-FAMILY:'Times New Roman';WHITE-SPACE:normal;"><pre>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</pre><pre><br></pre></span></pre><pre><br></pre><pre>HELLO:
 
i want to make a change on itk's files about reading PET images(.dcm) based on SUV
but i don't know where is theSource code about reading .
Can you help me! Thanks!</pre></span></td></tr></tbody></table><br></blockquote><br><br><span title="neteasefooter"><span id="yiv879497358netease_mail_footer"></span></span></div></blockquote></div></td></tr></table><br>