[Insight-users] ITK :read PET image
Dawood Masslawi
masslawi at gmail.com
Sun Jan 16 09:32:35 EST 2011
Hi Yuzhihao,
It seems to me that you don't need to rewrite the GDCM headers, what you need is access
to the PET image information and its DICOM header. If you want to create an image based
on the Standard Uptake Value (SUV) you can use the GDCM reader for reading the PET
image information and the GDCM writer to write the new image. The SUV related
information (e.g. radioactivity concentration, injected dose, body weight) should be included
in the DICOM header which can be accessed using the GDCM IO library, a simple example
is included in the examples directory of the ITK,
(Examples/IO/DicomImageReadPrintTags.cxx).
To write the SUV image it is best to identify a Region or Volume of Interest (VOI, ROI) then
compute the SUV for that region, however you can use the image iterators in ITK to get
access to each pixel and perform IO operations as you need. Also you can use the
image iterators to write the SUV image. The "iterators" folder in the examples directory of
the ITK contains number of examples on image iterators.
Best regards,
Dawood
--- On Sun, 1/16/11, 余志浩 <yuzhihao_238 at 163.com> wrote:
From: 余志浩 <yuzhihao_238 at 163.com>
Subject: Re:RE: ITK :read PET image
To: masslawi at gmail.com
Date: Sunday, January 16, 2011, 2:59 AM
Hi,Thanks for your reply!
I just want to convert the images to units of SUV in the itkGDCMImageIO files. i'am ready to write a method PetToSUV() in itkGDCMImageIO.h / itkGDCMImageIO.cxx.But i don't know how to do it.
First,i need access the dicom reader's data,how should i get the Radionuclide Start Time and Radionuclide Total Dose ,because their are parts of the sequence, and not part of the root element.
Can you give me some suggestions or Examples.
thank you very much! I wish get your a rapid reply!
Dean
At 2011-01-11 22:16:19,"Dawood Masslawi" <masslawi at gmail.com> wrote:
Hi,
It depends on the type of change you want to make however, basic
IO libraries can be found in the following directory:
"InsightToolkit-3.20.0\Code\IO". Since your image is in DICOM format
it is best to look at the GDCM and DICOM source codes first. If you
need to make more thorough changes in the source code you can trace
the headers.
Hope this helps and let us know how it works out,
Dawood
Almasslawi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110116/f502754f/attachment.htm>
More information about the Insight-users
mailing list