Disabled FAST parameters OpenCV2 related parameters in OpenCV3

This commit is contained in:
matlabbe
2016-02-22 18:22:49 -05:00
parent d7ef170d33
commit af37b4b746
2 changed files with 169 additions and 155 deletions

View File

@@ -171,6 +171,11 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) :
_ui->reextract_type->setItemData(6, 0, Qt::UserRole - 1);
#endif
}
#if CV_MAJOR_VERSION == 3
_ui->groupBox_fast_opencv2->setEnabled(false);
#endif
_ui->comboBox_cameraImages_gtFormat->setItemData(4, 0, Qt::UserRole - 1);
if(!Optimizer::isAvailable(Optimizer::kTypeG2O))
{