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

question about units #11

Open
ken-sakaie opened this issue Aug 16, 2022 · 4 comments
Open

question about units #11

ken-sakaie opened this issue Aug 16, 2022 · 4 comments

Comments

@ken-sakaie
Copy link

What units are the unwrapped phase in? I sent in phase images with values ranging from 0 to 4095.
Output values ranged from -169.820160 to 195.847427.
I'm guessing that the range is some multiple of pi radians, but I would appreciate some specificity.
Apologies in advance if the answer is in the documentation and I was too lazy to find it.

@korbinian90
Copy link
Owner

Thanks for asking!

ROMEO interprets the input phase as a wrapped phase being in the range [-pi;pi]. That means for your dataset it is rescaled [0;4095] -> [-pi;pi] and is then in radians [rad].
This rescaled image is unwrapped and the output is also in [rad].

The output range (-169.820160 to 195.847427) is arbitrary, as it is probably given by the unwrapping of noise voxels. 170 is about 50 wraps (which usually only occurs for noise).

Does this explanation help?
Please keep this issue open, as I'm also updating the README (when I have more time)

@ken-sakaie
Copy link
Author

ken-sakaie commented Oct 11, 2022 via email

@korbinian90
Copy link
Owner

Yes, the range 0 through 4095 is a valid input range for ROMEO, manual scaling is not necessary.
Did you encounter problems with the unwrapping?

@ken-sakaie
Copy link
Author

ken-sakaie commented Oct 14, 2022 via email

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

2 participants