[vtkusers] help to read DICOM image
    m26404030 at john.petra.ac.id 
    m26404030 at john.petra.ac.id
       
    Wed Sep 19 02:40:59 EDT 2007
    
    
  
Thanx for the answer, but i still can't get what i want..
Do you mean like this??
void main()
{
 vtkMedicalImageReader2*reader=vtkMedicalImageReader2::New();
 reader->SetFileName("image.dcm");
 //
 reader->Update();
 //
 printf("%s",reader->GetMedicalImageProperties()->GetPatientSex());
 printf("%s",reader->GetMedicalImageProperties()->GetPatientAge());
 printf("%s",reader->GetMedicalImageProperties()->GetModality());
}
All of the functions still return NULL..
Or maybe this is a bug??
Regards, John.
    
    
More information about the vtkusers
mailing list