Case Study: Automated Segmentation and Design Workflows for Patient-Specific Surgical Guides

Patient-specific tibia cutting guide

Overview

New medical device technologies make it possible to develop high-quality, fully customized 3D printed devices to increase surgical efficiency and improve patient outcomes. However, as demand for these highly customized devices grows, the process for scaling workflows to accommodate a higher throughput is limited by manual tasks that require significant labor and time investments. Some of the key bottlenecks to be overcome include segmenting patient image data and carrying out patient-specific Design for Additive Manufacturing (DfAM) workflows to create a 3D printed device.

The Synopsys Simpleware team have worked with nTopology to develop a seamless patient-specific design workflow for customized surgical guides, leveraging AI-enabled image processing and design automation to handle common challenges.

Highlights

  • Simpleware-nTopology workflow efficiently converts 3D anatomical DICOM data into high-quality models
  • nTopology tools enable fully featured and conformal patient-specific solutions from scan data and reference landmarks
  • Scaled up processes for surgical guides using automation to save time and increase production

Thanks to

nTopology

"By combining the automated image processing of Simpleware with the generative design capabilities of nTopology, we can push 3D printed patient-specific surgical guides to the next level"

Alkaios Bournias Verotsis, Ph.D.
Product Marketing Manager
nTopology

Segmentation in Simpleware Software

There are several different options for segmentation in Simpleware software when working with knee CT data for a project of this type. Manual image segmentation involves carrying out different operations on the image data, including cropping, thresholding, and apply a mask floodfill to remove unwanted parts and obtain the required anatomy, in this case the tibia. The ‘Split regions’ tool also uses algorithm markers on different regions to split image masks and isolate the tibia. In addition, tools such as ‘Close’ and ‘Cavity fill’ can solidify the mask further, prior to smoothing and creation of a high-quality triangulated surface for export to nTopology.

Knee segmentation with split regions tool in Simpleware software

Using the split regions tool in Simpleware software for knee segmentation.

However, these manual steps can also be automated using a range of basic and more advanced scripting options. The first of these approaches involves recording a macro during manual segmentation to show and run all functions/operations – scripts can be edited in Python and C#, including the removal of any workflow steps not needed or unavailable in scripting, such as split regions/painting on markers. By replaying the script, the same output can be generated. Taken further, a script can be used to create a plug-in to be added to the Simpleware ribbon, which can be set up to allow for the macro to be run in different stages, depending on the manual operation that still needs completing (such as split regions).

AI-Based Machine Learning Automation

To extend automation, the AI-based Machine Learning module Simpleware AS Ortho/CMF can be used to carry out the segmentation in approximately two minutes, with scripting then enabling any additional steps to be carried out. The same module can be used to add landmarks as point measurements to the segmented tibia for designing a surgical guide. 

For this project, around 50 patient-specific tibia models needed processing, with the Simpleware AI solution meaning that a large workflow could be rapidly completed without repetitive manual segmentation. If needing to have all the tibias in approximately the same location, the landmarks can be used as reference points for registration tools to bring all the tibia surfaces together.

Automated tibia segmentation using Simpleware AS Ortho/CMF

Automated tibia segmentation using Simpleware AS Ortho/CMF.

Design Process in nTopology

The data exported from Simpleware software was then used as input to the reusable design process created in nTopology software. nTopology enabled the team to automatically generate the conformal geometry of the mating surface of the guide from the patient-specific model and parametrize the location of the cutting holes and slits based on the landmarks provided by Simpleware software. 

Furthermore, the design workflow included manufacturability considerations, the implementation of structural support columns, a flush base structure, and venting features. The output of the design process was a mesh file that was ready for additive manufacturing.

Designing this fully featured end-to-end workflow for the tibia surgical guide means that clinicians or technicians can easily implement changes, such as adjusting the guide’s design and customizing cutting angles for different patient scans with a specific set of landmarks. Since the expertise-intensive manufacturability considerations are already encoded into the design process, the resulting workflow was easy to use even by users without engineering or design experience.

Surgical guide in nTopology software

Final surgical guide in nTopology software.

Automating Design Generation with Scripting

Using this approach, there is a clear path to scaling up and automating design generation of patient-specific devices. Once the design process is created and validated for a single cutting guide, you can then automatically batch process a whole folder of patient scans using simple scripts and nTopCL - nTopology's command line interface.

In this proof-of-concept, the team created a Python script to process the 50 tibias and automatically generate a unique patient-specific guide for each of them. Spending a few minutes to write a few lines of code saved hours of manual design work. For more complex projects, the same method could be applied to build out complex logic into the workflows that can combine data from multiple sources - like simulation results.

Surgical guides in nTopology software

The same design process can be reused on different patient-specific data.

Conclusion

This joint workflow developed using Simpleware software and nTopology reduces time and manual effort when working on projects with large amounts of patient-specific anatomies. While this particular project focused on a tibia cutting guide, different anatomies can be selected either with the Simpleware anatomy-specific Auto Segmenter modules, or a fully customized workflow. As well as making it possible to scale up surgical guide design with patient-specific data, this approach uses automation to cut down on the technical expertise needed when working with advanced software.

Learn More

Any Questions?

Do you have any questions about this case study or how to use Simpleware software for your own workflows?