# Multiple Domain SSM

**URL:** <https://shapeworks.discourse.group/t/multiple-domain-ssm/362>\
**Category:** Uncategorized\
**Created:** [June 27, 2025, 6:37pm UTC](https://shapeworks.discourse.group/t/multiple-domain-ssm/362 "2025-06-27T18:37:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![blah4](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@blah4](https://shapeworks.discourse.group/u/blah4)\
**Post date:** [June 27, 2025, 6:37pm UTC](https://shapeworks.discourse.group/t/multiple-domain-ssm/362/1 "2025-06-27T18:37:04Z")

</div>

Hi,  
I am trying to create a lumbar vertebrae model on ShapeWorks, I only started using ShapeWorks this week so I wanted some guidance regarding my task. I have 50 segmentations per L1-L5 vertebrae (so 250 segmentations in total), initially I thought it would be easier to create 5 models for each L1-L5 vertebrae and then later concatenate this into one lumbar vertebrae model. Since I had the segmentations, creating a model each for L1-L5 was pretty straightforward on the studio. However when I tried to combine them, this is where I ran into an issue, I can’t seem to figure out how to go about this task. Should I create an excel sheet as given in the ShapeWorks Studio Multiple Domain SSM documentation or is there another way of going about this task. I would appreciate all the help. Thanks.

---

<div class="post-metadata">

**Author:** ![amorris](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amorris](https://shapeworks.discourse.group/u/amorris)\
**Post date:** [June 27, 2025, 8:51pm UTC](https://shapeworks.discourse.group/t/multiple-domain-ssm/362/2 "2025-06-27T20:51:20Z")

</div>

You can either run them individually and concatenate for analysis, or you can run it as a joint model.

Each column in the data tab of the ShapeWorks Project spreadsheet can be suffixed with the domain name (in your case `_l1`, `_l2`, `_l3`, etc)

Example here:

> **[Multiple Domains SSM - ShapeWorks](https://sciinstitute.github.io/ShapeWorks/latest/studio/multiple-domains.html)**
>
> The official documentation of ShapeWorks

If you run them separately and used named suffixes, you should be able to concatenate most of the columns directly.

---

<div class="post-metadata">

**Author:** ![blah4](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@blah4](https://shapeworks.discourse.group/u/blah4)\
**Post date:** [June 30, 2025, 3:58pm UTC](https://shapeworks.discourse.group/t/multiple-domain-ssm/362/3 "2025-06-30T15:58:56Z")

</div>

Hey, Thanks for your reply. I used the documentation to build the model, however after optimization this is what it looks like. I am using 50 subjects and the optimization was done at 512 particles each and 2000 iterations. How could I improve the model?

 ![IMG_1641](https://global.discourse-cdn.com/free1/uploads/shapeworks/original/1X/714141779ac7a0cd6da4c9442082b1908ca94fea.jpeg)

---

<div class="post-metadata">

**Author:** ![blah4](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@blah4](https://shapeworks.discourse.group/u/blah4)\
**Post date:** [June 30, 2025, 5:15pm UTC](https://shapeworks.discourse.group/t/multiple-domain-ssm/362/4 "2025-06-30T17:15:01Z")

</div>

![IMG_1642](https://global.discourse-cdn.com/free1/uploads/shapeworks/original/1X/a233b1c5ccbf01d232d301c17e2277a67ca27cb5.jpeg)

---

<div class="post-metadata">

**Author:** ![amorris](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amorris](https://shapeworks.discourse.group/u/amorris)\
**Post date:** [July 1, 2025, 6:46pm UTC](https://shapeworks.discourse.group/t/multiple-domain-ssm/362/5 "2025-07-01T18:46:16Z")

</div>

These appear to be exhibiting poor correspondence. I would recommend focusing on one vertebrae and tune the parameters there first. I would start with a lower number of particles and make sure you get good correspondence first. Try increasing the number of iterations per split.

---

<div class="post-metadata">

**Author:** ![blah4](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@blah4](https://shapeworks.discourse.group/u/blah4)\
**Post date:** [July 1, 2025, 6:53pm UTC](https://shapeworks.discourse.group/t/multiple-domain-ssm/362/6 "2025-07-01T18:53:14Z")

</div>

thanks I will try that. If I have individual models of each vertebrae that show better correspondence, how can I concatenate them?

---

<div class="post-metadata">

**Author:** ![amorris](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amorris](https://shapeworks.discourse.group/u/amorris)\
**Post date:** [July 1, 2025, 11:27pm UTC](https://shapeworks.discourse.group/t/multiple-domain-ssm/362/7 "2025-07-01T23:27:30Z")

</div>

I would just open the projects in Excel and combine the columns.
