Visualizing the neutral axis on segment geometry

Hi @jmhuie

I was wondering if it would be possible to plot the neutral axis on the structure cross-section when aligned with the principal axis. I am comparing structures that vary considerably in cross-section shape and would be interesting to visualize where exactly the neutral axis is being positioned.

I also have a doubt regarding the custom neutral axis option. Since I am working with 3D surfaces generated in another software, which I import as .ply files into 3D slicer, it seems that I am not able to work with the custom neutral axis, right? Is there a way to allow for the definition of a custom neutral axis without needing to segment the structure in 3D slicer?

With best regards, and thanks in advance,

Cristian.

Unfortunately this is currently no method for visualizing the major and minor axes. You can use BoneJ in ImageJ if you really need to visualize the neutral axes

There is! Because Segment Geometry requires certain inputs you just need to convert your .ply files into the right formats. Here are the steps how to do that: SlicerBiomech/Tutorials/SegmentGeometry at main · jmhuie/SlicerBiomech · GitHub

Thanks @jmhuie ,

I followed those steps to measure the cross-section parameters, but I was not allowed to customize the neutral axis. When I check this option, nothing happens, no axis appears that allows me to move and so on. I was only able to align with the principal axes.

@CristianK what version of Slicer are you running? If you send me your scene, I can try trouble shooting.

Thanks for sharing but I actually need all of the files for your Scene. When you go to save the scene, if you change the format to .mrb it’ll save the Scene and all the associated files in a single file.

Hi Jonathan,

Sorry for the late reply, but the fact is that I am having several troubles to save the file. When I use a .ply mesh to measure cross-section data, I am not able to save the scene in a single file, because I get some errors and warnings. Then I saved every file separately and uploaded it (scene - Google Drive), along with a print with the errors (Imagem1 from the previous link). I also tried to segment the structure in 3D Slicer and used segment geometry, but surprisingly I was also not able to customize the neutral axis. The slider to change the neutral axis position opens, but I am not allowed to move it. I also uploaded this scene here (2024-09-09-M.tibialis.mrb - Google Drive), and in this case, I was able to save it as .mrb.

I also uploaded the .ply file I am using (M.tibialis_oriented.ply - Google Drive).

Let me know if you need something else.

In all cases, I was able to measure cross-section properties, and when I checked the “Use custom neutral axis” button it generated additional data that seemed to be related to this function, but I wasn’t able to customize it. This fact, along with the errors while trying to save the scene makes me wonder if what I am measuring is reliable or not.

Many thanks again for looking into it.

Posting an answer for perpetuity.

With the PLY file, as of Slicer 5.6.2 (not in 5.6.1) you need to perform an extra step. After you convert the binary label map as a scalar volume, you then need to go to the Segment Editor module and set the “Source Volume” of your segmentation as the scalar volume. After that, the neutral axis should work.