VERSION=“16.04.3 LTS (Xenial Xerus)”
PRETTY_NAME=“Ubuntu 16.04.3 LTS”
Slicer nightly (updated as of 2018-08-20)
For a subset of subjects (all subjects from a single site), the mask generated includes the spinal cord. I am concerned that this may be a problem when subjects across all sites are being registered.
Is it a problem to have the spinal cord included in a subset of tractography results? If so, how do I mask it out?
Here is the code I am running: https://github.com/sabashahab/STOPPD_DTI/blob/master/SlicerTractography_edit.sh
Hi Saba. One possibility is to manually edit the mask to disconnect the brain part from the spinal cord part, then to remove the “island” of the spinal cord.
Would that mean manually editing it for every single subject? There are 72 subjects - manually editing them would be very time-consuming.
IT could be pretty quick. Choose one axial slice, erase the connection between brain and spinal cord, then save only the largest island (the brain). This should be only a few minutes at most. Others on here know more about the new Segment Editor, which may be even faster. With the old Editor I think this should take maybe 2-3 minutes per subject once you have decided how to do it.
Sure. Where can I find instructions on how to do this?
Where can I find instructions on how to do this?
Specifically, for the task @ljod mentioned, you can use the scissors tool to quickly clear all of the unwanted label region with a cut in one slice. For example:
Thanks Isaiah. Regarding the video, it is probably faster if you edit in one axial slice to separate the brain and spinal cord at the level corresponding to the other scans in your study. Then figure out how to remove the smaller segmented “island” of the spinal cord. If I understand the video it is only removing some of the spinal cord and instead you want to do it all by separating it.
Btw, the scissors cut in all planes at once by default, so the first example was deleting in the other planes too with the one swipe.
However, there is also a negative (or positive) mode, which allows to cut only above/below a specific slice. Doing that is similar to the one-slice-separation/island-removal strategy.
This looks like the perfect way to do this. Thanks Isaiah.
Thank you, Isaiah and Lauren. The solution works!