‘PointSetRegistrator’ is not a member of ‘cv’
I am trying to write some code for point cloud segmentation using Sample Consensus in OpenCV as part of GSoC 2020.
This would eventually live in opencv_contrib, but involves heavy use of RANSAC which is in OpenCV's calib3d module.
Cutting to the chase, I need to write a RANSAC PointSet Registrator like in
https://github.com/opencv/opencv/blob...
But trying to access both PointSetRegistrator and createRANSACPointSetRegistrator outside of OpenCV, I get compile error "‘PointSetRegistrator’ is not a member of ‘cv’".
But I can clearly see in the source code that these classes are exported using CV_EXPORT.
Please let me know how I can use OpenCV's RANSAC functions outside of OpenCV.
https://github.com/opencv/opencv/blob...
it's in precomp.hpp, in the calib3d src folder, so unfortunately "package private"
How should I go about it? OpenCV's GSoC project heavily depends RANSAC but it doesn't make sense for me to reinvent the wheel in contrib.
I am working on the project idea #9 Add Robust Plane/Sphere/Cylinder Fitting into 3D Point Clouds
raise an issue about it ? probably the function definitions can be moved to some public calib3d header ?
On it. Already drafted the issue. Thanks!