-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting environment error #1
Comments
hello, you need to provide the folder with t2w .nii.gz / .dcm files rather than the file. e.g., docker run --rm --mount type=bind,source=/home/sgbc/HBP_SGBC/Analysis/ITK_analysis_new/ITK/B15305_23_24,target=/home/data fetalsvrtk/svrtk:general_auto_amd sh -c ' bash /home/auto-proc-svrtk/scripts/auto-brain-reconstruction.sh |
could you please send a screenshot of the original stacks (all views)? These are the input data requirements for SVRTK: more than 5-6 stacks |
hello, it looks like it did not work because it is post mortem MRI - the networks were trained on the whole uterus HASTE fetal MRI stacks .. i will not work on post mortem stacks. I would recommend using SVRTK docker then with manually created mask for a selected template stack: mirtk reconstruct ../svr.nii.gz [number_of_stacks] ../stack1.nii.gz ../stack3.nii.gz -default_thickness [thickness] -resolution 0.8 -svr_only -template ../template-stack.nii.gz -mask ../template-mask.nii.gz hope this helpw |
hello, could you please open all image in one view ("open as additional image" in ITK-SNAP) and check whether they are aligned in the common space? |
It looks like the mask is small and this cause the cropped tissue ... and this cropping Could you please try using "-remove_black_backgound" instead of "-mask" ? Or "-with_background" point and your mask. I would also run it with "-no_robust_statistics" option. |
docker run --rm --mount type=bind,source=/home/sgbc/HBP_SGBC/Analysis/ITK_analysis_new/ITK/B15305_23_24/SVRTK/,target=/home/data fetalsvrtk/svrtk:general_auto_amd sh -c ' bash /home/auto-proc-svrtk/scripts/auto-brain-reconstruction.sh /home/data/AXT2STIR.nii.gz /home/data/SagT2STIR.nii.gz /home/data/CorT2STIR.nii.gz /home/data/svrtk_amd 1 3.0 0.8 1 ; '
Setting environment ...
rm: cannot remove '/home/tmp_proc/*': No such file or directory
SVRTK for fetal MRI (KCL): auto brain SVR reconstruction for SSTSE / HASTE T2w fetal MRI
Source code: https://github.com/SVRTK/auto-proc-svrtk
Usage: bash /home/auto-proc-svrtk/scripts/auto-brain-reconstruction.sh
[FULL path to the folder with raw T2w stacks in .nii or .dcm, e.g., /home/data/test]
[FULL path to the folder for recon results, e.g., /home/data/out-test]
(optional) [motion correction mode (0 or 1): 0 - minor, 1 - >180 degree rotations] - default: 1
(optional) [slice thickness] - default: 3.0
(optional) [output recon resolution] - default: 0.8
(optional) [number of packages] - default: 1
I am having the above error and I would appreciate it if someone could help me solve this issue. Thank you in advance.
The text was updated successfully, but these errors were encountered: