DevelopmentalImagingMCRI / karawun

Convert tractography studies from mrtrix into dicom for use in navigation software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

empty label file

LucSam opened this issue · comments

Hi, when we export labels, such as a ROI, we get an empty file, it's not visible in Brainlab.
The crosshairs however indicate the right position though.
The ROI is based on a T1 which has been provided as a nii file to the command. It works fine for the tracts.
Do you have a suggestion how to overcome that problem?

Best, Lucius

importTractography --dicom-template path/to/dicom/slice.dcm --nifti t1.nii.gz fa.nii.gz ROI.nii.gz --tract-files tract.tck --label-files ROI.nii.gz -o .

Thanks for the test - can you send the samples for debugging?

A couple of thoughts. I have noticed that some label files, with lots of different labels, can take a while for brainlab to convert. The other possibility is that the label value is too high - currently it only supports values up to 30.

Also, I haven't tested using the same image in both the --nifti and the --label-files option. If ROI.nii.gz is derived from t1.nii.gz, then the following is meant to work:

importTractography --dicom-template path/to/dicom/slice.dcm --nifti t1.nii.gz fa.nii.gz  --tract-files tract.tck --label-files ROI.nii.gz -o ./Patient/

Thank you very much, we detected the issue which occurred by a brainlab employee by anonymising the data.

Confirming - you see what you expect to see in brainlab? If so I will create an official release for this point.

Confirming - you see what you expect to see in brainlab? If so I will create an official release for this point.

Yes, I can confirm that it works

Thanks. I will tag the release tomorrow.