[vtkusers] Creating a GUI based project for VTK and ITK

Jean-Christophe Fillion-Robin jcfr at kitware.com
Tue Oct 16 14:12:29 EDT 2018


Hi Ashef,

To complement Aron answer, if you would like to support distribution of
your code and leverage existing segmentation and visualization
capabilities, you could consider creating 3D Slicer plugin in either C++ or
Python. 3D Slicer is a medical imaging application built on top of ITK,
VTK, Qt and Python. See https://www.slicer.org/ and
https://www.slicer.org/wiki/Documentation/Nightly/Training

There is also an active forum where you can ask question:
http://discourse.slicer.org/

Doing so, you could leverage a proven and robust platform built on top of
mature libraries.

More specifically, if you already have processing code you could create a
command line module
<https://www.slicer.org/wiki/Documentation/Nightly/Developers/Modules>
implementing the Slicer Execution Model interface (basically an executable
describing itself by passing the --xml parameter), that way you could have
Slicer discover it, generate its UI and expose the processing capabilities
to users.

To illustrate, here are example of segmentation and visualization
capabilities:

 Whole heart segmentation from cardiac CT in 10 minutes:
https://www.youtube.com/watch?v=BJoIexIvtGo
 Creating femur model from CT volume using 3D Slicer:
https://www.youtube.com/watch?v=0at15gjk-Ns
 How to segment multiple vertebrae in spine CT for 3D printing:
https://www.youtube.com/watch?v=Uht6Fwtr9hE
 Quick manual segmentation with contour interpolation:
https://www.youtube.com/watch?v=u93kI1MG6Ic

Let me know if you have questions,
Jc


On Mon, Apr 30, 2018 at 9:42 AM Aron Helser <aron.helser at kitware.com> wrote:

> Hi Ashef,
> VTK and ITK do not provide any prescribed way to do a GUI - there are
> hundreds of choices you could use, and they would all work. For instance,
> ParaView is built on VTK, and uses QT for it's GUI. You could also build a
> gui in Python, perhaps using wxWidgets python bindings.
> Since you are working with DICOM, instead you may want to look at 3D
> Slicer (https://www.slicer.org/) which is an open-source medical
> visualization app that uses VTK and ITK. You may be able to write a plugin
> for it which does what you want, and take advantage of all it's other
> features.
>
> The best choice may be something that you are familiar with, or something
> that you can get help with!
> Good luck,
> Aron
>
> On Sun, Apr 29, 2018 at 2:43 PM, Ashef Shahrior <ashahrior.91994 at gmail.com
> > wrote:
>
>> Hi, I have done some basic work with DICOM file segmentation and
>> visualization using ITK and VTK in C++. I have built it with CMAKE and
>> Visual Studio and run it with command prompt (Windows 10). But now I wish
>> to make a Graphical User Interface for this so that I can give it more of a
>> project look. How can I do this? Please, help. Thank you.
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://vtk.org/mailman/listinfo/vtkusers
>>
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181016/8855120e/attachment.html>


More information about the vtkusers mailing list