The Graph-Cut RANSAC algorithm proposed in paper: Daniel Barath and Jiri Matas; Graph-Cut RANSAC, Conference on Computer Vision and Pattern Recognition, 2018. It is available at http://openaccess.thecvf.com/content_cvpr_2018/papers/Barath_Graph-Cut_RANSAC_CVPR_2018_paper.pdf
graph-cut-ransac/src/pygcransac/include/estimators/fundamental_estimator.h:100:49: error: ‘clamp’ is not a member of ‘std’
100 | minimum_inlier_ratio_in_validity_check(std::clamp(minimum_inlier_ratio_in_validitycheck, 0.0, 1.0)),
| ^~~~~
graph-cut-ransac/src/pygcransac/include/estimators/fundamental_estimator.h:100:49: error: ‘clamp’ is not a member of ‘std’ 100 | minimum_inlier_ratio_in_validity_check(std::clamp(minimum_inlier_ratio_in_validitycheck, 0.0, 1.0)), | ^~~~~
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF)
gcc version 9.4 c++17