tomdoel / pulmonarytoolkit

Lung medical image analysis and visualisation software for Matlab.
GNU General Public License v3.0
84 stars 57 forks source link

Running in non-interactive mode #47

Open adityaapte opened 3 years ago

adityaapte commented 3 years ago

Thanks for the nice toolkit. Is there documentation to get started on using PTK in batch mode? I would like to run airway segmentation on a bunch of CT scans without going through the GUI.

tomdoel commented 3 years ago

Hi, there are a few ways to run in a non-interactive/batch mode.

Note: When working with the plugin or function outputs you might need to parse the special data structures that are produced - for example airway plugins tend to produce tree structures derived from PTKTree. You can look at the plugin and function code to understand how to parse these outputs.