[vtkusers] [Insight-users] DICOM information

Luis Ibanez luis.ibanez at kitware.com
Sun Dec 12 21:32:23 EST 2010


Hi Xiaopeng,

Please look at the example

      ITK/Examples/IO/DicomImageReadPrintTags.cxx

The tags that you need are listed here:

http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/DICOM.html

0010,0010 	PatientName
0010,0040 	PatientSex
0010,1010 	PatientAge

In the Example above,
the lines of code 300 to 333 show you
how to get the patient name.

You can get the other values by using the
DICOM tags for Sex and Age.



    Regards


          Luis


------------------------------------------------------
On Sun, Dec 12, 2010 at 9:10 PM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> Hello everyone,
>
> I'm trying to get patient name, age, and sex from a series of CT images. But
> I have no idea how to do this. I am using ITK GDCMImageIO to load the
> dataset, then connecting ITK to VTK, and then using VTK Imageviewer2 to
> visualize the dataset.
>
> Based on the algorithms I used, how can I get patient information?
>
> Thank you for your help.
>
> Best,
> Xiaopeng
>
>
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>



More information about the vtkusers mailing list