请问从decomposeHomographyMat()中获得旋转和平移的精确解决方案的最佳方法是什么?此函数提供4种可能的解决方案。我正在开发一个java版的android应用程序。
Mat homography=Calib3d.findHomography(ReferencePoints2,ReferencePoints1,0,Calib3d.RANSAC);
Calib3d.decomposeHomographyMat(Input homography,Input intrinsic,Output rotation,Output translation,Output normal);发布于 2018-09-25 18:01:29
我想您是在问如何在java中使用but而不是C++或python。如果是这种情况,您需要修改代码的第二行。只需将"Input“替换为"Mat”,将"output“替换为"List”
Calib3d.decomposeHomographyMat(Mat homography,Mat intrinsic,List<Mat> rotation,List<Mat>translation,List<Mat> normal);https://stackoverflow.com/questions/52409245
复制相似问题