hello all, i need to read the information in DICOM images such as modality, patient sex, etc..<br><br>i have tried to use vtkMedicalImageReader2 and vtkMedicalImageProperties, but still failed to get what i need..<br><br>void main()<br>{<br>&nbsp;&nbsp;&nbsp; vtkMedicalImageReader2 *reader=vtkMedicalImageReader2::New();<br>&nbsp;&nbsp;&nbsp; reader-&gt;SetFileName("image.dcm");<br>&nbsp;&nbsp;&nbsp; printf("%s",reader-&gt;GetMedicalImageProperties()-&gt;GetPatientSex());<br>&nbsp;&nbsp;&nbsp; printf("%s",reader-&gt;GetMedicalImageProperties()-&gt;GetPatientAge());<br>&nbsp;&nbsp;&nbsp; printf("%s",reader-&gt;GetMedicalImageProperties()-&gt;GetModality());<br>}<br><br>WHY all of the functions getpatientage, getpatientsex, etc. all return NULL value..<br>can someone help me with this? btw, i have tried to use vtkDICOMImageReader too, but i can only get the patientname with that class since vtkDICOMImageReader just have GetPatientName() function..<br>And I guarantee that my
 sample DICOM images are not broken..<br><br><br>Thanx in advance..<br><br>Regards, John..<br><br><p>&#32;
      <hr size=1>Shape Yahoo! in your own image.  
<a href="http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7">Join our Network Research Panel today!</a>