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> vtkMedicalImageReader2 *reader=vtkMedicalImageReader2::New();<br> reader->SetFileName("image.dcm");<br> printf("%s",reader->GetMedicalImageProperties()->GetPatientSex());<br> printf("%s",reader->GetMedicalImageProperties()->GetPatientAge());<br> printf("%s",reader->GetMedicalImageProperties()->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> 
<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>