Hi and welcome to MITK!

The last version of MITK that supported Qt 5 was MITK v2023.12, as far as I 
know. Starting with later versions, Qt 6.6+ is a strict requirement.

To get started, I recommend running the MitkWorkbench application and exploring 
the contour interaction functionalities available in two different plugins:

- Measurement [1]: The Draw Polygon and Draw Subdivision Polygon tools 
demonstrate how contours can be interacted with.

- Segmentation [2]: The Lasso and LiveWire tools are both based on contour 
interaction.

MITK provides at least two approaches for working with contours and interacting 
with them. However, you will need to write some code—for example, handling a 
Modified event to map contour changes back to a 3D model (referred to as a 
Surface in MITK). Additionally, MITK's current interactors only operate on 
individual contour vertices.

If you aim to implement an approach similar to what you showed in your 
video—where multiple neighboring vertices of a contour are modified 
simultaneously—you will need to develop a custom interactor. While this is 
certainly possible, it is not the simplest task for a first MITK project.

Best,
Stefan

[1] https://docs.mitk.org/2024.12/org_mitk_views_measurement.html
[2] 
https://docs.mitk.org/2024.12/org_mitk_views_segmentation.html#org_mitk_views_segmentationlivewiretool

________________________________________
Von: Mujassim Jamal <mujassimjama...@gmail.com>
Gesendet: Mittwoch, 5. Februar 2025 11:27
An: mitk-users@lists.sourceforge.net
Betreff: [Extern] - [mitk-users] Contour Editing in MITK

Hi,

First of all, I am new to using MITK. I am working with Qt 5.15.2, but I 
couldn't find an MITK version compatible with this Qt version. Therefore, I 
built the latest version of MITK (v2024.12).

My question is: Can I use the MITK toolkit to create a contour editing feature 
such that, after projecting a 3D model as a contour onto the 2D segmentation, I 
can pick and drag the points on the contour in 2D and see the effect directly 
on the 3D model? I found that MITK provides various contour-related classes, 
but I am unsure whether they can be used for my specific use case.

I am attaching a Google Drive link that contains a video showcasing what I want 
to achieve using MITK.
Video: 
https://drive.google.com/file/d/1Wu3UJmQQeewlR0Thvx7TPP0iYLEmfu1J/view?usp=sharing

Thank you.


_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to