Help with Vertebra Segmentation Code

Please may someone help me sort through this code and give any edits!

1 Like

@vertebra and I would like to know if there are any problems or improvements that can be made. We are trying to use a pre-placed seed point and use the local threshold function to segment individual lumbar vertebrae, render it in 3D, and save it as an stl file.