[vtkusers] Dicom Header File
    Hellice 
    saouli-abdelhak at hotmail.com
       
    Mon Mar 19 17:33:56 EDT 2012
    
    
  
Is vtkMedicalImageReader2 realy  has bugs cose today i was mining the forum
then i found somthing about
it they said that i can us'it to get access to the DICOM extra information
but the problem is it didnt work
here is my code :
*void main()
{
 vtkMedicalImageReader2*reader=vtkMedicalImageReader2::New();
 reader->SetFileName("image.dcm");
 reader->Update();
 
 printf("%s",reader->GetMedicalImageProperties()->GetPatientSex());
 printf("%s",reader->GetMedicalImageProperties()->GetPatientAge());
}*
the out put is NULL; othere thing when i use c++ output for printing like
cout << GetMedicalImageProperties()->GetPatientSex();
I get crush after debugin just like violent access to memorie  
--
View this message in context: http://vtk.1045678.n5.nabble.com/Dicom-Header-File-tp5560527p5578412.html
Sent from the VTK - Users mailing list archive at Nabble.com.
    
    
More information about the vtkusers
mailing list