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

Change complex data import #96

Open
Lestropie opened this issue Jun 28, 2021 · 0 comments
Open

Change complex data import #96

Lestropie opened this issue Jun 28, 2021 · 0 comments

Comments

@Lestropie
Copy link
Collaborator

For Siemens data (phase comes in in range [-4096, +4094]), converting to radians through applying scaling only (i.e. not applying an offset) is what is necessary to produce a complex image from which computing the phase via std::arg (essentially atan2) replicates the original input phase image.

Shouldn't be consequential, but could nevertheless detect when the input phase image is close to symmetric about 0, and apply scaling to [-pi, pi) only, rather than scaling and shifting to [0, 2pi).

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

1 participant