OpenCV_Example/sources/main_window.ui

694 lines
24 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>1085</width>
<height>686</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<property name="windowIcon">
<iconset resource="../_resources/main.qrc">
<normaloff>:/images/main_icon.png</normaloff>:/images/main_icon.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>284</width>
<height>1300</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>1300</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QGroupBox" name="groupBox_7">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Корректировка</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QPushButton" name="pushButtonAutoExposure">
<property name="text">
<string>Автокорректировка экспозиции</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonWhiteBalance">
<property name="text">
<string>Баланс белого</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonHistogramEqual">
<property name="text">
<string>Гистограммная эквализация</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonLaplacian">
<property name="text">
<string>Резкость - Фильтр Лапласа</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonClahe">
<property name="text">
<string>Адаптивное выравнивание</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBoxGain">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Простая регулировка яркости</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,1">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Множитель:</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="doubleSpinBoxGain">
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>1.500000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>&gt; 1 - увеличение яркости</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>&lt; 1 - уменьшение яркости</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonGain">
<property name="text">
<string>Применить</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Яркость и контраст</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3" stretch="1,1">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Яркость:</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="doubleSpinBoxBrightness">
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>1.500000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>&gt; 1 - увеличение яркости</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>&lt; 1 - уменьшение яркости</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4" stretch="1,1">
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>Контраст:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBoxContrast">
<property name="minimum">
<number>-1000</number>
</property>
<property name="maximum">
<number>1000</number>
</property>
<property name="value">
<number>2</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_10">
<property name="text">
<string>&gt; 0 - увеличение контраста</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_9">
<property name="text">
<string>&lt; 0 - уменьшение контраста</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonBrightnessAndContrast">
<property name="text">
<string>Применить</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>Резкость - Размытие и вычитание</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<layout class="QGridLayout" name="gridLayout" columnstretch="1,1">
<item row="0" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Сигма:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBoxSigma">
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="value">
<double>3.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Вычитание:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBoxAmount">
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="value">
<double>2.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pushButtonUnsharpMask">
<property name="text">
<string>Применить</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_5">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Удаление шума - Медианный фильтр</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5" stretch="1,1">
<item>
<widget class="QLabel" name="label_13">
<property name="text">
<string>Параметр k:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBoxMedian">
<property name="minimum">
<number>1</number>
</property>
<property name="singleStep">
<number>2</number>
</property>
<property name="value">
<number>5</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pushButtonMedian">
<property name="text">
<string>Применить</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_6">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Удаление шума - OpenCV FastNlMeans</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_14">
<property name="text">
<string>Параметр h:</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="doubleSpinBoxFastNlMeans">
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pushButtonFastNlMeans">
<property name="text">
<string>Применить</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Улучшение цветовой насыщенности</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7" stretch="1,1">
<item>
<widget class="QLabel" name="label_15">
<property name="text">
<string>Сатурация:</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="doubleSpinBoxSaturation">
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="value">
<double>1.500000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pushButtonSaturation">
<property name="text">
<string>Применить</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Коррекция виньетирования</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_10">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8" stretch="1,1">
<item>
<widget class="QLabel" name="label_16">
<property name="text">
<string>Сила коррекции:</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="doubleSpinBoxVinete">
<property name="decimals">
<number>3</number>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>0.200000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pushButtonVinete">
<property name="text">
<string>Применить</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QLabel" name="labelImage">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Изображение не загружено</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1085</width>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>Файл</string>
</property>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>Правка</string>
</property>
<addaction name="actionUndo"/>
<addaction name="actionReset"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>Вид</string>
</property>
<addaction name="actionShowImage"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
<addaction name="menuView"/>
</widget>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
<addaction name="actionUndo"/>
<addaction name="actionReset"/>
<addaction name="actionShowImage"/>
</widget>
<action name="actionOpen">
<property name="icon">
<iconset resource="../_resources/icons.qrc">
<normaloff>:/icons/opened-folder-40.png</normaloff>:/icons/opened-folder-40.png</iconset>
</property>
<property name="text">
<string>Открыть...</string>
</property>
</action>
<action name="actionSave">
<property name="icon">
<iconset resource="../_resources/icons.qrc">
<normaloff>:/icons/save-as-40.png</normaloff>:/icons/save-as-40.png</iconset>
</property>
<property name="text">
<string>Сохранить как...</string>
</property>
</action>
<action name="actionExit">
<property name="icon">
<iconset resource="../_resources/icons.qrc">
<normaloff>:/icons/shutdown-40.png</normaloff>:/icons/shutdown-40.png</iconset>
</property>
<property name="text">
<string>Выход</string>
</property>
</action>
<action name="actionUndo">
<property name="icon">
<iconset resource="../_resources/icons.qrc">
<normaloff>:/icons/restart-40.png</normaloff>:/icons/restart-40.png</iconset>
</property>
<property name="text">
<string>Отменить последнее преобразование</string>
</property>
</action>
<action name="actionReset">
<property name="icon">
<iconset resource="../_resources/icons.qrc">
<normaloff>:/icons/close-40.png</normaloff>:/icons/close-40.png</iconset>
</property>
<property name="text">
<string>Отменить все (загрузить исходный)</string>
</property>
</action>
<action name="actionShowImage">
<property name="icon">
<iconset resource="../_resources/icons.qrc">
<normaloff>:/icons/change-theme-40.png</normaloff>:/icons/change-theme-40.png</iconset>
</property>
<property name="text">
<string>Показать изображение в отдельном окне</string>
</property>
</action>
</widget>
<resources>
<include location="../_resources/main.qrc"/>
<include location="../_resources/icons.qrc"/>
</resources>
<connections/>
</ui>