分别基于Egien和OpenCV实现旋转矩阵到欧拉角的转换
基于Eigen:#include <iostream>#include <Eigen/Core>#include <Eigen/Geometry>using namespace std;#define PI (3.1415926535897932346f)int main(int argc,char**argv){ cout<<endl<<"