|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<ui version="4.0">
|
|
|
<class>MainWindow</class>
|
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>1077</width>
|
|
|
<height>761</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="minimumSize">
|
|
|
<size>
|
|
|
<width>1077</width>
|
|
|
<height>761</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
<property name="windowTitle">
|
|
|
<string>MainWindow</string>
|
|
|
</property>
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
<property name="enabled">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>1080</width>
|
|
|
<height>718</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="minimumSize">
|
|
|
<size>
|
|
|
<width>1080</width>
|
|
|
<height>718</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
<property name="focusPolicy">
|
|
|
<enum>Qt::TabFocus</enum>
|
|
|
</property>
|
|
|
<property name="contextMenuPolicy">
|
|
|
<enum>Qt::DefaultContextMenu</enum>
|
|
|
</property>
|
|
|
<property name="currentIndex">
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
<property name="iconSize">
|
|
|
<size>
|
|
|
<width>20</width>
|
|
|
<height>20</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
<widget class="QWidget" name="tab">
|
|
|
<attribute name="title">
|
|
|
<string>1.图像的基本操作</string>
|
|
|
</attribute>
|
|
|
<widget class="QPushButton" name="pushButton_3">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>150</x>
|
|
|
<y>570</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>查看图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>850</x>
|
|
|
<y>320</y>
|
|
|
<width>16</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>y</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>750</x>
|
|
|
<y>320</y>
|
|
|
<width>21</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>x</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_4">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>880</x>
|
|
|
<y>370</y>
|
|
|
<width>41</width>
|
|
|
<height>20</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>850</x>
|
|
|
<y>370</y>
|
|
|
<width>16</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>y</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_5">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>150</x>
|
|
|
<y>610</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_9">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>810</x>
|
|
|
<y>430</y>
|
|
|
<width>91</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>730</x>
|
|
|
<y>20</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_2">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>880</x>
|
|
|
<y>320</y>
|
|
|
<width>41</width>
|
|
|
<height>20</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>750</x>
|
|
|
<y>370</y>
|
|
|
<width>21</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>x</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_10">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>810</x>
|
|
|
<y>510</y>
|
|
|
<width>91</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>790</x>
|
|
|
<y>320</y>
|
|
|
<width>41</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_3">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>790</x>
|
|
|
<y>370</y>
|
|
|
<width>41</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>830</x>
|
|
|
<y>30</y>
|
|
|
<width>31</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>大小</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>810</x>
|
|
|
<y>130</y>
|
|
|
<width>71</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>RGB(灰度)</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QTextBrowser" name="textBrowser">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>900</x>
|
|
|
<y>20</y>
|
|
|
<width>141</width>
|
|
|
<height>31</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QTextBrowser" name="textBrowser_3">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>900</x>
|
|
|
<y>120</y>
|
|
|
<width>141</width>
|
|
|
<height>31</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_10">
|
|
|
<property name="enabled">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>10</y>
|
|
|
<width>721</width>
|
|
|
<height>501</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="cursor">
|
|
|
<cursorShape>CrossCursor</cursorShape>
|
|
|
</property>
|
|
|
<property name="mouseTracking">
|
|
|
<bool>false</bool>
|
|
|
</property>
|
|
|
<property name="autoFillBackground">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_9">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>750</x>
|
|
|
<y>300</y>
|
|
|
<width>121</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>比例平移(%)</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_6">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>950</x>
|
|
|
<y>320</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>应用</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_11">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>750</x>
|
|
|
<y>350</y>
|
|
|
<width>151</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>像素平移(pixel)</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_7">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>950</x>
|
|
|
<y>370</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>应用</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_12">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>750</x>
|
|
|
<y>400</y>
|
|
|
<width>121</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>逆时针旋转(°)</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_13">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>750</x>
|
|
|
<y>470</y>
|
|
|
<width>101</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>比例缩放(%)</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_8">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>950</x>
|
|
|
<y>420</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>应用</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_9">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>950</x>
|
|
|
<y>510</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>应用</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QTextBrowser" name="textBrowser_4">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>900</x>
|
|
|
<y>70</y>
|
|
|
<width>141</width>
|
|
|
<height>31</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_15">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>830</x>
|
|
|
<y>80</y>
|
|
|
<width>31</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>坐标</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_2">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>30</x>
|
|
|
<y>570</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>重置图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_4">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>30</x>
|
|
|
<y>610</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>清空图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>740</x>
|
|
|
<y>540</y>
|
|
|
<width>141</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>仿射变换(metrix)</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_5">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>770</x>
|
|
|
<y>570</y>
|
|
|
<width>51</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_6">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>870</x>
|
|
|
<y>570</y>
|
|
|
<width>51</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_7">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>770</x>
|
|
|
<y>610</y>
|
|
|
<width>51</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_8">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>870</x>
|
|
|
<y>610</y>
|
|
|
<width>51</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>740</x>
|
|
|
<y>570</y>
|
|
|
<width>16</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>x1</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_14">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>840</x>
|
|
|
<y>570</y>
|
|
|
<width>16</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>x2</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_64">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>740</x>
|
|
|
<y>610</y>
|
|
|
<width>16</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>y1</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_65">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>840</x>
|
|
|
<y>610</y>
|
|
|
<width>21</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>y2</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_10">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>950</x>
|
|
|
<y>610</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>应用</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_66">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>740</x>
|
|
|
<y>650</y>
|
|
|
<width>21</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>z1</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_67">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>840</x>
|
|
|
<y>650</y>
|
|
|
<width>21</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>z2</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_43">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>770</x>
|
|
|
<y>650</y>
|
|
|
<width>51</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_44">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>870</x>
|
|
|
<y>650</y>
|
|
|
<width>51</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</widget>
|
|
|
<widget class="QWidget" name="tab_2">
|
|
|
<attribute name="title">
|
|
|
<string>2.直方图统计与均衡</string>
|
|
|
</attribute>
|
|
|
<widget class="QLabel" name="label_16">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>500</x>
|
|
|
<y>20</y>
|
|
|
<width>550</width>
|
|
|
<height>360</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="cursor">
|
|
|
<cursorShape>CrossCursor</cursorShape>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_18">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>550</x>
|
|
|
<y>390</y>
|
|
|
<width>471</width>
|
|
|
<height>291</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string> 直方图</string>
|
|
|
</property>
|
|
|
<property name="textFormat">
|
|
|
<enum>Qt::AutoText</enum>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QTextBrowser" name="textBrowser_2">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>90</x>
|
|
|
<y>260</y>
|
|
|
<width>141</width>
|
|
|
<height>31</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_11">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>20</x>
|
|
|
<y>40</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_12">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>340</x>
|
|
|
<y>110</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>全局统计</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit9">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>50</x>
|
|
|
<y>150</y>
|
|
|
<width>71</width>
|
|
|
<height>31</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit10">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>140</x>
|
|
|
<y>150</y>
|
|
|
<width>71</width>
|
|
|
<height>31</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_14">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>60</x>
|
|
|
<y>400</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>查看</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_15">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>60</x>
|
|
|
<y>460</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>直方图均衡</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_16">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>190</x>
|
|
|
<y>400</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>CLAHE</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_17">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>190</x>
|
|
|
<y>460</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>清空</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_15">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>50</x>
|
|
|
<y>190</y>
|
|
|
<width>71</width>
|
|
|
<height>31</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_16">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>140</x>
|
|
|
<y>190</y>
|
|
|
<width>71</width>
|
|
|
<height>31</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_18">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>340</x>
|
|
|
<y>280</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>重置</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_19">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>50</x>
|
|
|
<y>270</y>
|
|
|
<width>41</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Mean</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_21">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>20</x>
|
|
|
<y>150</y>
|
|
|
<width>21</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>x</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_22">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>20</x>
|
|
|
<y>200</y>
|
|
|
<width>21</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>y</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_27">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>20</x>
|
|
|
<y>100</y>
|
|
|
<width>31</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>范围</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="Line" name="line">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>470</x>
|
|
|
<y>60</y>
|
|
|
<width>20</width>
|
|
|
<height>581</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="orientation">
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_47">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>340</x>
|
|
|
<y>370</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_17">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>50</x>
|
|
|
<y>340</y>
|
|
|
<width>31</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Std</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QTextBrowser" name="textBrowser_5">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>90</x>
|
|
|
<y>330</y>
|
|
|
<width>141</width>
|
|
|
<height>31</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_13">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>340</x>
|
|
|
<y>190</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>局部统计</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</widget>
|
|
|
<widget class="QWidget" name="tab_3">
|
|
|
<attribute name="title">
|
|
|
<string>3.基本运算与空域运算</string>
|
|
|
</attribute>
|
|
|
<widget class="QLabel" name="label_29">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>420</x>
|
|
|
<y>0</y>
|
|
|
<width>200</width>
|
|
|
<height>250</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string> result</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_31">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>850</x>
|
|
|
<y>0</y>
|
|
|
<width>200</width>
|
|
|
<height>250</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="cursor">
|
|
|
<cursorShape>CrossCursor</cursorShape>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string> result</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_33">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>640</x>
|
|
|
<y>0</y>
|
|
|
<width>200</width>
|
|
|
<height>250</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string> pic 3</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_35">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>200</width>
|
|
|
<height>250</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string> pic 1</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_36">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>210</x>
|
|
|
<y>0</y>
|
|
|
<width>200</width>
|
|
|
<height>250</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="cursor">
|
|
|
<cursorShape>CrossCursor</cursorShape>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string> pic 2</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_20">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>790</x>
|
|
|
<y>300</y>
|
|
|
<width>30</width>
|
|
|
<height>20</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_19">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>130</x>
|
|
|
<y>290</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>SUB</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_21">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>290</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>ADD</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_22">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>130</x>
|
|
|
<y>330</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>DIVIDE</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_27">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>835</x>
|
|
|
<y>300</y>
|
|
|
<width>30</width>
|
|
|
<height>20</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_24">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>330</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>MULTI</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_20">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>440</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>与</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_20">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>260</y>
|
|
|
<width>72</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>算术运算</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_23">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>410</y>
|
|
|
<width>72</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>逻辑运算</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_48">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>130</x>
|
|
|
<y>440</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>或</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_49">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>480</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>非</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_24">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>790</x>
|
|
|
<y>260</y>
|
|
|
<width>131</width>
|
|
|
<height>16</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>结构元参数初始化</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_25">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>825</x>
|
|
|
<y>305</y>
|
|
|
<width>10</width>
|
|
|
<height>10</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>*</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_50">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>790</x>
|
|
|
<y>340</y>
|
|
|
<width>51</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>腐蚀</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_51">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>790</x>
|
|
|
<y>380</y>
|
|
|
<width>51</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>膨胀</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_52">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>870</x>
|
|
|
<y>340</y>
|
|
|
<width>51</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>开</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_53">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>870</x>
|
|
|
<y>380</y>
|
|
|
<width>51</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>闭</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_23">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>790</x>
|
|
|
<y>480</y>
|
|
|
<width>131</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>高斯滤波</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_54">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>630</x>
|
|
|
<y>430</y>
|
|
|
<width>131</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>拉普拉斯滤波</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_55">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>790</x>
|
|
|
<y>430</y>
|
|
|
<width>131</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>均值滤波</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_56">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>630</x>
|
|
|
<y>480</y>
|
|
|
<width>131</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>中值滤波</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QRadioButton" name="radioButton_2">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>950</x>
|
|
|
<y>310</y>
|
|
|
<width>115</width>
|
|
|
<height>19</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>作用于结果图</string>
|
|
|
</property>
|
|
|
<property name="autoRepeat">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<property name="autoExclusive">
|
|
|
<bool>false</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_58">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>950</x>
|
|
|
<y>430</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>清空</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_59">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>950</x>
|
|
|
<y>480</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_61">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>140</x>
|
|
|
<y>540</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_62">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>590</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>查看</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_63">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>950</x>
|
|
|
<y>530</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>查看</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_64">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>130</x>
|
|
|
<y>250</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择图像1</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_65">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>640</x>
|
|
|
<y>250</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="Line" name="line_2">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>620</x>
|
|
|
<y>-30</y>
|
|
|
<width>20</width>
|
|
|
<height>731</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="orientation">
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_26">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>310</x>
|
|
|
<y>300</y>
|
|
|
<width>241</width>
|
|
|
<height>131</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string> 左侧部分包括了图片的算术运算和逻辑运算,其中算术运算包括了加减乘除四种运算,逻辑运算包括了与或非三种运算。对于其中的双目运算符,需要选择PIC1和PIC2合成出新的图片RESULT,对于单目运算符,会忽略PIC2,直接操作PIC。</string>
|
|
|
</property>
|
|
|
<property name="alignment">
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
</property>
|
|
|
<property name="wordWrap">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_28">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>310</x>
|
|
|
<y>440</y>
|
|
|
<width>241</width>
|
|
|
<height>211</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string> 右侧部分包括了图像结构元和算子、滤波的单目运算。运算前需要导入图像,并输入结构元初始化参数规格,并选择是否添加padding以及在原图还是在现有图片上操作。最后选择滤波按钮便可得到RESULT图片</string>
|
|
|
</property>
|
|
|
<property name="alignment">
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
</property>
|
|
|
<property name="wordWrap">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_66">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>250</x>
|
|
|
<y>250</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择图像2</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_57">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>540</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>清空</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_60">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>630</x>
|
|
|
<y>540</y>
|
|
|
<width>131</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>双边滤波</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_11">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>690</x>
|
|
|
<y>590</y>
|
|
|
<width>71</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_12">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>730</x>
|
|
|
<y>650</y>
|
|
|
<width>91</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLineEdit" name="lineEdit_13">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>860</x>
|
|
|
<y>590</y>
|
|
|
<width>91</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_67">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>640</x>
|
|
|
<y>290</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>高斯噪声</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_68">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>640</x>
|
|
|
<y>330</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>椒盐噪声</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_61">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>640</x>
|
|
|
<y>590</y>
|
|
|
<width>31</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>半径</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_62">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>770</x>
|
|
|
<y>590</y>
|
|
|
<width>72</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>色彩标准差</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_63">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>640</x>
|
|
|
<y>650</y>
|
|
|
<width>72</width>
|
|
|
<height>21</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>空间标准差</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</widget>
|
|
|
<widget class="QWidget" name="tab_4">
|
|
|
<attribute name="title">
|
|
|
<string>4.直线检测与边缘检测</string>
|
|
|
</attribute>
|
|
|
<widget class="QLabel" name="label_43">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>280</x>
|
|
|
<y>60</y>
|
|
|
<width>240</width>
|
|
|
<height>240</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_25">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>80</width>
|
|
|
<height>30</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_30">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>270</x>
|
|
|
<y>0</y>
|
|
|
<width>80</width>
|
|
|
<height>30</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>清空</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_26">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>110</x>
|
|
|
<y>0</y>
|
|
|
<width>131</width>
|
|
|
<height>30</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>提取边缘与直线</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_30">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>560</x>
|
|
|
<y>60</y>
|
|
|
<width>240</width>
|
|
|
<height>240</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_32">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>280</x>
|
|
|
<y>400</y>
|
|
|
<width>240</width>
|
|
|
<height>240</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_34">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>560</x>
|
|
|
<y>400</y>
|
|
|
<width>240</width>
|
|
|
<height>240</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_37">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>100</x>
|
|
|
<y>40</y>
|
|
|
<width>72</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>原图</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_39">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>280</x>
|
|
|
<y>40</y>
|
|
|
<width>91</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Roberts算子</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_38">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>560</x>
|
|
|
<y>40</y>
|
|
|
<width>101</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Prewitt算子</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_40">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>380</y>
|
|
|
<width>81</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Sobel算子</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_41">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>280</x>
|
|
|
<y>380</y>
|
|
|
<width>131</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Laplacian算子</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_42">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>560</x>
|
|
|
<y>380</y>
|
|
|
<width>111</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Lough直线提取</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_27">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>420</x>
|
|
|
<y>30</y>
|
|
|
<width>101</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存Roberts</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_28">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>660</x>
|
|
|
<y>30</y>
|
|
|
<width>111</width>
|
|
|
<height>30</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存Prewtitt</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_29">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>90</x>
|
|
|
<y>370</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存Sobel</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_69">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>400</x>
|
|
|
<y>370</y>
|
|
|
<width>111</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存Laplacian</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_70">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>660</x>
|
|
|
<y>370</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存Lough</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_49">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>840</x>
|
|
|
<y>60</y>
|
|
|
<width>240</width>
|
|
|
<height>240</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_50">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>840</x>
|
|
|
<y>400</y>
|
|
|
<width>240</width>
|
|
|
<height>240</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_51">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>840</x>
|
|
|
<y>380</y>
|
|
|
<width>72</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Canny算子</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_52">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>840</x>
|
|
|
<y>40</y>
|
|
|
<width>72</width>
|
|
|
<height>15</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>Log算子</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_44">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>930</x>
|
|
|
<y>30</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存Log</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_45">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>920</x>
|
|
|
<y>370</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存Canny</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_53">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>60</y>
|
|
|
<width>240</width>
|
|
|
<height>240</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_58">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>400</y>
|
|
|
<width>240</width>
|
|
|
<height>240</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</widget>
|
|
|
<widget class="QWidget" name="tab_5">
|
|
|
<property name="accessibleDescription">
|
|
|
<string/>
|
|
|
</property>
|
|
|
<attribute name="title">
|
|
|
<string>5.图像频域运算</string>
|
|
|
</attribute>
|
|
|
<widget class="QLabel" name="label_46">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>30</x>
|
|
|
<y>80</y>
|
|
|
<width>481</width>
|
|
|
<height>471</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_48">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>530</x>
|
|
|
<y>230</y>
|
|
|
<width>531</width>
|
|
|
<height>471</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_31">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>20</y>
|
|
|
<width>90</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_37">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>230</x>
|
|
|
<y>20</y>
|
|
|
<width>90</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_39">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>120</x>
|
|
|
<y>20</y>
|
|
|
<width>90</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>清空</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_33">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>530</x>
|
|
|
<y>80</y>
|
|
|
<width>160</width>
|
|
|
<height>41</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>理想低通滤波器</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_35">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>700</x>
|
|
|
<y>80</y>
|
|
|
<width>160</width>
|
|
|
<height>41</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>高斯高通滤波器</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_36">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>870</x>
|
|
|
<y>80</y>
|
|
|
<width>160</width>
|
|
|
<height>41</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>拉普拉斯低通滤波器</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_40">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>340</x>
|
|
|
<y>20</y>
|
|
|
<width>90</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>原图</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_46">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>450</x>
|
|
|
<y>20</y>
|
|
|
<width>90</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>查看图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</widget>
|
|
|
<widget class="QWidget" name="tab_6">
|
|
|
<attribute name="title">
|
|
|
<string>6.风格迁移</string>
|
|
|
</attribute>
|
|
|
<widget class="QLabel" name="label_44">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>10</x>
|
|
|
<y>40</y>
|
|
|
<width>350</width>
|
|
|
<height>350</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>原图</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_45">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>380</x>
|
|
|
<y>40</y>
|
|
|
<width>350</width>
|
|
|
<height>350</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>风格图</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_47">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>750</x>
|
|
|
<y>40</y>
|
|
|
<width>350</width>
|
|
|
<height>350</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>结果图</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_34">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>40</x>
|
|
|
<y>480</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_38">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>40</x>
|
|
|
<y>550</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>清空</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_41">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>180</x>
|
|
|
<y>480</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择风格图</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_42">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>180</x>
|
|
|
<y>550</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>风格迁移</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_43">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>40</x>
|
|
|
<y>620</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>保存</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QProgressBar" name="progressBar">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>750</x>
|
|
|
<y>420</y>
|
|
|
<width>291</width>
|
|
|
<height>31</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="value">
|
|
|
<number>24</number>
|
|
|
</property>
|
|
|
<property name="alignment">
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
</property>
|
|
|
<property name="textVisible">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<property name="format">
|
|
|
<string>loading...%</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_60">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>330</x>
|
|
|
<y>480</y>
|
|
|
<width>371</width>
|
|
|
<height>111</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string> 在进行风格迁移前,请先选择图像和风格图,并点击“风格迁移”。由于网络骨干为VGG16,规模较为庞大,训练速度较慢,请等待半分钟到一分钟即可。(RTX2060 6G)</string>
|
|
|
</property>
|
|
|
<property name="alignment">
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
</property>
|
|
|
<property name="wordWrap">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QTextBrowser" name="textBrowser_8">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>190</x>
|
|
|
<y>620</y>
|
|
|
<width>411</width>
|
|
|
<height>33</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="acceptDrops">
|
|
|
<bool>false</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</widget>
|
|
|
<widget class="QWidget" name="tab_7">
|
|
|
<property name="enabled">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<attribute name="title">
|
|
|
<string>7.目标检测</string>
|
|
|
</attribute>
|
|
|
<widget class="QLabel" name="label_54">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>30</x>
|
|
|
<y>60</y>
|
|
|
<width>480</width>
|
|
|
<height>500</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_55">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>550</x>
|
|
|
<y>60</y>
|
|
|
<width>480</width>
|
|
|
<height>500</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="frameShape">
|
|
|
<enum>QFrame::Box</enum>
|
|
|
</property>
|
|
|
<property name="frameShadow">
|
|
|
<enum>QFrame::Sunken</enum>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_32">
|
|
|
<property name="enabled">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>50</x>
|
|
|
<y>590</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择图像</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_71">
|
|
|
<property name="enabled">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>180</x>
|
|
|
<y>590</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="autoFillBackground">
|
|
|
<bool>false</bool>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择模型</string>
|
|
|
</property>
|
|
|
<property name="checkable">
|
|
|
<bool>false</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_72">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>50</x>
|
|
|
<y>640</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>目标检测</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_73">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>310</x>
|
|
|
<y>640</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>查看结果</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_74">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>180</x>
|
|
|
<y>640</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>清空</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QPushButton" name="pushButton_75">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>310</x>
|
|
|
<y>590</y>
|
|
|
<width>93</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>选择保存路径</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_56">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>440</x>
|
|
|
<y>590</y>
|
|
|
<width>101</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>当前模型路径:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QTextBrowser" name="textBrowser_6">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>550</x>
|
|
|
<y>590</y>
|
|
|
<width>411</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="acceptDrops">
|
|
|
<bool>false</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_57">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>440</x>
|
|
|
<y>640</y>
|
|
|
<width>111</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>当前保存路径:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QTextBrowser" name="textBrowser_7">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>550</x>
|
|
|
<y>640</y>
|
|
|
<width>411</width>
|
|
|
<height>28</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<widget class="QLabel" name="label_59">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>30</x>
|
|
|
<y>10</y>
|
|
|
<width>961</width>
|
|
|
<height>41</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string> 操作指南:先选择一副需要进行目标检测和分类的图片(性别检测),然后选择本地模型(pt_file中的.pt文件是已训练好的预训练模型)。此外还需要选择一个本地文件夹用于保存图片(图片会以/exp/originalname的形式保存。等待一小会后便会自动刷新结果</string>
|
|
|
</property>
|
|
|
<property name="alignment">
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
</property>
|
|
|
<property name="wordWrap">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</widget>
|
|
|
</widget>
|
|
|
</widget>
|
|
|
<widget class="QMenuBar" name="menubar">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>1077</width>
|
|
|
<height>26</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<widget class="QMenu" name="menuun1">
|
|
|
<property name="title">
|
|
|
<string>数字图像处理</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
<addaction name="menuun1"/>
|
|
|
</widget>
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
</widget>
|
|
|
<resources/>
|
|
|
<connections/>
|
|
|
</ui>
|