refactored opencv_stitching, added possibility to turn off BA

This commit is contained in:
Alexey Spizhevoy
2011-08-15 12:20:27 +00:00
parent 6e3a1f7b49
commit b97ecdff0d
6 changed files with 44 additions and 29 deletions

View File

@@ -90,7 +90,7 @@ private:
class BundleAdjuster : public Estimator
{
public:
enum { RAY_SPACE, FOCAL_RAY_SPACE };
enum { NO, RAY_SPACE, FOCAL_RAY_SPACE };
BundleAdjuster(int cost_space = FOCAL_RAY_SPACE, float conf_thresh = 1.f)
: cost_space_(cost_space), conf_thresh_(conf_thresh) {}