# \#segment

**URL:** https://community.ultralytics.com/tag/segment/40.md

[Latest](https://community.ultralytics.com/latest.md) · [Categories](https://community.ultralytics.com/categories.md) · [Tags](https://community.ultralytics.com/tags.md)

---

## [In instance segmentation, if the segmented parts are discontinuous, how to put the contours of the discontinuous parts into the same mask](https://community.ultralytics.com/t/in-instance-segmentation-if-the-segmented-parts-are-discontinuous-how-to-put-the-contours-of-the-discontinuous-parts-into-the-same-mask/432)

<div class="topic-metadata">

**Author:** [@MalcomYJ](https://community.ultralytics.com/u/MalcomYJ)\
**Replies:** 3\
**Last updated:** [October 27, 2024, 6:55am UTC](https://community.ultralytics.com/t/in-instance-segmentation-if-the-segmented-parts-are-discontinuous-how-to-put-the-contours-of-the-discontinuous-parts-into-the-same-mask/432 "2024-10-27T06:55:35Z")

</div>

I used instance segmentation to identify a person holding a board and wanted to obtain the outline of the person excluding outsiders. The person was partially obscured by the board and could only see their upper and lowe…
