663 lines
18 KiB
XML
663 lines
18 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DialogAlgoarg</class>
|
|
<widget class="QWidget" name="DialogAlgoarg">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>675</width>
|
|
<height>742</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>算法参数配置</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(25, 26, 28);</string>
|
|
</property>
|
|
<widget class="QLabel" name="label_title">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>20</y>
|
|
<width>820</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>20</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(221, 225, 233);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>工件检测 - 算法参数配置</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>80</y>
|
|
<width>581</width>
|
|
<height>591</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QTabWidget::pane { border: 1px solid rgb(100, 100, 100); }
|
|
QTabBar::tab { background-color: rgb(47, 48, 52); color: rgb(221, 225, 233); padding: 8px; min-width: 100px; }
|
|
QTabBar::tab:selected { background-color: rgb(70, 72, 78); border-bottom: 2px solid rgb(100, 150, 200); }
|
|
QLineEdit { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(70, 72, 78); padding: 4px; }
|
|
QLabel { color: rgb(221, 225, 233); }
|
|
QGroupBox { color: rgb(221, 225, 233); border: 1px solid rgb(100, 100, 100); border-radius: 4px; margin-top: 12px; padding-top: 8px; }
|
|
QGroupBox::title { subcontrol-origin: margin; left: 10px; padding: 0 3px 0 3px; }</string>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab_workpiece">
|
|
<attribute name="title">
|
|
<string>工件参数</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_workpiece">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>20</y>
|
|
<width>561</width>
|
|
<height>481</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>工件参数</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>521</width>
|
|
<height>386</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>直线段长度 (lineLen)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_lineLen">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_filter">
|
|
<attribute name="title">
|
|
<string>滤波参数</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_filter">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>20</y>
|
|
<width>561</width>
|
|
<height>500</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>离群点滤波参数</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>521</width>
|
|
<height>200</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>连续性阈值 (continuityTh)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_continuityTh">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>离群点阈值 (outlierTh)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_outlierTh">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>100</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_corner">
|
|
<attribute name="title">
|
|
<string>拐角参数</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_corner">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>20</y>
|
|
<width>561</width>
|
|
<height>521</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>拐角检测参数</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>521</width>
|
|
<height>461</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>拐角阈值 (cornerTh)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_cornerTh">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>窗口比例因子 (scale)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_scale">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Y方向最小结束间隔 (minEndingGap)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_minEndingGap">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Z方向最小结束间隔 (minEndingGap_z)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_minEndingGap_z">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>跳跃拐角阈值1 (jumpCornerTh_1)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_jumpCornerTh_1">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>跳跃拐角阈值2 (jumpCornerTh_2)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_jumpCornerTh_2">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_grow">
|
|
<attribute name="title">
|
|
<string>生长参数</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_grow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>20</y>
|
|
<width>561</width>
|
|
<height>500</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>树生长参数</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>511</width>
|
|
<height>451</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>最大线条跳过数 (maxLineSkipNum)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_maxLineSkipNum">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Y方向最大偏差 (yDeviation_max)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_yDeviation_max">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>最大跳跃距离 (maxSkipDistance)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_maxSkipDistance">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Z方向最大偏差 (zDeviation_max)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_zDeviation_max">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>L型树最小长度 (minLTypeTreeLen)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_minLTypeTreeLen">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>V型树最小长度 (minVTypeTreeLen)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_minVTypeTreeLen">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QPushButton" name="btn_camer_ok">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>180</x>
|
|
<y>690</y>
|
|
<width>100</width>
|
|
<height>45</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
background-color: rgb(60, 120, 180);
|
|
color: rgb(221, 225, 233);
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 8px;
|
|
}
|
|
QPushButton:hover {
|
|
background-color: rgb(80, 140, 200);
|
|
}
|
|
QPushButton:pressed {
|
|
background-color: rgb(40, 100, 160);
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>保存</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btn_camer_cancel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>410</x>
|
|
<y>690</y>
|
|
<width>100</width>
|
|
<height>45</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
background-color: rgb(120, 120, 120);
|
|
color: rgb(221, 225, 233);
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 8px;
|
|
}
|
|
QPushButton:hover {
|
|
background-color: rgb(140, 140, 140);
|
|
}
|
|
QPushButton:pressed {
|
|
background-color: rgb(100, 100, 100);
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>取消</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|