You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
245 lines
5.5 KiB
245 lines
5.5 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Form</class>
|
|
<widget class="QWidget" name="Form">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1158</width>
|
|
<height>789</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>图像色彩空间转换</string>
|
|
</property>
|
|
<widget class="QLabel" name="label_title">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>810</x>
|
|
<y>10</y>
|
|
<width>321</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Agency FB</family>
|
|
<pointsize>22</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>图像色彩空间转换</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_image">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>240</x>
|
|
<y>60</y>
|
|
<width>900</width>
|
|
<height>700</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Agency FB</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Box</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>图片将显示在这里</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_open_file">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>20</y>
|
|
<width>191</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>打开图片</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>170</y>
|
|
<width>221</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>灰度转换</string>
|
|
</property>
|
|
<widget class="QPushButton" name="pushButton_gray_convert">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>50</x>
|
|
<y>30</y>
|
|
<width>121</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>灰度转换</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>290</y>
|
|
<width>221</width>
|
|
<height>101</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>二值化</string>
|
|
</property>
|
|
<widget class="QLabel" name="label_bin_convert_1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>20</y>
|
|
<width>91</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>设置阈值:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_bin_convert">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>50</x>
|
|
<y>60</y>
|
|
<width>121</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>二值化转换</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="spinBox_bin_threshold">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>135</x>
|
|
<y>20</y>
|
|
<width>61</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>255</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>127</number>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>80</y>
|
|
<width>149</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_color_space_1">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Agency FB</family>
|
|
<pointsize>9</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>当前色彩空间:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_color_space_2">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Agency FB</family>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_reset">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>60</x>
|
|
<y>430</y>
|
|
<width>121</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>恢复默认</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|