[ITK-users] QVtkWidget beginner questions
ibraheem aldhamari
ibr_ex at yahoo.com
Tue Aug 30 15:14:00 EDT 2016
I am writing some ITK examples while learning it following different tutorials. I have Ubuntu 14.04. I build these tools from the source: ITK 4.10, VTK 7.0, QT5.7 and CMake 3.6.1 In example 2, I wrote a simple GUI application that read a DICOM volume from a folder, displays it in a QVtkWidget, thresholds the slice and displays it in another QVtkWidget. Save the resulted thresholded volume in a new folder. I had some problems that I was able to solve like the dark output and the flipping, see the code comments.
My questions:
1- Is there a way to filter and write all the images at once instead of using the for loop? 2- Writing the way I did make the output volume lost some origin information i.e value, 0,0 . What did I do wrong? 3- I read some posts about using QVtkWidget2 and QVtkWidget3 but I couldn't find them in my vtk build, is there some options I missed when I built vtk? 4- How can I display a specific plane instead of the axial slices e.g. display a coronal slice.
5- How can I get the voxel information when I point in the QVTkWidget? I am not sure if the mapping I used is correct.Here is the link to the examples: GUI ITK Examples using VTK Qt5 and CMake - IbraheemTutorials
Actually, I am not sure if what I did is the correct way to combine QT, VTK and ITK so your comments are welcome.
Best regards!Ibraheem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20160830/bddeacd0/attachment.html>
More information about the Insight-users
mailing list