[vtkusers] use itk dicom reader with QT

Brenno Ribeiro brennobr at gmail.com
Mon Feb 27 15:16:36 EST 2012


Ok, I could build my project but without use the IDE Qt Creator. I could it
creating a folder with the CMakeLists.txt and the .cxx and the bin folder
and indicate them to cmake-gui to compile using unix compiler. I can
execute the bin but i don't know what is the right way of the line comand.
I tried these ways:
-(1*)BinName DicomDir OutPutFile.jpeg (this way doesn't let me to execute
the bin send me a message "Usage: ./BinName Filename(.jpeg)" )
-(2*)BinName OutPutFile.jpeg DicomDir (this way executes the bin but
doesn't show a black image because it ignored the last argument)
-(3*)In the code .cxx i tried to swap the "argv[1]" by the path where is my
dicom file, this was the best result because found the dicom file and get
some dimension from him and create a window with higher dimensions but a
can't see the image yet. The window continuous black and there's a message
of error from about a file on the vtk library:

"vtkDICOMImageReader.cxx, line 346
vtkDICOMImageReader (0x28a2690): There was a problem retrieving data from:"

The source i'm trying to use is the same i told before and the unique
change i tried i did on number (3*)



-- 
Brenno Bernardes Ribeiro

Engenharia da Computação
Universidade Federal do Pará
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120227/1dfc3bb5/attachment.htm>


More information about the vtkusers mailing list