Skip to content
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

Detect mis-alignment #6

Open
soichih opened this issue Jun 1, 2021 · 7 comments
Open

Detect mis-alignment #6

soichih opened this issue Jun 1, 2021 · 7 comments

Comments

@soichih
Copy link
Collaborator

soichih commented Jun 1, 2021

Often "alignment" app fails to align data

image

From neuro/anat validator point of view, data aligned in any orientation is still valid, but I think it would be nice if we could somehow detect when the image looks "odd" and give warnings to the user - some novice user might not even know that the image isn't supposed to look like this after "ACPC Alignment".

@soichih
Copy link
Collaborator Author

soichih commented Jun 1, 2021

@giulia-berto Can you think of a way to quantify how "odd" the alignment is?

@giulia-berto
Copy link

shall we train a neural network?

@soichih
Copy link
Collaborator Author

soichih commented Jun 8, 2021

Sure! I am all open to your idea! This has to work on pretty much any resources and with as light dependencies as possible..

@soichih
Copy link
Collaborator Author

soichih commented Jul 29, 2021

Another easier way to show to the user that images are not aligned properly might be to show what the image should look like by underlying MNI space t1 image so user can contract it.

Also, can we add L/R A/P S/I labels on the output image?

@DanNBullock
Copy link

Is there some relationship here with whether the background has been masked out or not? If the background has not been masked out, then there will be both background noise and zero entries in the datablock. In the case of a weird alignment in a non-background masked nifti, the border between the zero (empty) entries and the background would be non-orthogonal in the data-block?

In these weird cases is the off-diagonal of the affine all zeros? There could be several issues compounding these outcomes.

@soichih
Copy link
Collaborator Author

soichih commented Dec 2, 2021

Maybe the misalignment is caused by the non-masked out background. Regardless of the reasons for misalignment, though, we should have a simple way of alerting users about the "potential" misalignment.

@giulia-berto
Copy link

I don't know if something has been done yet to warn the user of the misalignment. I forgot about it, and now it's not the best moment for me to work on that. But I agree that it would be nice to have a simple way of doing that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants