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

rotation when using f3d_sym #71

Open
rijobro opened this issue May 27, 2020 · 0 comments
Open

rotation when using f3d_sym #71

rijobro opened this issue May 27, 2020 · 0 comments
Assignees

Comments

@rijobro
Copy link
Collaborator

rijobro commented May 27, 2020

As noted in SyneRBI/SIRF#680, using the symmetric version of f3d causes a rotation of the registered image and the resulting transformations (deformations and displacements).

This can be seen by comparing outputs of:

reg_f3d -flo test.nii -ref test.nii -sym

and

reg_f3d -flo test.nii -ref test.nii

When testing with an image where nx!=ny!=nz, the symmetric results look even stranger. I wonder if this implies that some images are being iterated across in the wrong order. When square, this results in a rotation, and when non-square, this results in a striding error.

I'm attaching two screenshots. The first screenshot, with nx==ny!=nz, shows a rotation. The second, with nx!=ny!=nz shows the distortion.

For both screenshots, test is the input, and outSym and outNoSym are the registered images, with and without symmetric, respectively.

Square

square

Non-square

non_square

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

No branches or pull requests

2 participants