-
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
Visible outliers for T1w and T2w atrophy results #83
Comments
awesome! could you please indicate the commit number that you used to generate those results?
so i guess results make sense, but i would be curious to look at native and resampled segmentations. Could you upload an example?
don't you resample everything to 1mm at the beginning?
what do you mean by "vertebrae levels were removed"? could you point to the code that does that?
not sure-- at this point i'd like to understand better what's going on |
Results ^ were run with commit: 9a343c3
Indeed, if native images do not have generic resolution they are resampled. However, there seems to be a prevalence of errors in these resampled images. (i generalized this from a very small sample it has to be proven)
Native image resampled to 1x1x1mm: Image resampled and transformed (without change of affine array):
It happens that CSA is not computed for certain vertebrae levels. In that case values are removed from dataframe.
|
this imaged is cropped-- not only resampled. Maybe the problem comes from there? vertebral labeling won't work well on this cropped image |
Vertebrae labeling is performed on non-cropped image (file is to big to put here). From investigation, high intra-subject variability (inter-vertebrae + inter-transformation) correlates well with the subject being an oulier. This is most probably due to poor image quality causing segmentation abnormalities. |
I think the reason for the overestimation of the CSA with the increased rescaling, is caused by an increasing partial volume effect with tissue outside of the CSF (which has similar intensity as the cord). The fact that the T1w are lower res than the T2w data from the start (1mm vs. 0.8mm), this does not help. It would be interesting to do the same rescaling experiment, but resampling the T2w data to 1mm at the very beginning, to see if results are closer to the T1w data, which would confirm this hypothesis. As for the outliers reported in #83 (comment), they could very well be associated with subjects with more motion (more blurriness), and as rescaling goes up, the partial volume effect would be worse. The problem is that these "bad" subjects give a biased view of the rescaling experiment. I am wondering how results would look like if you only selected "good" subjects (ie without visible motion). |
very interesting. this result should probably go into an annex of your manuscript. i’m still unsure how to interpret this. |
@PaulBautin i'd like to dig into the results you presented here: #83 (comment), but first I want to make sure i'm looking at the exact same code as the one you ran. Can you please add the commit number + syntax + config files |
Results for T2w resampled to 0.8x0.8x0.8mm: Results for T2w resampled to 1x1x1mm: As you pointed out in comment: #85 (comment), I have been setting all "local" configs directly in the GitHub directory, so the config in the commits is the one i used. For syntax, on compute canada i have been using: |
@jcohenadad. The merge of PR #89, has not modified the results and the number of outliers. |
@PaulBautin would it be possible to have a side-by-side comparison of T1w results before/after the PR? I would expect to see differences, since visually it was clear that some segmentations were cropped with the "before" approach |
With PR #89 the outliers seem to be more aligned but nothing obvious: repo for results before #89: https://github.com/sct-pipeline/csa-atrophy/tree/stat_cov_err |
nothing obvious indeed, but results seem less spread out (less outliers, smaller quartiles), which is good. |
Results on all subjects for T1w images make much more sense! However, there are still evident outliers (mostly overestimated CSAs). Inspection of these outliers often show visible motion, poor definition and different image resolution (than the generic resolutions). In addition about 38 (t1w) and 5 (t2w) vertebrae levels have been removed because they do not present any CSA measurements.
Surprisingly, it is the same subjects in t1w and t2w images that are evident outliers. Should I try to add a criteria to remove outliers as they are often image related and do not reflect reality?
The text was updated successfully, but these errors were encountered: