300 lines
7.8 KiB
XML
300 lines
7.8 KiB
XML
<?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>1363</width>
|
|
<height>916</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MainWindow</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<widget class="QWidget" name="">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>140</y>
|
|
<width>2008</width>
|
|
<height>1002</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>1000</width>
|
|
<height>1000</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>1000</width>
|
|
<height>1000</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>二值化</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>1000</width>
|
|
<height>1000</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>1000</width>
|
|
<height>1000</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>原圖</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>21</x>
|
|
<y>20</y>
|
|
<width>758</width>
|
|
<height>116</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="bt_camera_connect">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>101</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>101</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>相機連線</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="bt_OneShot">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>101</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>101</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>單張擷取</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="bt_KeetShot">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>101</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>101</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>連續取像</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QPushButton" name="bt_open_image">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>101</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>101</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>讀入影像</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="bt_save_image">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>101</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>101</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>儲存影像</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>91</width>
|
|
<height>31</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>91</width>
|
|
<height>31</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>曝光時間</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextEdit" name="Ex_time">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QTextEdit" name="threshold">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="threshold_value">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>321</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>321</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>255</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1363</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|