Closed cclairec closed 3 years ago
You have to specify --keep_intermediate_files
also when calling endings_segmentation. Then WM_FOD.nii.gz
should not get deleted.
For tracking only the WM_FOD.nii.gz are of any use. It does not make sense to combine them with CSF_FOD or GM_FOD. Tracking only makes sense inside of white matter (WM) tissue, not inside of CSF or GM tissue.
Thanks for the reply, I eventually added the option --keep_intermediate_files
and it fixed my issue.
However, I was wandering if the following behaviour is wanted :
TractSeg --raw_diffusion_input
: delete all intermediate files (FOD files), which files are kept thanks to the option --keep_intermediate_files
TractSeg --output_type endings_segmentation
: keeps all the said intermediate files (FOD files) except WM_FOD.nii.gz
, which file is kept by using the option --keep_intermediate_files
Cheers
I am happy to hear that this solved your problem.
The behavior of --keep_intermediate_files
is intended this way.
Hello ! I am updating the issue (and therfore the title) : it seems that this is the following command line, which at the end, remove the WD_FODs.nii.gz file :
The other intermediate files (provided by the previous command :
TractSeg --csd_type csd_msmt --output_type tract_segmentation --keep_intermediate_files
) are still there as I have the following before and during the ending-segmentations estimation :and this, right after the end of the ending-segmentations estimation :
========================== Original message : ============================== Hello,
I have 2 questions regarding FODs images and tractography. To use the
–track_FODs
option ofTracking
function, the -i parameter has to be a FODs image. So for this, I decided to add the option–keep_intermediate_files
to theTractSeg –raw_diffusion_input
function, so the FOD images are not removed. However, the imageWM_FOD.nii.gz
is deleted, the remaning files are :CSF_FODs.nii.gz GM_FODs.nii.gz RF_CSF.txt RF_WM.txt peaks.nii.gz RF_GM.txt
. OnlyWM_FOD.nii.gz
is missing. Q1 : Do you have an idea why ? Is it possible to retrieve it from RF_WM.txt for example ?Once I will have my WM_FOD.nii.gz image saved (and being a beginner in diffusion images), I have another question Q2: As I can extract CSF_FOD.nii.gz, GM_FOD.nii.gz and WM_FOD.nii.gz from my multi-shell diffusion image, can I “combine” them to be used as input (
-i
parameter) in theTraking –track_FODs
function, or it is an absurd statement and I must use WM_FOD.nii.gz only ?Cheers ! Claire
Here is the command lines I have :