<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Ashef, <br></div><div dir="ltr"><br></div><div>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
 <a href="https://www.slicer.org/">https://www.slicer.org/</a> and 
<a href="https://www.slicer.org/wiki/Documentation/Nightly/Training">https://www.slicer.org/wiki/Documentation/Nightly/Training</a></div><div><br></div><div>There is also an active forum where you can ask question: <a href="http://discourse.slicer.org/">http://discourse.slicer.org/</a><br></div><div><br></div><div>Doing so, you could leverage a proven and robust platform built on top of mature libraries.</div><div><br></div><div>More specifically, if you already have processing code you could create a command line <a href="https://www.slicer.org/wiki/Documentation/Nightly/Developers/Modules">module</a>
 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.<br></div><div><br></div><div>To illustrate, here are example of segmentation and visualization capabilities:</div><div><br></div><div><div><span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il"> Whole</span> <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">heart</span> <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">segmentation</span> <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">from</span> <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">cardiac</span> <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">CT</span> <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">in</span> <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">10</span> <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">minutes</span>: <a href="https://www.youtube.com/watch?v=BJoIexIvtGo" target="_blank">https://www.youtube.com/watch?v=BJoIexIvtGo</a></div><div> Creating femur model <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">from</span> <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">CT</span> volume using 3D Slicer: <a href="https://www.youtube.com/watch?v=0at15gjk-Ns" target="_blank">https://www.youtube.com/watch?v=0at15gjk-Ns</a><br></div><div> How to segment multiple vertebrae <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">in</span> spine <span class="gmail-m_2005831931511326736gmail-m_-17349567678565314gmail-il">CT</span> for 3D printing: <a href="https://www.youtube.com/watch?v=Uht6Fwtr9hE" target="_blank">https://www.youtube.com/watch?v=Uht6Fwtr9hE</a></div><div> Quick manual segmentation with contour interpolation: <a href="https://www.youtube.com/watch?v=u93kI1MG6Ic" target="_blank">https://www.youtube.com/watch?v=u93kI1MG6Ic</a></div></div><div><br></div><div>Let me know if you have questions, <br></div><div>Jc<br></div><div dir="ltr"><br></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Apr 30, 2018 at 9:42 AM Aron Helser <<a href="mailto:aron.helser@kitware.com">aron.helser@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ashef,<div>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.</div><div>Since you are working with DICOM, instead you may want to look at 3D Slicer (<a href="https://www.slicer.org/" target="_blank">https://www.slicer.org/</a>) 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.</div><div><br></div><div>The best choice may be something that you are familiar with, or something that you can get help with!</div><div>Good luck,</div><div>Aron</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 29, 2018 at 2:43 PM, Ashef Shahrior <span dir="ltr"><<a href="mailto:ashahrior.91994@gmail.com" target="_blank">ashahrior.91994@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div>