|
else: |
|
print(subject_name + ' SC segmentation does not exist. Extracting centerline from ' + fname_image) |
|
im_seg = Image(fname_image).change_orientation('RPI') |
|
param_centerline = ParamCenterline(algo_fitting = 'optic', contrast = contrast, smooth = smooth, degree = 5, minmax = minmax) |
To implement in https://github.com/neuropoly/template/edit/nb/updated_all