Refactored motion estimation parameters in the GUI.

This commit is contained in:
matlabbe
2015-06-27 01:43:29 -04:00
parent e5447be23a
commit b7faef35f1
14 changed files with 921 additions and 775 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ Transform OdometryBOW::computeTransform(
{
std::vector<int> matches, inliers;
Transform t;
if(this->isPnPEstimationUsed())
if(this->getEstimationType() == 1) // PnP
{
// 3D to 2D
if(data.cameraModels().size() > 1)