Closed jcohenadad closed 3 years ago
The first graph shows COV in function of error % without removing any subjects.
The 2nd graph shows that T1w and T2w outliers seem not correlated. Subjects in red are the worst outliers of T1w images and subjects in green are the worst outliers of T2w images.
Presently if CSA is not computed the vertebrae levels are removed from the dataframe. It looks like the segmentation on images with missing CSA does not cover C3-C5 cord, this could be related to image transformation. We could try to re-integrate padding to see if it resolves this issue. example: Cropped and transformed image: sub-barcelona04_T1w_RPI_r_crop_r0.98_t1.zip segmentation of ^ image sub-barcelona04_T1w_RPI_r_crop_r0.98_t1_seg.zip
In the following graph all subjects with a missing CSA were removed (not only the vertebra level). It seems to eliminate values with high COV and low error % improving the correlation between both metrics.
In this last graph, i tried to identify outlier subjects and looked at their image quality. It is difficult to affirm that these are the worst images, but it is obvious that if the subject is an outlier for one rescaling it has good chances to be an outlier for the other rescalings. :
Very cool investigations @PaulBautin ! Too bad these results don't follow our intuitions (about the correlation). Could you open a PR so I can look at the code (and understand exactly how you generated those figures)?
@jcohenadad. The merge of PR #89, has not modified the results and the number of outliers. No correlation between COV and percentage can be deduced. Used repo for t1: https://github.com/PaulBautin/csa-atrophy/tree/compute_canada Used repo for t2: https://github.com/sct-pipeline/csa-atrophy
thank you for looking into it @PaulBautin , but as a sanity check i'd still like to see a side-by-side results comparison as mentioned in https://github.com/sct-pipeline/csa-atrophy/issues/83#issuecomment-721986071
As predicted PR #89 eliminates values with very high COV:
repo for results before #89: https://github.com/sct-pipeline/csa-atrophy/tree/stat_cov_err repo for results after #89: https://github.com/PaulBautin/csa-atrophy/tree/compute_canada
it's reinsuring. Even though there are still effects that we don't fully understand (the offset for T1w), we can trust these results better, now that the bug with the crop is fixed. I think we can move forward with the article.
Once the graph is done, we should identify the 5-10 subjects with worse STD, and see if they are associated with strong movements/artifacts.
If that's the case, it should be reported as a new finding in the manuscript.