# Need help with Mesh statistics module

**URL:** <https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638>\
**Category:** Support\
**Created:** [July 6, 2017, 5:25pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638 "2017-07-06T17:25:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 6, 2017, 5:25pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/1 "2017-07-06T17:25:25Z")

</div>

Hi!

I am really need help.

I am using Slicer 4.5.0 and I am trying to download the mesh statistics module, but something is happening. The module is downloading with a error:

Traceback (most recent call last):  
File “C:/Users/Test/AppData/Roaming/NA-MIC/Extensions-24735/MeshStatisticsExtension/lib/Slicer-4.5/qt-scripted-modules/MeshStatistics.py”, line 68, in setup  
self.inputComboBox = self.logic.get(“inputComboBox”)  
File “C:/Users/Test/AppData/Roaming/NA-MIC/Extensions-24735/MeshStatisticsExtension/lib/Slicer-4.5/qt-scripted-modules/MeshStatistics.py”, line 191, in get  
return self.findWidget(self.interface.widget, objectName)  
File “C:/Users/Test/AppData/Roaming/NA-MIC/Extensions-24735/MeshStatisticsExtension/lib/Slicer-4.5/qt-scripted-modules/MeshStatistics.py”, line 196, in findWidget  
if widget.objectName == objectName:  
AttributeError: ‘NoneType’ object has no attribute ‘objectName’

what do I have to do? What is wrong? It was working ok, but now I can not use it.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 6, 2017, 5:27pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/2 "2017-07-06T17:27:09Z")

</div>

Could you please try if it works in the latest nightly version of Slicer?

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 6, 2017, 5:39pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/3 "2017-07-06T17:39:45Z")

</div>

Ok I will try this… in a minute I will send you another message.

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 6, 2017, 6:21pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/4 "2017-07-06T18:21:10Z")

</div>

I download the nightly version and it is working again!

Thank you!!!

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 6, 2017, 6:41pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/5 "2017-07-06T18:41:18Z")

</div>

Hi Lassoan, I have another doubt.

Before the program was giving me the distances from point to point marked, now is providing me the ROI average, how do I provide the difference between the points marked in the models and not the change of ROI?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 6, 2017, 7:13pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/6 "2017-07-06T19:13:48Z")

</div>

> [@Carol](#):
>
> program was giving me the distances from point to point marked

What do you mean? What would you like to compute?

@bpaniagua - do you have any comments? (you are listed as one of the authors of the MeshStatistics extension)

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 6, 2017, 7:18pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/7 "2017-07-06T19:18:43Z")

</div>

I was using the Pick n paint module to mark some landmarks on my color map model, and than I was using the Mesh statistics module to measure the changes in each points marked. And the software was giving me the measurements point by point and in all directions (x,y and z).

I am doing measurements of the changes in bone before and after surgery. I saw a tutorial on youtube teaching me how to do it, and it was working, but now it isn’t.

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 6, 2017, 7:26pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/8 "2017-07-06T19:26:36Z")

</div>

I was doing just like this video on youtube!

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 6, 2017, 8:02pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/9 "2017-07-06T20:02:29Z")

</div>

The module is seams to be a little different now, is there any upgrade of the module?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 6, 2017, 10:44pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/11 "2017-07-06T22:44:00Z")

</div>

The module has been updated and so the tutorial does not reflect how exactly the module works now. I agree that it is not easy to find out how the module should be used (I’ve spend a couple of minutes and I couldn’t figure it out).

@bpaniagua Could you please let us know where to find up-to-date documentation or tutorial?

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 6, 2017, 10:46pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/12 "2017-07-06T22:46:57Z")

</div>

OMG got it!

Do you know someone who can teach me what I have to do now to get this measurements?

---

<div class="post-metadata">

