-
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
Cropped edges in registration to the template #33
Comments
The straight2curve warping field applied to the straightened image does not result in the same original image (notice the discs move a lot, and the cord seems slightly larger on the registered image): Although I don't think this explains the multiple slices that are missing on the edges, this is highly concerning and an issue should be opened on SCT EDIT 20240514_094659: Issue opened: spinalcordtoolbox/spinalcordtoolbox#4477 |
@Kaonashi22 now that spinalcordtoolbox/spinalcordtoolbox#4477 is solved, I'm rerunning processing on 14 subjects to see if this issue is resolved on your data. I'll report results here. |
Thanks @jcohenadad! |
Comparing the input image and the input-straight-curved shows highly similar content overall (thanks to spinalcordtoolbox/spinalcordtoolbox#4514), except at the top/bottom edge: Maybe this is the cause of the problem? It is surprising, given that many slices are affected at the bottom (about 30), even though the warping field at the bottom seems only affected over a few slices, and the segmentation is fine towards the bottom: |
Has this issue been introduced by spinalcordtoolbox/spinalcordtoolbox#4514? Let's re-run SCT before the fix... |
@Kaonashi22 good news, the issue has been identified and fixed in spinalcordtoolbox/spinalcordtoolbox#4533. Once @joshuacwnewton reviews it we will merge it and you can resume your experiments. |
Thanks everyone!!! |
@Kaonashi22 to be 100% sure I'm also re-running the processing on the 14 subjects you shared with me. I'll share the QC report once done. EDIT 20240618_142034:
Two crashes: |
Sorry for the delay! The PR has been merged. Feel free to update your local copies of SCT and retry. |
@Kaonashi22 you need to do the following:
And then you can re-run the processing on all subjects. For every new issue you experience, please open a specific issue. I'm closing this issue now. |
When working on #31 I noticed cropped edges in the registered template:
I suspect this is caused by improper straightening (too large curvature?). I'll investigate
The text was updated successfully, but these errors were encountered: