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.

186 lines
4.1 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>1269</width>
<height>613</height>
</rect>
</property>
<property name="windowTitle">
<string>边缘检测</string>
</property>
<widget class="QLabel" name="label_image_2">
<property name="geometry">
<rect>
<x>720</x>
<y>10</y>
<width>450</width>
<height>450</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>80</x>
<y>80</y>
<width>111</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="QLabel" name="label_image_1">
<property name="geometry">
<rect>
<x>250</x>
<y>10</y>
<width>450</width>
<height>450</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="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_1">
<property name="geometry">
<rect>
<x>30</x>
<y>190</y>
<width>191</width>
<height>251</height>
</rect>
</property>
<property name="title">
<string>Canny边缘检测</string>
</property>
<widget class="QPushButton" name="pushButton_canny">
<property name="geometry">
<rect>
<x>50</x>
<y>190</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>确定</string>
</property>
</widget>
<widget class="QSpinBox" name="spinBox_low_th">
<property name="geometry">
<rect>
<x>120</x>
<y>50</y>
<width>61</width>
<height>41</height>
</rect>
</property>
<property name="maximum">
<number>255</number>
</property>
<property name="value">
<number>150</number>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>81</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>低阈值抑制</string>
</property>
</widget>
<widget class="QSpinBox" name="spinBox_high_th">
<property name="geometry">
<rect>
<x>120</x>
<y>110</y>
<width>61</width>
<height>41</height>
</rect>
</property>
<property name="maximum">
<number>255</number>
</property>
<property name="value">
<number>200</number>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>81</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>高阈值抑制</string>
</property>
</widget>
</widget>
</widget>
<resources/>
<connections/>
</ui>