Merge pull request #19098 from chargerKong:EulerAngle
authorLiangqian <49099366+chargerKong@users.noreply.github.com>
Thu, 31 Dec 2020 10:32:12 +0000 (18:32 +0800)
committerGitHub <noreply@github.com>
Thu, 31 Dec 2020 10:32:12 +0000 (10:32 +0000)
commite4c7fca7551c2d5d6f7795caa4593fa665bf40df
tree159a5cc2f8d817bfc082bc3e31d17af023a4584b
parentbec7b297ed64952b84f04d6d59de26b6fc21f7e4
Merge pull request #19098 from chargerKong:EulerAngle

* add to/from Euler Angles

* restruct codes

* quat: optimize implementation

* cleanup debug code

* correct spelling errors

* create QuatEnum for enum EulerAnglesType

* use for loop for test_quaternion

* drop template from isIntAngleType & add minimal error information in test_quaternion.cpp

Co-authored-by: ShanChenqi <shanchenqi@huawei.com>
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
modules/core/include/opencv2/core/quaternion.hpp
modules/core/include/opencv2/core/quaternion.inl.hpp
modules/core/test/test_quaternion.cpp