Need help with Mesh statistics module

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.

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

1 Like

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

I download the nightly version and it is working again!

Thank you!!!

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?

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)

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.

I was doing just like this video on youtube!

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

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?

OMG got it!

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

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, 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? The extensions are all pre-installed on that custom distribution of Slicer.

If you have questions about SlicerCMF, please ask them here.

Hello everybody!

I was doing like in youtube tutorial (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.

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

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.

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

I’ve already sent to you e-mail.

Where you adding several landmarks/ROI on each colormap?

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.

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