Skip to content

whdlgp/Equirectangular_rotate

Repository files navigation

Equirectangular_rotate

Rotate Equirectangular image with Eular angle

Defendancy

  • OpenCV

Currently tested with OpenCV 3.4.2

How to use

Usage : Equirectangular_rotate.out <Image file name> <roll> <pitch> <yaw>
<roll>, <pitch>, <yaw> is rotation angle, It should be 0~360

How to build (with Cmake)

git clone https://github.com/whdlgp/Equirectangular_rotate
cd Equirectangular_rotate
mkdir build && cd build
cmake ..
cmake --build .
mv Equirectangular_rotate Equirectangular_rotate.out

Example

Test with test image, Let's rotate image with Roll, Pitch, Yaw rotation

Test image

Rotate with Yaw angle, 30 degree

Command

./Equirectangular_rotate.out test_image.JPG 0 0 30 

Result image

Rotate with Yaw and Pitch angle, 30 degree

Command

./Equirectangular_rotate.out test_image.JPG 0 30 30 

Result image

Rotate with Yaw, Pitch and Roll angle, 30 degree

Command

./Equirectangular_rotate.out test_image.JPG 30 30 30 

Result image

About

Rotate Equirectangular image with Eular angle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published