# Sliding semi-landmarks

**URL:** <https://discourse.slicer.org/t/sliding-semi-landmarks/43101>\
**Category:** Support\
**Created:** [May 26, 2025, 12:11pm UTC](https://discourse.slicer.org/t/sliding-semi-landmarks/43101 "2025-05-26T12:11:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elg67](https://avatars.discourse-cdn.com/v4/letter/e/ecb155/32.png) [@elg67](https://discourse.slicer.org/u/elg67)\
**Post date:** [May 26, 2025, 12:11pm UTC](https://discourse.slicer.org/t/sliding-semi-landmarks/43101/1 "2025-05-26T12:11:12Z")

</div>

Hiya! I’m currently trying to apply sliding semi-landmarks to a dataset (x20 crania/scapulae/clavicles/pelvises) with fixed landmarks already applied. I tried to use the curves to create SSL between landmarks as per Rolfe et al., 2021, however this approach took a lot of time and would slow down the application, therefore I deemed it inefficient. Is there another approach (e.g. using PseudoLM) that would allow me to create the same number of SSL per structure in the same position (e.g. mid-point between landmarks A and B etc…) and replicate this using ALPACA? Thanks 🙏

---

<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:** [May 26, 2025, 4:00pm UTC](https://discourse.slicer.org/t/sliding-semi-landmarks/43101/2 "2025-05-26T16:00:17Z")

</div>

The answer depends on area you are trying to landmark as well as your landmark distribution. Without seeing that it is hard for me to suggest something, but you might want to give the recent grid landmarks a try.

> <https://github.com/SlicerMorph/Tutorials/blob/main/GridBasedLandmarking/README.md>

---

<div class="post-metadata">

**Author:** ![elg67](https://avatars.discourse-cdn.com/v4/letter/e/ecb155/32.png) [@elg67](https://discourse.slicer.org/u/elg67)\
**Post date:** [May 28, 2025, 1:48pm UTC](https://discourse.slicer.org/t/sliding-semi-landmarks/43101/3 "2025-05-28T13:48:11Z")

</div>

Hiya Murat,

That’s excellent, I will give this a go on my structures!

Are there any modifications I need to make to the .json file if I’m exporting these sliding semi-landmarks, e.g. saving as ‘description:semi’ when merging, changes to R code when exporting etc…?

---

<div class="post-metadata">

**Author:** ![elg67](https://avatars.discourse-cdn.com/v4/letter/e/ecb155/32.png) [@elg67](https://discourse.slicer.org/u/elg67)\
**Post date:** [May 29, 2025, 1:19pm UTC](https://discourse.slicer.org/t/sliding-semi-landmarks/43101/4 "2025-05-29T13:19:47Z")

</div>

![cranium_SSL](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/9/6912c3ecda1580770164dc399570327efc565ddc.jpeg)  
 ![sg_SSL](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/9/69eaee9774fd42a12efdc5fb2f8d76d450821959.jpeg)  
 ![pelvis_SSL](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/b/fb2e4904820ef52c115421c4c5a204c7f2f7d3de.jpeg)

I’ve attached images of my semilandmarks so far - they appear to be more uniformly distributed than the PseudoLM generated LMs and allow me to capture specific areas (e.g. the birth canal), however I’m concerned by the time taken to complete each one as well as the relatively low number of SLMs compared to automated methods - is this sustainable?

Many Thanks,  
Eve

---

<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:** [May 30, 2025, 1:24am UTC](https://discourse.slicer.org/t/sliding-semi-landmarks/43101/5 "2025-05-30T01:24:00Z")

</div>

> [@elg67](#):
>
> I’m concerned by the time taken to complete each one as well as the relatively low number of SLMs compared to automated methods - is this sustainable?

This is something only you can decide. PseudoLMGenerator is fast, but cannot generate same number of landmark on every sample. So you will have to use a method to transfer those landmarks to individual subjects. You can do that via ALPACA (which uses a point-cloud registration) or projectSemiLMs (which uses a landmarks to transfer).

The other alternative is a new extension we introduced: DenseCorrespondenceAnalysis (DeCA). You will need some fixed landmarks to start the process, but then it will both build a template and then transfer semi-landmarks to the subjects. See [GitHub - SlicerMorph/SlicerDenseCorrespondenceAnalysis: Dense Correspondence Analysis for Surfaces](https://github.com/SlicerMorph/SlicerDenseCorrespondenceAnalysis?tab=readme-ov-file) (and the tutorial linked there).

ps. Couple issues.

1. You are not creating sliding landmark. You are generating semi-landmarks. Sliding is a technique used during the superimposition of landmarks, and specifically applied to the landmarks designated as “semi or pseudoLMs” (io.e., they are not fixed)
2. You should not analyze landmarks that belong to different anatomical systems jointly. A major assumption in the analysis is that landmarks designate a single rigid body. Cranium and mandible together is not a single rigid body (they rotate with respect to each other through TMJ).
