# How to choose right number of landmark in PseudoLMGenerator?

**URL:** <https://discourse.slicer.org/t/how-to-choose-right-number-of-landmark-in-pseudolmgenerator/31800>\
**Category:** Support\
**Created:** [September 20, 2023, 10:42am UTC](https://discourse.slicer.org/t/how-to-choose-right-number-of-landmark-in-pseudolmgenerator/31800 "2023-09-20T10:42:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zariliusra](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zariliusra/32/66436_2.png) [@zariliusra](https://discourse.slicer.org/u/zariliusra)\
**Post date:** [September 20, 2023, 10:42am UTC](https://discourse.slicer.org/t/how-to-choose-right-number-of-landmark-in-pseudolmgenerator/31800/1 "2023-09-20T10:42:26Z")

</div>

Does lower tolerance spacing and having more landmarks make it easier to get a statistical shape model?

---

<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:** [September 20, 2023, 3:19pm UTC](https://discourse.slicer.org/t/how-to-choose-right-number-of-landmark-in-pseudolmgenerator/31800/2 "2023-09-20T15:19:29Z")

</div>

That’s not an easy question to answer. Some papers suggest more dense sampling of the geometry does help. But then some statistical procedures become computationally unfeasible if you are using thousands of points.

For mammal skulls we typically shoot for low few hundreds. For me it is far more important how regularized and smooth the points are then the absolute number of points.

---

<div class="post-metadata">

**Author:** ![zariliusra](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zariliusra/32/66436_2.png) [@zariliusra](https://discourse.slicer.org/u/zariliusra)\
**Post date:** [September 21, 2023, 8:11am UTC](https://discourse.slicer.org/t/how-to-choose-right-number-of-landmark-in-pseudolmgenerator/31800/3 "2023-09-21T08:11:47Z")

</div>

Thank you very much, doc. Are there any papers that give information about how to make the landmarks smooth and regular? Please give some advice on how to set good landmarks.

---

<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:** [September 21, 2023, 4:06pm UTC](https://discourse.slicer.org/t/how-to-choose-right-number-of-landmark-in-pseudolmgenerator/31800/4 "2023-09-21T16:06:29Z")

</div>

> [@zariliusra](#):
>
> bout how to make the landmarks smooth and regular

I am not aware of any papers specifically on that. That’s usually a function of how the the underlying 3D model is derived, whether the vertices are roughly equally distributed on the model etc… If you run one of your models with PseudoLMGenerator and choose the “model geometry” option, you can quickly see what the point distribution looks like and whether you need to smoothing and edit your model more (or not).

---

<div class="post-metadata">

**Author:** ![zariliusra](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zariliusra/32/66436_2.png) [@zariliusra](https://discourse.slicer.org/u/zariliusra)\
**Post date:** [September 23, 2023, 8:52am UTC](https://discourse.slicer.org/t/how-to-choose-right-number-of-landmark-in-pseudolmgenerator/31800/5 "2023-09-23T08:52:20Z")

</div>

Thank you very much for your kindness Professor Murat Maga
