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.

518 lines
30 KiB

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui/bb.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1265, 875)
MainWindow.setMinimumSize(QtCore.QSize(0, 0))
MainWindow.setMaximumSize(QtCore.QSize(10000, 10000))
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setObjectName("horizontalLayout")
self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
self.horizontalLayout_12.setObjectName("horizontalLayout_12")
self.verticalLayout_20 = QtWidgets.QVBoxLayout()
self.verticalLayout_20.setObjectName("verticalLayout_20")
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
self.verticalLayout_20.addItem(spacerItem)
self.verticalLayout_21 = QtWidgets.QVBoxLayout()
self.verticalLayout_21.setObjectName("verticalLayout_21")
self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
self.horizontalLayout_13.setObjectName("horizontalLayout_13")
self.line_17 = QtWidgets.QFrame(self.centralwidget)
self.line_17.setFrameShape(QtWidgets.QFrame.HLine)
self.line_17.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_17.setObjectName("line_17")
self.horizontalLayout_13.addWidget(self.line_17)
self.label_8 = QtWidgets.QLabel(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
self.label_8.setSizePolicy(sizePolicy)
self.label_8.setObjectName("label_8")
self.horizontalLayout_13.addWidget(self.label_8)
self.line_18 = QtWidgets.QFrame(self.centralwidget)
self.line_18.setFrameShape(QtWidgets.QFrame.HLine)
self.line_18.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_18.setObjectName("line_18")
self.horizontalLayout_13.addWidget(self.line_18)
self.verticalLayout_21.addLayout(self.horizontalLayout_13)
self.verticalLayout_22 = QtWidgets.QVBoxLayout()
self.verticalLayout_22.setObjectName("verticalLayout_22")
self.horizontalLayout_21 = QtWidgets.QHBoxLayout()
self.horizontalLayout_21.setObjectName("horizontalLayout_21")
self.corrosionBtn = QtWidgets.QPushButton(self.centralwidget)
self.corrosionBtn.setObjectName("corrosionBtn")
self.horizontalLayout_21.addWidget(self.corrosionBtn)
self.expansionBtn = QtWidgets.QPushButton(self.centralwidget)
self.expansionBtn.setObjectName("expansionBtn")
self.horizontalLayout_21.addWidget(self.expansionBtn)
self.verticalLayout_22.addLayout(self.horizontalLayout_21)
self.horizontalLayout_22 = QtWidgets.QHBoxLayout()
self.horizontalLayout_22.setObjectName("horizontalLayout_22")
self.OpenBtn = QtWidgets.QPushButton(self.centralwidget)
self.OpenBtn.setObjectName("OpenBtn")
self.horizontalLayout_22.addWidget(self.OpenBtn)
self.CloseBtn = QtWidgets.QPushButton(self.centralwidget)
self.CloseBtn.setObjectName("CloseBtn")
self.horizontalLayout_22.addWidget(self.CloseBtn)
self.verticalLayout_22.addLayout(self.horizontalLayout_22)
self.verticalLayout_21.addLayout(self.verticalLayout_22)
self.verticalLayout_20.addLayout(self.verticalLayout_21)
spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
self.verticalLayout_20.addItem(spacerItem1)
self.verticalLayout_23 = QtWidgets.QVBoxLayout()
self.verticalLayout_23.setObjectName("verticalLayout_23")
self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
self.horizontalLayout_14.setObjectName("horizontalLayout_14")
self.line_19 = QtWidgets.QFrame(self.centralwidget)
self.line_19.setFrameShape(QtWidgets.QFrame.HLine)
self.line_19.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_19.setObjectName("line_19")
self.horizontalLayout_14.addWidget(self.line_19)
self.label_11 = QtWidgets.QLabel(self.centralwidget)
self.label_11.setObjectName("label_11")
self.horizontalLayout_14.addWidget(self.label_11)
self.line_20 = QtWidgets.QFrame(self.centralwidget)
self.line_20.setFrameShape(QtWidgets.QFrame.HLine)
self.line_20.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_20.setObjectName("line_20")
self.horizontalLayout_14.addWidget(self.line_20)
self.verticalLayout_23.addLayout(self.horizontalLayout_14)
self.verticalLayout_24 = QtWidgets.QVBoxLayout()
self.verticalLayout_24.setObjectName("verticalLayout_24")
self.horizontalLayout_23 = QtWidgets.QHBoxLayout()
self.horizontalLayout_23.setObjectName("horizontalLayout_23")
self.verticalLayout_25 = QtWidgets.QVBoxLayout()
self.verticalLayout_25.setObjectName("verticalLayout_25")
self.histogramBtn = QtWidgets.QPushButton(self.centralwidget)
self.histogramBtn.setObjectName("histogramBtn")
self.verticalLayout_25.addWidget(self.histogramBtn)
self.MeanBtn = QtWidgets.QPushButton(self.centralwidget)
self.MeanBtn.setObjectName("MeanBtn")
self.verticalLayout_25.addWidget(self.MeanBtn)
self.medianBtn = QtWidgets.QPushButton(self.centralwidget)
self.medianBtn.setObjectName("medianBtn")
self.verticalLayout_25.addWidget(self.medianBtn)
self.PrewittBtn = QtWidgets.QPushButton(self.centralwidget)
self.PrewittBtn.setObjectName("PrewittBtn")
self.verticalLayout_25.addWidget(self.PrewittBtn)
self.LowpassBtn = QtWidgets.QPushButton(self.centralwidget)
self.LowpassBtn.setObjectName("LowpassBtn")
self.verticalLayout_25.addWidget(self.LowpassBtn)
self.horizontalLayout_23.addLayout(self.verticalLayout_25)
self.verticalLayout_26 = QtWidgets.QVBoxLayout()
self.verticalLayout_26.setObjectName("verticalLayout_26")
self.EqualizeBtn = QtWidgets.QPushButton(self.centralwidget)
self.EqualizeBtn.setObjectName("EqualizeBtn")
self.verticalLayout_26.addWidget(self.EqualizeBtn)
self.vagueBtn = QtWidgets.QPushButton(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.vagueBtn.sizePolicy().hasHeightForWidth())
self.vagueBtn.setSizePolicy(sizePolicy)
self.vagueBtn.setObjectName("vagueBtn")
self.verticalLayout_26.addWidget(self.vagueBtn)
self.RobertsBtn = QtWidgets.QPushButton(self.centralwidget)
self.RobertsBtn.setObjectName("RobertsBtn")
self.verticalLayout_26.addWidget(self.RobertsBtn)
self.SobelBtn = QtWidgets.QPushButton(self.centralwidget)
self.SobelBtn.setObjectName("SobelBtn")
self.verticalLayout_26.addWidget(self.SobelBtn)
self.HighpassBtn = QtWidgets.QPushButton(self.centralwidget)
self.HighpassBtn.setObjectName("HighpassBtn")
self.verticalLayout_26.addWidget(self.HighpassBtn)
self.horizontalLayout_23.addLayout(self.verticalLayout_26)
self.verticalLayout_24.addLayout(self.horizontalLayout_23)
self.BoxBtn = QtWidgets.QPushButton(self.centralwidget)
self.BoxBtn.setObjectName("BoxBtn")
self.verticalLayout_24.addWidget(self.BoxBtn)
self.verticalLayout_23.addLayout(self.verticalLayout_24)
self.verticalLayout_20.addLayout(self.verticalLayout_23)
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
self.verticalLayout_20.addItem(spacerItem2)
self.verticalLayout_27 = QtWidgets.QVBoxLayout()
self.verticalLayout_27.setObjectName("verticalLayout_27")
self.horizontalLayout_24 = QtWidgets.QHBoxLayout()
self.horizontalLayout_24.setObjectName("horizontalLayout_24")
self.line_21 = QtWidgets.QFrame(self.centralwidget)
self.line_21.setFrameShape(QtWidgets.QFrame.HLine)
self.line_21.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_21.setObjectName("line_21")
self.horizontalLayout_24.addWidget(self.line_21)
self.label_13 = QtWidgets.QLabel(self.centralwidget)
self.label_13.setObjectName("label_13")
self.horizontalLayout_24.addWidget(self.label_13)
self.line_22 = QtWidgets.QFrame(self.centralwidget)
self.line_22.setFrameShape(QtWidgets.QFrame.HLine)
self.line_22.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_22.setObjectName("line_22")
self.horizontalLayout_24.addWidget(self.line_22)
self.verticalLayout_27.addLayout(self.horizontalLayout_24)
self.horizontalLayout_25 = QtWidgets.QHBoxLayout()
self.horizontalLayout_25.setObjectName("horizontalLayout_25")
self.ImportBtn = QtWidgets.QPushButton(self.centralwidget)
self.ImportBtn.setObjectName("ImportBtn")
self.horizontalLayout_25.addWidget(self.ImportBtn)
self.SaveBtn = QtWidgets.QPushButton(self.centralwidget)
self.SaveBtn.setObjectName("SaveBtn")
self.horizontalLayout_25.addWidget(self.SaveBtn)
self.verticalLayout_27.addLayout(self.horizontalLayout_25)
self.horizontalLayout_26 = QtWidgets.QHBoxLayout()
self.horizontalLayout_26.setObjectName("horizontalLayout_26")
self.verticalLayout_28 = QtWidgets.QVBoxLayout()
self.verticalLayout_28.setObjectName("verticalLayout_28")
self.label_15 = QtWidgets.QLabel(self.centralwidget)
self.label_15.setObjectName("label_15")
self.verticalLayout_28.addWidget(self.label_15)
self.label_17 = QtWidgets.QLabel(self.centralwidget)
self.label_17.setObjectName("label_17")
self.verticalLayout_28.addWidget(self.label_17)
self.label_18 = QtWidgets.QLabel(self.centralwidget)
self.label_18.setObjectName("label_18")
self.verticalLayout_28.addWidget(self.label_18)
self.label_19 = QtWidgets.QLabel(self.centralwidget)
self.label_19.setObjectName("label_19")
self.verticalLayout_28.addWidget(self.label_19)
self.horizontalLayout_26.addLayout(self.verticalLayout_28)
self.verticalLayout_29 = QtWidgets.QVBoxLayout()
self.verticalLayout_29.setObjectName("verticalLayout_29")
self.Label_H = QtWidgets.QLabel(self.centralwidget)
self.Label_H.setObjectName("Label_H")
self.verticalLayout_29.addWidget(self.Label_H)
self.Label_W = QtWidgets.QLabel(self.centralwidget)
self.Label_W.setObjectName("Label_W")
self.verticalLayout_29.addWidget(self.Label_W)
self.Label_T = QtWidgets.QLabel(self.centralwidget)
self.Label_T.setObjectName("Label_T")
self.verticalLayout_29.addWidget(self.Label_T)
self.Label_Type = QtWidgets.QLabel(self.centralwidget)
self.Label_Type.setObjectName("Label_Type")
self.verticalLayout_29.addWidget(self.Label_Type)
self.horizontalLayout_26.addLayout(self.verticalLayout_29)
self.verticalLayout_27.addLayout(self.horizontalLayout_26)
self.verticalLayout_20.addLayout(self.verticalLayout_27)
spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
self.verticalLayout_20.addItem(spacerItem3)
self.horizontalLayout_12.addLayout(self.verticalLayout_20)
self.vertical_line1_2 = QtWidgets.QFrame(self.centralwidget)
self.vertical_line1_2.setFrameShape(QtWidgets.QFrame.VLine)
self.vertical_line1_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.vertical_line1_2.setObjectName("vertical_line1_2")
self.horizontalLayout_12.addWidget(self.vertical_line1_2)
self.verticalLayout_30 = QtWidgets.QVBoxLayout()
self.verticalLayout_30.setObjectName("verticalLayout_30")
self.horizontalLayout_27 = QtWidgets.QHBoxLayout()
self.horizontalLayout_27.setObjectName("horizontalLayout_27")
self.line_23 = QtWidgets.QFrame(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.line_23.sizePolicy().hasHeightForWidth())
self.line_23.setSizePolicy(sizePolicy)
self.line_23.setFrameShape(QtWidgets.QFrame.HLine)
self.line_23.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_23.setObjectName("line_23")
self.horizontalLayout_27.addWidget(self.line_23)
self.label_20 = QtWidgets.QLabel(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_20.sizePolicy().hasHeightForWidth())
self.label_20.setSizePolicy(sizePolicy)
self.label_20.setObjectName("label_20")
self.horizontalLayout_27.addWidget(self.label_20)
self.line_24 = QtWidgets.QFrame(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.line_24.sizePolicy().hasHeightForWidth())
self.line_24.setSizePolicy(sizePolicy)
self.line_24.setFrameShape(QtWidgets.QFrame.HLine)
self.line_24.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_24.setObjectName("line_24")
self.horizontalLayout_27.addWidget(self.line_24)
self.verticalLayout_30.addLayout(self.horizontalLayout_27)
self.PicBefore = QtWidgets.QLabel(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.PicBefore.sizePolicy().hasHeightForWidth())
self.PicBefore.setSizePolicy(sizePolicy)
self.PicBefore.setText("")
self.PicBefore.setObjectName("PicBefore")
self.verticalLayout_30.addWidget(self.PicBefore)
self.horizontalLayout_28 = QtWidgets.QHBoxLayout()
self.horizontalLayout_28.setObjectName("horizontalLayout_28")
self.line_25 = QtWidgets.QFrame(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.line_25.sizePolicy().hasHeightForWidth())
self.line_25.setSizePolicy(sizePolicy)
self.line_25.setFrameShape(QtWidgets.QFrame.HLine)
self.line_25.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_25.setObjectName("line_25")
self.horizontalLayout_28.addWidget(self.line_25)
self.label_21 = QtWidgets.QLabel(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_21.sizePolicy().hasHeightForWidth())
self.label_21.setSizePolicy(sizePolicy)
self.label_21.setObjectName("label_21")
self.horizontalLayout_28.addWidget(self.label_21)
self.line_26 = QtWidgets.QFrame(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.line_26.sizePolicy().hasHeightForWidth())
self.line_26.setSizePolicy(sizePolicy)
self.line_26.setFrameShape(QtWidgets.QFrame.HLine)
self.line_26.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_26.setObjectName("line_26")
self.horizontalLayout_28.addWidget(self.line_26)
self.verticalLayout_30.addLayout(self.horizontalLayout_28)
self.PicAfter = QtWidgets.QLabel(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.PicAfter.sizePolicy().hasHeightForWidth())
self.PicAfter.setSizePolicy(sizePolicy)
self.PicAfter.setText("")
self.PicAfter.setObjectName("PicAfter")
self.verticalLayout_30.addWidget(self.PicAfter)
self.verticalLayout_30.setStretch(0, 1)
self.verticalLayout_30.setStretch(1, 10)
self.verticalLayout_30.setStretch(2, 1)
self.verticalLayout_30.setStretch(3, 10)
self.horizontalLayout_12.addLayout(self.verticalLayout_30)
self.vertical_line2_2 = QtWidgets.QFrame(self.centralwidget)
self.vertical_line2_2.setFrameShape(QtWidgets.QFrame.VLine)
self.vertical_line2_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.vertical_line2_2.setObjectName("vertical_line2_2")
self.horizontalLayout_12.addWidget(self.vertical_line2_2)
self.verticalLayout_31 = QtWidgets.QVBoxLayout()
self.verticalLayout_31.setObjectName("verticalLayout_31")
spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
self.verticalLayout_31.addItem(spacerItem4)
self.verticalLayout_32 = QtWidgets.QVBoxLayout()
self.verticalLayout_32.setObjectName("verticalLayout_32")
self.horizontalLayout_29 = QtWidgets.QHBoxLayout()
self.horizontalLayout_29.setObjectName("horizontalLayout_29")
self.line_27 = QtWidgets.QFrame(self.centralwidget)
self.line_27.setFrameShape(QtWidgets.QFrame.HLine)
self.line_27.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_27.setObjectName("line_27")
self.horizontalLayout_29.addWidget(self.line_27)
self.label_22 = QtWidgets.QLabel(self.centralwidget)
self.label_22.setObjectName("label_22")
self.horizontalLayout_29.addWidget(self.label_22)
self.line_28 = QtWidgets.QFrame(self.centralwidget)
self.line_28.setFrameShape(QtWidgets.QFrame.HLine)
self.line_28.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_28.setObjectName("line_28")
self.horizontalLayout_29.addWidget(self.line_28)
self.verticalLayout_32.addLayout(self.horizontalLayout_29)
self.verticalLayout_33 = QtWidgets.QVBoxLayout()
self.verticalLayout_33.setObjectName("verticalLayout_33")
self.horizontalLayout_30 = QtWidgets.QHBoxLayout()
self.horizontalLayout_30.setObjectName("horizontalLayout_30")
self.LOGBtn = QtWidgets.QPushButton(self.centralwidget)
self.LOGBtn.setObjectName("LOGBtn")
self.horizontalLayout_30.addWidget(self.LOGBtn)
self.ScharrBtn = QtWidgets.QPushButton(self.centralwidget)
self.ScharrBtn.setObjectName("ScharrBtn")
self.horizontalLayout_30.addWidget(self.ScharrBtn)
self.verticalLayout_33.addLayout(self.horizontalLayout_30)
self.CannyBtn = QtWidgets.QPushButton(self.centralwidget)
self.CannyBtn.setObjectName("CannyBtn")
self.verticalLayout_33.addWidget(self.CannyBtn)
self.verticalLayout_32.addLayout(self.verticalLayout_33)
self.verticalLayout_31.addLayout(self.verticalLayout_32)
spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
self.verticalLayout_31.addItem(spacerItem5)
self.verticalLayout_34 = QtWidgets.QVBoxLayout()
self.verticalLayout_34.setObjectName("verticalLayout_34")
self.horizontalLayout_31 = QtWidgets.QHBoxLayout()
self.horizontalLayout_31.setObjectName("horizontalLayout_31")
self.line_29 = QtWidgets.QFrame(self.centralwidget)
self.line_29.setFrameShape(QtWidgets.QFrame.HLine)
self.line_29.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_29.setObjectName("line_29")
self.horizontalLayout_31.addWidget(self.line_29)
self.label_23 = QtWidgets.QLabel(self.centralwidget)
self.label_23.setObjectName("label_23")
self.horizontalLayout_31.addWidget(self.label_23)
self.line_30 = QtWidgets.QFrame(self.centralwidget)
self.line_30.setFrameShape(QtWidgets.QFrame.HLine)
self.line_30.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_30.setObjectName("line_30")
self.horizontalLayout_31.addWidget(self.line_30)
self.verticalLayout_34.addLayout(self.horizontalLayout_31)
self.verticalLayout_35 = QtWidgets.QVBoxLayout()
self.verticalLayout_35.setObjectName("verticalLayout_35")
self.horizontalLayout_32 = QtWidgets.QHBoxLayout()
self.horizontalLayout_32.setObjectName("horizontalLayout_32")
self.GrayscaleBtn = QtWidgets.QPushButton(self.centralwidget)
self.GrayscaleBtn.setObjectName("GrayscaleBtn")
self.horizontalLayout_32.addWidget(self.GrayscaleBtn)
self.BinarizationBtn = QtWidgets.QPushButton(self.centralwidget)
self.BinarizationBtn.setObjectName("BinarizationBtn")
self.horizontalLayout_32.addWidget(self.BinarizationBtn)
self.verticalLayout_35.addLayout(self.horizontalLayout_32)
self.geometryBtn = QtWidgets.QPushButton(self.centralwidget)
self.geometryBtn.setObjectName("geometryBtn")
self.verticalLayout_35.addWidget(self.geometryBtn)
self.verticalLayout_34.addLayout(self.verticalLayout_35)
self.verticalLayout_31.addLayout(self.verticalLayout_34)
spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
self.verticalLayout_31.addItem(spacerItem6)
self.verticalLayout_36 = QtWidgets.QVBoxLayout()
self.verticalLayout_36.setObjectName("verticalLayout_36")
self.verticalLayout_37 = QtWidgets.QVBoxLayout()
self.verticalLayout_37.setObjectName("verticalLayout_37")
self.horizontalLayout_33 = QtWidgets.QHBoxLayout()
self.horizontalLayout_33.setObjectName("horizontalLayout_33")
self.verticalLayout_38 = QtWidgets.QVBoxLayout()
self.verticalLayout_38.setObjectName("verticalLayout_38")
self.horizontalLayout_34 = QtWidgets.QHBoxLayout()
self.horizontalLayout_34.setObjectName("horizontalLayout_34")
self.line_31 = QtWidgets.QFrame(self.centralwidget)
self.line_31.setFrameShape(QtWidgets.QFrame.HLine)
self.line_31.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_31.setObjectName("line_31")
self.horizontalLayout_34.addWidget(self.line_31)
self.label_24 = QtWidgets.QLabel(self.centralwidget)
self.label_24.setObjectName("label_24")
self.horizontalLayout_34.addWidget(self.label_24)
self.line_32 = QtWidgets.QFrame(self.centralwidget)
self.line_32.setFrameShape(QtWidgets.QFrame.HLine)
self.line_32.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_32.setObjectName("line_32")
self.horizontalLayout_34.addWidget(self.line_32)
self.verticalLayout_38.addLayout(self.horizontalLayout_34)
self.feiyan = QtWidgets.QPushButton(self.centralwidget)
self.feiyan.setObjectName("feiyan")
self.verticalLayout_38.addWidget(self.feiyan)
self.horizontalLayout_33.addLayout(self.verticalLayout_38)
self.verticalLayout_37.addLayout(self.horizontalLayout_33)
self.verticalLayout_36.addLayout(self.verticalLayout_37)
self.verticalLayout_31.addLayout(self.verticalLayout_36)
spacerItem7 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
self.verticalLayout_31.addItem(spacerItem7)
self.horizontalLayout_35 = QtWidgets.QHBoxLayout()
self.horizontalLayout_35.setObjectName("horizontalLayout_35")
self.verticalLayout_39 = QtWidgets.QVBoxLayout()
self.verticalLayout_39.setObjectName("verticalLayout_39")
self.label_16 = QtWidgets.QLabel(self.centralwidget)
self.label_16.setObjectName("label_16")
self.verticalLayout_39.addWidget(self.label_16)
self.label_25 = QtWidgets.QLabel(self.centralwidget)
self.label_25.setObjectName("label_25")
self.verticalLayout_39.addWidget(self.label_25)
self.label_26 = QtWidgets.QLabel(self.centralwidget)
self.label_26.setObjectName("label_26")
self.verticalLayout_39.addWidget(self.label_26)
self.label_27 = QtWidgets.QLabel(self.centralwidget)
self.label_27.setObjectName("label_27")
self.verticalLayout_39.addWidget(self.label_27)
self.horizontalLayout_35.addLayout(self.verticalLayout_39)
self.verticalLayout_40 = QtWidgets.QVBoxLayout()
self.verticalLayout_40.setObjectName("verticalLayout_40")
self.class0 = QtWidgets.QLabel(self.centralwidget)
self.class0.setObjectName("class0")
self.verticalLayout_40.addWidget(self.class0)
self.class3 = QtWidgets.QLabel(self.centralwidget)
self.class3.setObjectName("class3")
self.verticalLayout_40.addWidget(self.class3)
self.class1 = QtWidgets.QLabel(self.centralwidget)
self.class1.setObjectName("class1")
self.verticalLayout_40.addWidget(self.class1)
self.class2 = QtWidgets.QLabel(self.centralwidget)
self.class2.setObjectName("class2")
self.verticalLayout_40.addWidget(self.class2)
self.horizontalLayout_35.addLayout(self.verticalLayout_40)
self.verticalLayout_31.addLayout(self.horizontalLayout_35)
spacerItem8 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
self.verticalLayout_31.addItem(spacerItem8)
self.horizontalLayout_12.addLayout(self.verticalLayout_31)
self.horizontalLayout.addLayout(self.horizontalLayout_12)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1092, 26))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.label_8.setText(_translate("MainWindow", "形态学处理"))
self.corrosionBtn.setText(_translate("MainWindow", "腐蚀运算"))
self.expansionBtn.setText(_translate("MainWindow", "膨胀运算"))
self.OpenBtn.setText(_translate("MainWindow", "开运算"))
self.CloseBtn.setText(_translate("MainWindow", "闭运算"))
self.label_11.setText(_translate("MainWindow", "图像增强"))
self.histogramBtn.setText(_translate("MainWindow", "灰度直方图"))
self.MeanBtn.setText(_translate("MainWindow", "均值滤波"))
self.medianBtn.setText(_translate("MainWindow", "中值滤波"))
self.PrewittBtn.setText(_translate("MainWindow", "Prewitt算子"))
self.LowpassBtn.setText(_translate("MainWindow", "低通滤波"))
self.EqualizeBtn.setText(_translate("MainWindow", "均衡化"))
self.vagueBtn.setText(_translate("MainWindow", "高斯模糊滤波"))
self.RobertsBtn.setText(_translate("MainWindow", "Roberts算子"))
self.SobelBtn.setText(_translate("MainWindow", "Sobel算子"))
self.HighpassBtn.setText(_translate("MainWindow", "高通滤波"))
self.BoxBtn.setText(_translate("MainWindow", "方框滤波"))
self.label_13.setText(_translate("MainWindow", "图像信息"))
self.ImportBtn.setText(_translate("MainWindow", "导入"))
self.SaveBtn.setText(_translate("MainWindow", "保存"))
self.label_15.setText(_translate("MainWindow", "高度:"))
self.label_17.setText(_translate("MainWindow", "宽度:"))
self.label_18.setText(_translate("MainWindow", "通道数:"))
self.label_19.setText(_translate("MainWindow", "图片类型:"))
self.Label_H.setText(_translate("MainWindow", "Label_H"))
self.Label_W.setText(_translate("MainWindow", "Label_W"))
self.Label_T.setText(_translate("MainWindow", "Label_T"))
self.Label_Type.setText(_translate("MainWindow", "Label_Type"))
self.label_20.setText(_translate("MainWindow", " 处理前"))
self.label_21.setText(_translate("MainWindow", " 处理后"))
self.label_22.setText(_translate("MainWindow", "边缘检测"))
self.LOGBtn.setText(_translate("MainWindow", "LoG检测"))
self.ScharrBtn.setText(_translate("MainWindow", "Scharr算子"))
self.CannyBtn.setText(_translate("MainWindow", "Canny算子"))
self.label_23.setText(_translate("MainWindow", "基本处理"))
self.GrayscaleBtn.setText(_translate("MainWindow", "灰度处理"))
self.BinarizationBtn.setText(_translate("MainWindow", "二值化处理"))
self.geometryBtn.setText(_translate("MainWindow", "几何变换"))
self.label_24.setText(_translate("MainWindow", "深度学习"))
self.feiyan.setText(_translate("MainWindow", "肺炎图像处理"))
self.label_16.setText(_translate("MainWindow", "黑色"))
self.label_25.setText(_translate("MainWindow", "白色"))
self.label_26.setText(_translate("MainWindow", "蓝色"))
self.label_27.setText(_translate("MainWindow", "绿色"))
self.class0.setText(_translate("MainWindow", "背景"))
self.class3.setText(_translate("MainWindow", "肺区"))
self.class1.setText(_translate("MainWindow", "磨玻璃影"))
self.class2.setText(_translate("MainWindow", "实变"))