00001 #include <pano_py/pano_py.h> 00002 00003 #include <pano_core/pano_core.h> 00004 #include <pano_py/opencv.h> 00005 00006 00007 using namespace pano; 00008 using namespace cv; 00009 00010 namespace pano_py{ 00011 00012 void wrap_SVDRSolverParams(){ 00013 00014 bp::class_<SVDRSolverParams>("SVDRSolverParams") 00015 .def_readwrite("error_thresh",&SVDRSolverParams::error_thresh, "the maximum reprojection error with which the to consider a point an inlier") 00016 .def_readwrite("inliers_thresh",&SVDRSolverParams::inliers_thresh, "the number of inliers needed to be confident in the fit") 00017 .def_readwrite("maxiters",&SVDRSolverParams::maxiters, "the maximum number of RANSAC iterations") 00018 .def_readwrite("nNeeded",&SVDRSolverParams::nNeeded, "the minimum number of points needed for generating a hypothesis, should be around 2") 00019 ; 00020 } 00021 00022 }