I wanted to directly create the mask from an interactive viewer, and then type “-init-mask viewer” in my terminal, but I got an error message: zsh: command not found: -init-mask
zsh: command not found: -init-mask
This error is because zsh tried to interpret “-init-mask” as a command. But, “
-init-mask viewer” is actually an argument for the SCT script “
sct_propseg”. So, the usage would be:
sct_propseg -i t2.nii.gz -c t2 -init-mask viewer
I hope this helps.