# Is there a tool to fill a 2D contour?

**URL:** https://discourse.slicer.org/t/is-there-a-tool-to-fill-a-2d-contour/40903
**Category:** Support
**Created:** [December 30, 2024, 8:42am UTC](https://discourse.slicer.org/t/is-there-a-tool-to-fill-a-2d-contour/40903 "2024-12-30T08:42:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Xiaojie\_Guo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/xiaojie_guo/32/67098_2.png) [@Xiaojie\_Guo](https://discourse.slicer.org/u/Xiaojie_Guo)
#### Post date: [December 30, 2024, 8:42am UTC](https://discourse.slicer.org/t/is-there-a-tool-to-fill-a-2d-contour/40903/1 "2024-12-30T08:42:34Z")

</div>

Hi, all.  
I have a segmentation result like this:

 ![图片](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/9/f99d6719baabcc6319b107ca8c3be5c4a6e681e0.png)  
I want to fill this 2D mask with the 2D contour. Is there any way to finish that?

---

<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: [December 30, 2024, 9:14am UTC](https://discourse.slicer.org/t/is-there-a-tool-to-fill-a-2d-contour/40903/2 "2024-12-30T09:14:56Z")

</div>

What tool are you using to draw the outline? If you use the draw tool, right click to fill inside the contour.

---

<div class="post-metadata">

### Author: ![Xiaojie\_Guo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/xiaojie_guo/32/67098_2.png) [@Xiaojie\_Guo](https://discourse.slicer.org/u/Xiaojie_Guo)
#### Post date: [December 31, 2024, 1:19am UTC](https://discourse.slicer.org/t/is-there-a-tool-to-fill-a-2d-contour/40903/3 "2024-12-31T01:19:55Z")

</div>

I used the Paint tool, and I should change it to Draw. Thanks.
