-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Expand centerline QC report to add sagittal/coronal views #4011
Comments
I might be missing something here, but don't we have an axial slicewise QC report for spinalcordtoolbox/spinalcordtoolbox/scripts/sct_get_centerline.py Lines 110 to 115 in 2d09af3
It's present in spinalcordtoolbox/spinalcordtoolbox/scripts/sct_qc.py Lines 29 to 34 in 2d09af3
So, is the idea here to augment the existing axial QC with saggital and/or medial views? |
Potentially related issue: |
oh! I was the one missing something 😅 I completely forgot we already had this QC. That being said, it would be convenient to have the sag/coronal view (esp. for images with thick sagittal slices), if not toooo complicated to implement. |
Just for the full context. Here is how the images in neuropoly/idea-projects#15 (comment) were obtained:
|
I have just found out that we can already get sagittal centerline QC using this small hack (passing
For the sake of clarity,
|
Just for the record, Command: sct_qc -i sub-zh01/ses-01/anat/sub-zh01_ses-01_acq-sag_T2w.nii.gz -s derivatives/labels/sub-zh01/ses-01/anat/sub-zh01_ses-01_acq-sag_T2w_seg-manual.nii.gz -p sct_label_vertebrae -qc qc -qc-subject sub-zh01 |
When validating output centerlines, it would be convenient to have a QC. One possibility is to use multiple axial views, as done for the SC segmentation QC. However, given that we are not after accuracy here, there might be a more rapid way to QC centerlines: by looking at the sagittal and coronal views. However, if only showing the medial sagittal plane, we might 'miss' the spinal cord. hence, an idea would be to average the 1/3 central chunk of the FOV and display that for the sagittal view. And for the coronal, average the entirety of the A-P axis. See related discussion: neuropoly/idea-projects#15 (comment)
Also, to make sure the centerline is visible, we would need to do a 'repmat' (ie: find the 'one' along the array, and replace all zeroes by one) along the RL and AP axes, respectively for the sagittal and coronal views.
Related to neuropoly/idea-projects#15 (comment)
The text was updated successfully, but these errors were encountered: