Currently, Im using the modules Extract Centerline and Curved Planar Reformat, in order to obtain a straightened volume from a data set DICOM.
I have to do that for several examples, so I wondering if is possible to create a python script to automate the process; just charge the segmentation and points like the imput of the script, and obtain a straightened volume like the output.
Its possible this? Which is the way/syntax to interact with the input and output of each module? There are some examples about that? Or maybe an anorher way?
The workflow is:
inputs_1 (points and segmentation)
Center line code
Inputs_2(center line and data)