**Author:** ![bpaniagua](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/bpaniagua/32/20_2.png) [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Post date:** [July 7, 2017, 1:31pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/13 "2017-07-07T13:31:00Z")

</div>

Hi @lassoan and @Carol

The reality is the videotutorials and the slicer wiki are the most up to date documentation for these extensions. We are in the process of securing funding right now to support all our [slicercmf](http://cmf.slicer.org), and yes, i agree we should update the documentation. Do you have specific questions about the measurements you want to generate?

@jbvimort mentioned that you also experienced some problems running these extensions, why not using them through the [SlicerCMF packages](http://cmf.slicer.org/download/)? The extensions are all pre-installed on that custom distribution of Slicer.

If you have questions about SlicerCMF, please ask them [here](https://discourse.slicer.org/c/community/slicercmf).

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 7, 2017, 7:53pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/14 "2017-07-07T19:53:48Z")

</div>

Hello everybody!

I was doing like in youtube tutorial ([https://www.youtube.com/watch?v=3kHT3IDoyy0](https://www.youtube.com/watch?v=3kHT3IDoyy0))

But since the modules were updated I can not do the measurements.

The steps are different but I can not figure it out how to perform it.

I am trying to get the changes in each points that I am marking in condyle surface. But the number that the SlicerCMF is give me is the change of the hole condyle not of each point like I was doing using the last version of the modules.

Previously, I was making the color map model (using model to model distance module), than I was placing the landmark on color map surface (using pink n paint module) and than I was going to Mesh statistics module and it was giving me the difference in each area, just like in the video above.

But now the steps are changed and I can not figure it out. I want you to show me the difference of the steps and how I have to do it from now on.

I am in the middle of my research and if I won’t figure it out I will have to do all measurements again.

I hope you can help me.

---

<div class="post-metadata">

**Author:** ![jbvimort](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jbvimort](https://discourse.slicer.org/u/jbvimort)\
**Post date:** [July 7, 2017, 8:16pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/15 "2017-07-07T20:16:51Z")

</div>

Could you please send us an example of your data? That way, we could try to replicate the procedure with the new modules?

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 7, 2017, 8:25pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/16 "2017-07-07T20:25:56Z")

</div>

I am going to send you pre and post treatment condyle model of one of my sample.

Could I send you the data by email? Because I can not upload here.

---

<div class="post-metadata">

**Author:** ![jbvimort](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jbvimort](https://discourse.slicer.org/u/jbvimort)\
**Post date:** [July 7, 2017, 8:31pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/17 "2017-07-07T20:31:46Z")

</div>

Could you put it on a drive (google drive for example) and share a link with everyone?

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 7, 2017, 8:34pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/18 "2017-07-07T20:34:53Z")

</div>

I’ve already sent to you e-mail.

---

<div class="post-metadata">

**Author:** ![jbvimort](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jbvimort](https://discourse.slicer.org/u/jbvimort)\
**Post date:** [July 7, 2017, 9:05pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/19 "2017-07-07T21:05:41Z")

</div>

Where you adding several landmarks/ROI on each colormap?

---

<div class="post-metadata">

**Author:** ![Carol](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@Carol](https://discourse.slicer.org/u/Carol)\
**Post date:** [July 7, 2017, 9:12pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/20 "2017-07-07T21:12:09Z")

</div>

5 landmarks,

One at the most anterior part of the condyle;  
One at the most posterior part of the condyle;  
One at the most lateral part of the condyle;  
One at the most medial part of the condyle;  
One at the most superior part of the condyle.

---

<div class="post-metadata">

**Author:** ![jbvimort](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jbvimort](https://discourse.slicer.org/u/jbvimort)\
**Post date:** [July 7, 2017, 9:22pm UTC](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638/21 "2017-07-07T21:22:13Z")

</div>

It seems that the new version of the module now handle only one ROI per colormap, i.e. it’s not creating one ROI per landmark like before.  
Which mean that mesh statistic is only gonna give you one set of differences.  
Right now, if you want to have the same results than previously, you would have to create a ROI with one landmark and compute the statistics with mesh statistics erase the first landmark and restart for the next landmark

[Next page](https://discourse.slicer.org/t/need-help-with-mesh-statistics-module/638.md?page=2)
