Add command line for computing CSF and intracranial masks#43
Conversation
for more information, see https://pre-commit.ci
finsberg
left a comment
There was a problem hiding this comment.
Looks good! I think we should also add some tests which test this on the gonzo dataset. Do we have the csf masks generated in the dataset? Also it might be good to add a bit more information about the input image to the csf mask parser. Right now it sais "Path to the input NIfTI image", but can this be any input image. From the docstring in compute_csf_mask_array it looks like it should be either T2w or Spin-Echo?
Similar to the other PR (#41), I think it is better to save the output file in the dispatch function. That way, we can get rid of the output argument to the functions and the functions does only one thing.
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…from csf segmentation (not csf mask)
for more information, see https://pre-commit.ci
|
Indeed. we have the csf/intracranial masks in the gonzo dataset, I have now added the corresponding tests and also some dispatch tests to be consistent with what is done in I also updated the "help" message describing the input for the CSF mask, and removed the |
No description provided.