Rotate Equirectangular image with Eular angle
- OpenCV
Currently tested with OpenCV 3.4.2
Usage : Equirectangular_rotate.out <Image file name> <roll> <pitch> <yaw>
<roll>, <pitch>, <yaw> is rotation angle, It should be 0~360
git clone https://github.com/whdlgp/Equirectangular_rotate
cd Equirectangular_rotate
mkdir build && cd build
cmake ..
cmake --build .
mv Equirectangular_rotate Equirectangular_rotate.out
Test with test image, Let's rotate image with Roll, Pitch, Yaw rotation
./Equirectangular_rotate.out test_image.JPG 0 0 30
./Equirectangular_rotate.out test_image.JPG 0 30 30
./Equirectangular_rotate.out test_image.JPG 30 30 30