-
Notifications
You must be signed in to change notification settings - Fork 0
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
GmSegChallenge2016
dataset BIDSification
#199
Conversation
…d README.md for GmSegChallenge2016 dataset (to allow easy feedback).
I'm not sure these data will be used to train DL model for disc labeling because the discs are poorly visible on these axial GRE data. So maybe it's ok to keep the disc labels as is. |
@valosekj the PR is still in 'draft' mode but you requested a review from me. Is it ready for review? |
… `desc-manual` from segmentation file names.
…vatives/manual_labels`
…s bids-validator).
Okay. I kept the labeling as txt files and placed them under
To be clear that these txt files contain info about vertebral levels and not about discs, I choose the following filename: |
Sorry about that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't tested the script to generate the separate labels but overall it looks good! thank you @valosekj 🙏
Okay! Thank you. I will upload the dataset to git-annex. Then I will close this PR without merging and delete the branch. Regarding the README; can I add Ferran Prados as a contact person? |
👍 |
The dataset uploaded to git-annex --> closing this PR. |
This PR discusses the BIDSification of
GmSegChallenge2016
dataset.Input datasets (training and testing) and the BIDSified dataset are located in
~/extrassd1/janvalosek/GmSegChallenge2016
.Related to #195
Input dataset structure
image.nii.gz
representingT2star.nii.gz
imagemask-r
files with manual labels of WM (pixel value 2) and GM (pixel value 1)levels.txt
fileimage.nii.gz
representingT2star.nii.gz
imagelevels.txt
fileOutput dataset structure
SC, WM and GM segmentations
I re-created SC, WM and GM segmentations from the input manual labels contacting both WM (pixel value 2) and GM (pixel value 1) segmentations using
sct_maths
. Also, I created json sidecars for each segmentation containing the rater's name.SCseg (
-bin 0
):data-management/scripts/curate_gmsegchallenge2016.py
Lines 144 to 150 in 5c99d23
GMseg (
-uthr 1
):data-management/scripts/curate_gmsegchallenge2016.py
Lines 170 to 176 in 5c99d23
WMseg (
-bin 1
):data-management/scripts/curate_gmsegchallenge2016.py
Lines 118 to 124 in 5c99d23
Manual raters
Based on GM mask delineation section from Prados et al., 2017:
I included the following rater's names in the json sidecars:
data-management/scripts/curate_gmsegchallenge2016.py
Lines 62 to 67 in 5c99d23
Additional files
dataset_description.json
,participants.json
,participants.tsv
, andREADME
are attached to this PR to allow easy feedback. @jcohenadad could you please add the contact person and email conversion to the README?LICENSE
is a copy of the licence from the input dataset.UPDATE 2023-01-03: The
*-levels.txt
files containing information about the vertebral levels were copied toderivatives/manual_labels
. To be clear that these txt files contain info about vertebral levels and not about discs, I choose the following filename:*_T2star_label-vertebral-levels.txt
, for example:sub-epm001_T2star_label-vertebral-levels.txt
.