py360convert
Features of this project:
Convertion between cubemap and equirectangular
Equirectangular to planar
Pure python implementation and depend only on numpy and scipy
Vectorization implementation (in most of the place)
c2e takes 300ms and e2c takes 160ms on 1.6 GHz Intel Core i5 CPU
Requirements
numpy
scipy
pillow (for example code to load/save image)
Install
pip install py360convert
Now at everywhere, you can import py360convert or use the command line tool convert360.
Command line examples
You can run command line tool to use the functionality. Please See convert360 -h for detailed. The python script is also an example code to see how to use this as a package in your code.
convert360 --convert e2c --i assert/