timy90022 / perspective-and-equirectangular Goto Github PK
View Code? Open in Web Editor NEWA tool to transfer Perspective between Equirectangular
A tool to transfer Perspective between Equirectangular
Hello,
Could you please share any references(publications/books) that helped you write the code for the transformations?
Thank you in advance.
Hey,
first of all thanks for this nice library. I stumbled on a bug inside Perspec2Equirec.py in the calculation of the hFOV.
instead of self.hFOV = float(self._height) / self._width * FOV
the correct formula to calculate the horizontal FOV would be:
self.hFOV = np.rad2deg(2 * np.arctan(self._height * np.tan(np.radians(FOV/2)) / self._width))
see here.
It makes no difference as long as the input images are squared but when using images with a different aspect ratio it leads to incorrect projections.
Hi,
I would like to use this code in a project, but you have not provided indicated a license. Can you please add a LICENSE file and license headers to your code?
Specifically, I want to use lib/Equirec2Perspec.py and lib/Perspec2Equirec.py.
I see in your README that you modified code from https://github.com/fuenwang/Equirec2Perspec/ to create them which is licensed as MIT.
Can you please add a LICENSE file and license headers to your code to allow reuse?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.