<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 </div><div><br></div><div>image information and the GDCM writer to write the new image. The SUV related </div><div><br></div><div>information (e.g. radioactivity concentration, injected dose, body weight) should be included</div><div><br></div><div>in the DICOM header which can be accessed using the GDCM IO library, a simple example</div><div><br></div><div>is included in the examples directory of the
ITK, </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 </div><div><br></div><div>access to each pixel and perform IO operations as you need. Also you can use the </div><div><br></div><div>image iterators to write the SUV image. The "iterators" folder in the examples directory of</div><div><br></div><div>the ITK contains number of examples on image iterators. </div><div><br></div><div>Best regards,</div><div><br></div><div>Dawood</div><div><br><br>--- On <b>Sun, 1/16/11, 余志浩 <i><yuzhihao_238@163.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: 余志浩
<yuzhihao_238@163.com><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>. </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 to do it.</font></div>
<div> </div>
<div>First,i need access the dicom r<span style="FONT-SIZE:18px;"></span>eader's data,how should i get the <span style="FONT-SIZE:24px;"></span><font style="FONT-SIZE:24px;" color="#000080">Radionuclide Start Time <span style="FONT-SIZE:18px;"> and <span style="FONT-SIZE:24px;"></span><font style="FONT-SIZE:24px;" color="#000080">Radionuclide Total Dose <span style="FONT-SIZE:16px;">,because <font color="#000000">their are parts of the sequence, and not part of the root element.<br></font></span></font></span></font></div>
<div>Can you give me some suggestions or Examples. </div>
<div> thank you very much! I wish get your a rapid reply!</div>
<div> </div>
<div> Dean</div>
<div></div><br>At 2011-01-11 22:16:19,"Dawood Masslawi" <<a rel="nofollow" ymailto="mailto:davoud_zzz@yahoo.com" target="_blank" href="/mc/compose?to=davoud_zzz@yahoo.com">davoud_zzz@yahoo.com</a>> 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>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</pre><pre><br></pre><pre><span class="yiv879497358Apple-style-span" style="FONT-FAMILY:'Times New Roman';WHITE-SPACE:normal;"><pre>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</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>