I’m aware this is a component of the segmentation process (straighten the native mri → segment), but is there a command line to extract that straightened image?
Dear @Matthew_Kirshner,
My deepest apologies for the late reply.
There are a few different paths to straightening the spinal cord outside of other processes:
- Any process that straightens the spinal cord should produce a
warp_curve2straight.nii.gzwarping field image. This warping field can be re-used alongside the input image usingsct_apply_transfoto reproduce a straightened image. - If you don’t have any existing
curve2straightwarping field, you can use the CLI scriptsct_straighten_spinalcorddirectly to produce this output (sct_straighten_spinalcord - Spinal Cord Toolbox documentation).
Please don’t hesitate to ask any further questions.
Kindly,
Joshua