[vtkusers] Ref:vtkDICOMImageReader.

Ing Manuel Ochoa m8a at prodigy.net.mx
Tue Feb 6 16:55:17 EST 2007


I can open some dicoms files  but Know the problem is when i try open diferent  dicom file, the compiler showme the next message  when i call function  reader->Update()

Unhandled exception at 0x7814724d in LecturaDicom.exe: 0xC0000005: Access violation reading location 0x018af3f0.

this my code 

vtkDICOMImageReader *reader = vtkDICOMImageReader::New();
reader->SetFileName("C:/IMG/shoulder.dcm");
reader->Update();
vtkImageData* ima = reader->GetOutput();
int* Size = ima->GetDimensions();

     
Ing. Manuel ochoa Alfaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070206/89581fd1/attachment.htm>


More information about the vtkusers mailing list