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

Fix half-pixel offsets when converting between cube maps and equirect #10

Merged
merged 1 commit into from
Oct 9, 2022

Conversation

Oletus
Copy link
Contributor

@Oletus Oletus commented Oct 4, 2022

There were multiple sources of half-pixel offsets, which caused small inaccuracies when converting between cube maps and equirectangular images. These are now fixed.

Fixes issue #8

This change is sponsored by Higharc

…angular

There were multiple sources of half-pixel offsets, which caused small inaccuracies when converting between cube maps and equirectangular images. These are now fixed.

Fixes issue haruishi43#8
@Oletus
Copy link
Contributor Author

Oletus commented Oct 4, 2022

image

@Oletus
Copy link
Contributor Author

Oletus commented Oct 8, 2022

@haruishi43 Comments on this? This fix is important for our use case, which requires accurately matching equirectangular images from different sources.

@haruishi43
Copy link
Owner

Thank you for your pull request. I've been overloaded with other tasks recently...
I'll take a look at your pull request when I have time. I also want to run some tests before I merge this.

@haruishi43
Copy link
Owner

when I ran tests, although cube2equi test for torch (float16, nearest) fails, the MSE is close enough. I will edit the test codes later, but I'll merge this since you and your company need the features.

@haruishi43 haruishi43 merged commit 5241890 into haruishi43:master Oct 9, 2022
@Oletus
Copy link
Contributor Author

Oletus commented Oct 10, 2022

Thanks for merging!

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

Successfully merging this pull request may close these issues.

2 participants