Preferences dialog: fixed missing Vis/CorCrossCheck checkbox

This commit is contained in:
matlabbe
2020-05-02 11:03:17 -04:00
parent d14efea4ac
commit 0a4d0038cb
2 changed files with 29 additions and 8 deletions

View File

@@ -1039,6 +1039,7 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) :
_ui->loopClosure_pnpRefineIterations->setObjectName(Parameters::kVisPnPRefineIterations().c_str()); _ui->loopClosure_pnpRefineIterations->setObjectName(Parameters::kVisPnPRefineIterations().c_str());
_ui->reextract_nn->setObjectName(Parameters::kVisCorNNType().c_str()); _ui->reextract_nn->setObjectName(Parameters::kVisCorNNType().c_str());
_ui->reextract_nndrRatio->setObjectName(Parameters::kVisCorNNDR().c_str()); _ui->reextract_nndrRatio->setObjectName(Parameters::kVisCorNNDR().c_str());
_ui->checkBox__visCorCrossCheck->setObjectName(Parameters::kVisCorCrossCheck().c_str());
_ui->spinBox_visCorGuessWinSize->setObjectName(Parameters::kVisCorGuessWinSize().c_str()); _ui->spinBox_visCorGuessWinSize->setObjectName(Parameters::kVisCorGuessWinSize().c_str());
_ui->checkBox__visCorGuessMatchToProjection->setObjectName(Parameters::kVisCorGuessMatchToProjection().c_str()); _ui->checkBox__visCorGuessMatchToProjection->setObjectName(Parameters::kVisCorGuessMatchToProjection().c_str());
_ui->vis_feature_detector->setObjectName(Parameters::kVisFeatureType().c_str()); _ui->vis_feature_detector->setObjectName(Parameters::kVisFeatureType().c_str());

View File

@@ -63,7 +63,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>-250</y> <y>0</y>
<width>680</width> <width>680</width>
<height>3497</height> <height>3497</height>
</rect> </rect>
@@ -95,7 +95,7 @@
<enum>QFrame::Raised</enum> <enum>QFrame::Raised</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>5</number> <number>21</number>
</property> </property>
<widget class="QWidget" name="page_22"> <widget class="QWidget" name="page_22">
<layout class="QVBoxLayout" name="verticalLayout_29" stretch="0,1"> <layout class="QVBoxLayout" name="verticalLayout_29" stretch="0,1">
@@ -17056,7 +17056,7 @@ If set to false, classic RTAB-Map loop closure detection is done using only imag
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="3" column="0">
<widget class="QSpinBox" name="spinBox_visCorGuessWinSize"> <widget class="QSpinBox" name="spinBox_visCorGuessWinSize">
<property name="suffix"> <property name="suffix">
<string> pixels</string> <string> pixels</string>
@@ -17129,7 +17129,7 @@ If set to false, classic RTAB-Map loop closure detection is done using only imag
<item row="1" column="1"> <item row="1" column="1">
<widget class="QLabel" name="label_181"> <widget class="QLabel" name="label_181">
<property name="text"> <property name="text">
<string>NNDR ratio <string>NNDR (Nearest Neighbor Distance Ratio)
(A matching pair is accepted, if its distance is closer than X times the distance of the second nearest neighbor) (A matching pair is accepted, if its distance is closer than X times the distance of the second nearest neighbor)
Lower the ratio -&gt; higher the precision.</string> Lower the ratio -&gt; higher the precision.</string>
</property> </property>
@@ -17141,7 +17141,7 @@ Lower the ratio -&gt; higher the precision.</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="3" column="1">
<widget class="QLabel" name="label_303"> <widget class="QLabel" name="label_303">
<property name="text"> <property name="text">
<string>Matching window size around projected points when a guess transform is provided to find correspondences. 0 means that global matching will be done.</string> <string>Matching window size around projected points when a guess transform is provided to find correspondences. 0 means that global matching will be done.</string>
@@ -17154,7 +17154,7 @@ Lower the ratio -&gt; higher the precision.</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1"> <item row="5" column="1">
<spacer name="verticalSpacer_44"> <spacer name="verticalSpacer_44">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
@@ -17167,7 +17167,7 @@ Lower the ratio -&gt; higher the precision.</string>
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="3" column="1"> <item row="4" column="1">
<widget class="QLabel" name="label_448"> <widget class="QLabel" name="label_448">
<property name="text"> <property name="text">
<string>Match frame's corners to source's projected points (when guess transform is provided) instead of projected points to frame's corners.</string> <string>Match frame's corners to source's projected points (when guess transform is provided) instead of projected points to frame's corners.</string>
@@ -17180,13 +17180,33 @@ Lower the ratio -&gt; higher the precision.</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0"> <item row="4" column="0">
<widget class="QCheckBox" name="checkBox__visCorGuessMatchToProjection"> <widget class="QCheckBox" name="checkBox__visCorGuessMatchToProjection">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1">
<widget class="QLabel" name="label_582">
<property name="text">
<string>Cross check matching. If enabled, brute force matching with cross check is done instead of one of the nearest neighbor strategy above based on NNDR ratio.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="checkBox__visCorCrossCheck">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>