Drawing neighboring surface ROIs, getting overlapping areas

36 views
Skip to first unread message

Johanne

unread,
Sep 26, 2025, 10:56:28 AM (2 days ago) Sep 26
to HCP-Users
Hi all,

We are working on defining neighboring surface ROIs in wb_view, but we’ve encountered a problem. Specifically, we’re either getting overlapping vertices between the neighboring ROIs or gaps forming between them. In other words, we end up either double-counting certain surface areas or missing some vertices entirely.

We first draw one border and create an ROI. After that, we repeat the process for the remaining ROIs. That means there are two borders between each of the neighboring ROIs.

The picture illustrates our dream scenario, and our current solution, respectively.
drawing_rois_example.png
Are any of you familiar with a way of closing a new border with an existing border? Or, does anyone know if there is another way of drawing ROIs next to each other without encountering this problem?

Kind regards,
Johanne

Glasser, Matthew

unread,
Sep 26, 2025, 12:23:49 PM (2 days ago) Sep 26
to hcp-...@humanconnectome.org

I would zero out overlapping vertices and then use surface dilation to fill in the gaps programmatically.  This is what we did for the HCP’s multi-modal cortical parcellation.

 

Matt.

 

From: Johanne <iversen...@gmail.com>
Reply-To: "hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
Date: Friday, September 26, 2025 at 8:46 AM
To: HCP-Users <hcp-...@humanconnectome.org>
Subject: [hcp-users] Drawing neighboring surface ROIs, getting overlapping areas

 

Hi all,

We are working on defining neighboring surface ROIs in wb_view, but we’ve encountered a problem. Specifically, we’re either getting overlapping vertices between the neighboring ROIs or gaps forming between them. In other words, we end up either double-counting certain surface areas or missing some vertices entirely.

We first draw one border and create an ROI. After that, we repeat the process for the remaining ROIs. That means there are two borders between each of the neighboring ROIs.

The picture illustrates our dream scenario, and our current solution, respectively.


Are any of you familiar with a way of closing a new border with an existing border? Or, does anyone know if there is another way of drawing ROIs next to each other without encountering this problem?

Kind regards,
Johanne

--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.
To view this discussion visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/fde27df8-a444-4f8e-9f49-d7e5d0385d97n%40humanconnectome.org.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Reply all
Reply to author
Forward
0 new messages