# Drawing an irregular ROI in the image

**URL:** <https://discourse.slicer.org/t/drawing-an-irregular-roi-in-the-image/33889>\
**Category:** Support\
**Created:** [January 21, 2024, 6:18am UTC](https://discourse.slicer.org/t/drawing-an-irregular-roi-in-the-image/33889 "2024-01-21T06:18:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atena](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@Atena](https://discourse.slicer.org/u/Atena)\
**Post date:** [January 21, 2024, 6:18am UTC](https://discourse.slicer.org/t/drawing-an-irregular-roi-in-the-image/33889/1 "2024-01-21T06:18:36Z")

</div>

I use windows 10 , and 3d slicer (5.6.1 version). To show vascular leakage in my image, I need to draw an irregular ROI instead of a square or rectangle and use these areas in artificial intelligence algorithms.  
can you help me?

 ![Screenshot](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/a/6a1ed17958ea0ef1ae6b9326aae3d32fe62b6f4e.jpeg)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [January 21, 2024, 6:53am UTC](https://discourse.slicer.org/t/drawing-an-irregular-roi-in-the-image/33889/2 "2024-01-21T06:53:08Z")

</div>

You can use segment editor to create any irregular shaped region.

---

<div class="post-metadata">

**Author:** ![Atena](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@Atena](https://discourse.slicer.org/u/Atena)\
**Post date:** [January 21, 2024, 7:20am UTC](https://discourse.slicer.org/t/drawing-an-irregular-roi-in-the-image/33889/3 "2024-01-21T07:20:20Z")

</div>

it is very difficult. because vessels and leakage have a lot of elegance and the negative pixels are placed in the target volume.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [January 21, 2024, 4:35pm UTC](https://discourse.slicer.org/t/drawing-an-irregular-roi-in-the-image/33889/4 "2024-01-21T16:35:41Z")

</div>

For vessels, i believe people use curve markup, which you can turn into models and segmentations.

---

<div class="post-metadata">

**Author:** ![Atena](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@Atena](https://discourse.slicer.org/u/Atena)\
**Post date:** [January 22, 2024, 11:49am UTC](https://discourse.slicer.org/t/drawing-an-irregular-roi-in-the-image/33889/5 "2024-01-22T11:49:57Z")

</div>

thank you for your response.  
How can I use curve markup?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [January 22, 2024, 3:49pm UTC](https://discourse.slicer.org/t/drawing-an-irregular-roi-in-the-image/33889/6 "2024-01-22T15:49:32Z")

</div>

Vessel segmentation is not something I familiar with. As I understand you use the curve tool to trace the vessel and you use the MarkupsToModels extension to convert the curve to a tube with a specific diameter. If you search the forum you can find more details.
