How to contribute my Matlab coding into 3D Slicer

Dear All,

I have some code in Matlab syntax. This is about the segmentation tumor on Iodine-131 SPECT imaging.

Anyone know how to contribute my coding into 3D Slicer?

What I meant is I want put into the extension manager.

As far as I know you only have two ways:

  1. Use this extension as interface between Slicer and the Matlab script
  2. Port your code to Python and make a normal Python scripted module Slicer extension (maybe you could ask ChatGPT to do it for you)

Hope it helps

1 Like

I would recommend the second approach (ask ChatGPT or Microsoft Copilot to convert your Matlab functions to Python) to avoid Matlab licensing hassles.