Parcellating using dscalar

21 views
Skip to first unread message

Andraž Matkovič

unread,
Jan 13, 2026, 8:06:38 AM (yesterday) Jan 13
to HCP-Users
Dear HCP team,

Is there a way to use the wb_command to parcellate the dtseries.nii file using the dscalar.nii file, which contains functional maps based on soft parcellations, such as ICA or NMF? I managed to parcellate the files using Python (Nibabel + NumPy), but I was wondering if there is a direct way to do this using wb_command.

Best regards,
Andraž

Glasser, Matthew

unread,
Jan 13, 2026, 10:42:14 AM (22 hours ago) Jan 13
to hcp-...@humanconnectome.org

We do not currently have a method of “weighted” parcellation beyond RSNRegression (which works for sICA, tICA, and PFMs using its various modes).

 

Matt.

--
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/dbe8310a-bfa3-4690-b516-7dff0ba57e2bn%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.

Tim Coalson

unread,
Jan 13, 2026, 3:23:28 PM (17 hours ago) Jan 13
to hcp-...@humanconnectome.org
The cifti parcellated format effectively encodes a hard parcellation in its XML, so you'd need to generate that in addition to the computation of the soft parcellation values.  You can then combine them, either in python/matlab (or other language with a cifti library), or with -cifti-convert -from-text.  wb_command doesn't currently have the algorithms for ICA or NMF.

Hard parcellations don't overlap, so that is a simple computation of (usually) averaging the values (weighting by vertex area for correctness).  For generic soft parcellations, you may want to solve it as a multiple regression problem, such that reconstructing from the result gets close to the original timeseries data.  Of course, if the soft parcellation comes from a decomposition like ICA/NMF, the component timeseries are probably already available.

Tim


Reply all
Reply to author
Forward
0 new messages