Page 1 of 1

Extract information from DICOM images

Posted: 2007-01-14T12:40:56-07:00
by terror
Hi all,
I need to extract information like Patient ID, Patient Name, slice number etc from DICOM images. How can this be done? I'm using MagickWand C implementation of ImageMagick. Can someone help me plz?

Posted: 2007-01-14T17:38:56-07:00
by magick
Use MagickGetImageProperty() to get DCM properties. First try
  • identify -verbose image.dcm
and you will get the property names. You can then get the value associated with the property name with MagickGetImageProperty().