简体   繁体   中英

How to convert 3D point in OpenCV to Eigen representation?

将OpenCV中的3D点( cv::Point3 )转换为本征表示的最佳方法是什么?

I think the best representation in Eigen is Vector3d , such as:

cv::Point3d p(1,2,3);
Eigen::Vector3d point(p.x, p.y, p.z);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM