# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'design110524.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# 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(1197, 679)
        MainWindow.setMinimumSize(QtCore.QSize(1125, 638))
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.line = QtWidgets.QFrame(self.centralwidget)
        self.line.setGeometry(QtCore.QRect(840, 0, 21, 631))
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox.setGeometry(QtCore.QRect(0, 0, 841, 621))
        self.groupBox.setObjectName("groupBox")
        self.label_image = QtWidgets.QLabel(self.groupBox)
        self.label_image.setGeometry(QtCore.QRect(10, 20, 821, 581))
        self.label_image.setMinimumSize(QtCore.QSize(821, 561))
        self.label_image.setMaximumSize(QtCore.QSize(821, 581))
        self.label_image.setStyleSheet("background-color: rgb(220, 231, 255);")
        self.label_image.setText("")
        self.label_image.setObjectName("label_image")
        self.pushButton_select = QtWidgets.QPushButton(self.groupBox)
        self.pushButton_select.setGeometry(QtCore.QRect(260, 280, 251, 61))
        font = QtGui.QFont()
        font.setFamily("Mongolian Baiti")
        font.setPointSize(16)
        font.setItalic(False)
        self.pushButton_select.setFont(font)
        self.pushButton_select.setStyleSheet("QPushButton {\n"
"    background-color: rgb(215, 245, 255);\n"
"    border-style: outset;\n"
"    border-width: 1px;\n"
"    border-radius: 10px;\n"
"    transition: background-color 0.7s ease;\n"
"}\n"
"\n"
"QPushButton:hover {\n"
"    background-color: #82c5ff;\n"
"    border-color: rgb(0,0,0);\n"
"    color: white;\n"
"}\n"
"\n"
"QPushButton:pressed\n"
"{\n"
"background-color : red;\n"
"}\n"
"")
        self.pushButton_select.setCheckable(False)
        self.pushButton_select.setObjectName("pushButton_select")
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(850, 10, 341, 611))
        self.tabWidget.setStyleSheet("")
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.lineEdit_transformation = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_transformation.setGeometry(QtCore.QRect(160, 260, 113, 22))
        self.lineEdit_transformation.setObjectName("lineEdit_transformation")
        self.lineEdit_zoom = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_zoom.setGeometry(QtCore.QRect(160, 510, 113, 22))
        self.lineEdit_zoom.setObjectName("lineEdit_zoom")
        self.pushButton_rotate = QtWidgets.QPushButton(self.tab)
        self.pushButton_rotate.setGeometry(QtCore.QRect(10, 410, 141, 28))
        self.pushButton_rotate.setObjectName("pushButton_rotate")
        self.lineEdit_crop = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_crop.setGeometry(QtCore.QRect(160, 460, 113, 22))
        self.lineEdit_crop.setObjectName("lineEdit_crop")
        self.pushButton_gray = QtWidgets.QPushButton(self.tab)
        self.pushButton_gray.setGeometry(QtCore.QRect(10, 50, 141, 28))
        self.pushButton_gray.setObjectName("pushButton_gray")
        self.pushButton_transformation = QtWidgets.QPushButton(self.tab)
        self.pushButton_transformation.setGeometry(QtCore.QRect(10, 260, 141, 28))
        self.pushButton_transformation.setObjectName("pushButton_transformation")
        self.pushButton_crop = QtWidgets.QPushButton(self.tab)
        self.pushButton_crop.setGeometry(QtCore.QRect(10, 460, 141, 28))
        self.pushButton_crop.setObjectName("pushButton_crop")
        self.pushButton_binary = QtWidgets.QPushButton(self.tab)
        self.pushButton_binary.setGeometry(QtCore.QRect(10, 100, 141, 28))
        self.pushButton_binary.setObjectName("pushButton_binary")
        self.pushButton_zoom = QtWidgets.QPushButton(self.tab)
        self.pushButton_zoom.setGeometry(QtCore.QRect(10, 510, 141, 28))
        self.pushButton_zoom.setObjectName("pushButton_zoom")
        self.lineEdit_binary = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_binary.setGeometry(QtCore.QRect(160, 100, 113, 22))
        self.lineEdit_binary.setText("")
        self.lineEdit_binary.setMaxLength(3)
        self.lineEdit_binary.setCursorPosition(0)
        self.lineEdit_binary.setDragEnabled(False)
        self.lineEdit_binary.setObjectName("lineEdit_binary")
        self.line_2 = QtWidgets.QFrame(self.tab)
        self.line_2.setGeometry(QtCore.QRect(0, 80, 331, 20))
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.line_3 = QtWidgets.QFrame(self.tab)
        self.line_3.setGeometry(QtCore.QRect(0, 140, 331, 20))
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.line_4 = QtWidgets.QFrame(self.tab)
        self.line_4.setGeometry(QtCore.QRect(0, 440, 331, 20))
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.line_5 = QtWidgets.QFrame(self.tab)
        self.line_5.setGeometry(QtCore.QRect(0, 490, 331, 20))
        self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.line_6 = QtWidgets.QFrame(self.tab)
        self.line_6.setGeometry(QtCore.QRect(0, 540, 331, 20))
        self.line_6.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_6.setObjectName("line_6")
        self.label_main = QtWidgets.QLabel(self.tab)
        self.label_main.setGeometry(QtCore.QRect(0, 10, 321, 31))
        font = QtGui.QFont()
        font.setFamily("Javanese Text")
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(False)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_main.setFont(font)
        self.label_main.setFocusPolicy(QtCore.Qt.NoFocus)
        self.label_main.setTextFormat(QtCore.Qt.AutoText)
        self.label_main.setWordWrap(False)
        self.label_main.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
        self.label_main.setObjectName("label_main")
        self.pushButton_contrast = QtWidgets.QPushButton(self.tab)
        self.pushButton_contrast.setGeometry(QtCore.QRect(10, 310, 141, 28))
        self.pushButton_contrast.setObjectName("pushButton_contrast")
        self.line_18 = QtWidgets.QFrame(self.tab)
        self.line_18.setGeometry(QtCore.QRect(0, 190, 331, 20))
        self.line_18.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_18.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_18.setObjectName("line_18")
        self.lineEdit_contrast = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_contrast.setGeometry(QtCore.QRect(160, 310, 113, 22))
        self.lineEdit_contrast.setObjectName("lineEdit_contrast")
        self.label_main_2 = QtWidgets.QLabel(self.tab)
        self.label_main_2.setGeometry(QtCore.QRect(0, 360, 321, 31))
        font = QtGui.QFont()
        font.setFamily("Javanese Text")
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(False)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_main_2.setFont(font)
        self.label_main_2.setFocusPolicy(QtCore.Qt.NoFocus)
        self.label_main_2.setTextFormat(QtCore.Qt.AutoText)
        self.label_main_2.setWordWrap(False)
        self.label_main_2.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
        self.label_main_2.setObjectName("label_main_2")
        self.line_25 = QtWidgets.QFrame(self.tab)
        self.line_25.setGeometry(QtCore.QRect(0, 240, 331, 20))
        self.line_25.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_25.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_25.setObjectName("line_25")
        self.line_26 = QtWidgets.QFrame(self.tab)
        self.line_26.setGeometry(QtCore.QRect(0, 290, 331, 20))
        self.line_26.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_26.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_26.setObjectName("line_26")
        self.pushButton_thresh = QtWidgets.QPushButton(self.tab)
        self.pushButton_thresh.setGeometry(QtCore.QRect(10, 160, 141, 28))
        self.pushButton_thresh.setObjectName("pushButton_thresh")
        self.lineEdit_thresh = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_thresh.setGeometry(QtCore.QRect(160, 160, 113, 22))
        self.lineEdit_thresh.setText("")
        self.lineEdit_thresh.setMaxLength(3)
        self.lineEdit_thresh.setCursorPosition(0)
        self.lineEdit_thresh.setDragEnabled(False)
        self.lineEdit_thresh.setObjectName("lineEdit_thresh")
        self.lineEdit_thresh_2 = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_thresh_2.setGeometry(QtCore.QRect(160, 210, 113, 22))
        self.lineEdit_thresh_2.setText("")
        self.lineEdit_thresh_2.setMaxLength(12)
        self.lineEdit_thresh_2.setCursorPosition(0)
        self.lineEdit_thresh_2.setDragEnabled(False)
        self.lineEdit_thresh_2.setObjectName("lineEdit_thresh_2")
        self.pushButton_thresh_2 = QtWidgets.QPushButton(self.tab)
        self.pushButton_thresh_2.setGeometry(QtCore.QRect(10, 210, 141, 28))
        self.pushButton_thresh_2.setObjectName("pushButton_thresh_2")
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.groupBox_filters = QtWidgets.QGroupBox(self.tab_2)
        self.groupBox_filters.setGeometry(QtCore.QRect(0, 0, 341, 591))
        self.groupBox_filters.setStyleSheet("selection-background-color: rgb(151, 255, 233);")
        self.groupBox_filters.setTitle("")
        self.groupBox_filters.setObjectName("groupBox_filters")
        self.pushButton_saltpepper = QtWidgets.QPushButton(self.groupBox_filters)
        self.pushButton_saltpepper.setGeometry(QtCore.QRect(10, 160, 141, 28))
        self.pushButton_saltpepper.setObjectName("pushButton_saltpepper")
        self.lineEdit_saltpepper = QtWidgets.QLineEdit(self.groupBox_filters)
        self.lineEdit_saltpepper.setGeometry(QtCore.QRect(160, 160, 113, 22))
        self.lineEdit_saltpepper.setObjectName("lineEdit_saltpepper")
        self.line_7 = QtWidgets.QFrame(self.groupBox_filters)
        self.line_7.setGeometry(QtCore.QRect(0, 40, 331, 16))
        self.line_7.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_7.setObjectName("line_7")
        self.line_19 = QtWidgets.QFrame(self.groupBox_filters)
        self.line_19.setGeometry(QtCore.QRect(0, 200, 331, 16))
        self.line_19.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_19.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_19.setObjectName("line_19")
        self.line_9 = QtWidgets.QFrame(self.groupBox_filters)
        self.line_9.setGeometry(QtCore.QRect(0, 140, 331, 16))
        self.line_9.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_9.setObjectName("line_9")
        self.label_aritchmatic = QtWidgets.QLabel(self.groupBox_filters)
        self.label_aritchmatic.setGeometry(QtCore.QRect(10, 350, 251, 31))
        font = QtGui.QFont()
        font.setFamily("Javanese Text")
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(False)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_aritchmatic.setFont(font)
        self.label_aritchmatic.setFocusPolicy(QtCore.Qt.NoFocus)
        self.label_aritchmatic.setTextFormat(QtCore.Qt.AutoText)
        self.label_aritchmatic.setWordWrap(False)
        self.label_aritchmatic.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
        self.label_aritchmatic.setObjectName("label_aritchmatic")
        self.line_8 = QtWidgets.QFrame(self.groupBox_filters)
        self.line_8.setGeometry(QtCore.QRect(0, 90, 331, 16))
        self.line_8.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_8.setObjectName("line_8")
        self.label_filters = QtWidgets.QLabel(self.groupBox_filters)
        self.label_filters.setGeometry(QtCore.QRect(20, 10, 81, 31))
        font = QtGui.QFont()
        font.setFamily("Javanese Text")
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(False)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_filters.setFont(font)
        self.label_filters.setFocusPolicy(QtCore.Qt.NoFocus)
        self.label_filters.setTextFormat(QtCore.Qt.AutoText)
        self.label_filters.setWordWrap(False)
        self.label_filters.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
        self.label_filters.setObjectName("label_filters")
        self.pushButton_unsharp = QtWidgets.QPushButton(self.groupBox_filters)
        self.pushButton_unsharp.setGeometry(QtCore.QRect(10, 220, 141, 28))
        self.pushButton_unsharp.setObjectName("pushButton_unsharp")
        self.pushButton_mean = QtWidgets.QPushButton(self.groupBox_filters)
        self.pushButton_mean.setGeometry(QtCore.QRect(10, 60, 141, 28))
        self.pushButton_mean.setObjectName("pushButton_mean")
        self.pushButton_add = QtWidgets.QPushButton(self.groupBox_filters)
        self.pushButton_add.setGeometry(QtCore.QRect(10, 390, 171, 28))
        self.pushButton_add.setObjectName("pushButton_add")
        self.lineEdit_mean = QtWidgets.QLineEdit(self.groupBox_filters)
        self.lineEdit_mean.setGeometry(QtCore.QRect(160, 60, 113, 22))
        self.lineEdit_mean.setObjectName("lineEdit_mean")
        self.lineEdit_median = QtWidgets.QLineEdit(self.groupBox_filters)
        self.lineEdit_median.setGeometry(QtCore.QRect(160, 110, 113, 22))
        self.lineEdit_median.setObjectName("lineEdit_median")
        self.pushButton_divide = QtWidgets.QPushButton(self.groupBox_filters)
        self.pushButton_divide.setGeometry(QtCore.QRect(10, 480, 171, 28))
        self.pushButton_divide.setObjectName("pushButton_divide")
        self.pushButton_median = QtWidgets.QPushButton(self.groupBox_filters)
        self.pushButton_median.setGeometry(QtCore.QRect(10, 110, 141, 28))
        self.pushButton_median.setObjectName("pushButton_median")
        self.lineEdit_unsharp = QtWidgets.QLineEdit(self.groupBox_filters)
        self.lineEdit_unsharp.setGeometry(QtCore.QRect(160, 220, 113, 22))
        self.lineEdit_unsharp.setObjectName("lineEdit_unsharp")
        self.lineEdit_add = QtWidgets.QLineEdit(self.groupBox_filters)
        self.lineEdit_add.setGeometry(QtCore.QRect(190, 390, 113, 22))
        self.lineEdit_add.setObjectName("lineEdit_add")
        self.pushButton_prewitt = QtWidgets.QPushButton(self.groupBox_filters)
        self.pushButton_prewitt.setGeometry(QtCore.QRect(10, 270, 141, 28))
        self.pushButton_prewitt.setObjectName("pushButton_prewitt")
        self.line_27 = QtWidgets.QFrame(self.groupBox_filters)
        self.line_27.setGeometry(QtCore.QRect(0, 250, 331, 16))
        self.line_27.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_27.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_27.setObjectName("line_27")
        self.tabWidget.addTab(self.tab_2, "")
        self.tab_3 = QtWidgets.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.groupBox_morph = QtWidgets.QGroupBox(self.tab_3)
        self.groupBox_morph.setGeometry(QtCore.QRect(0, 0, 341, 581))
        self.groupBox_morph.setTitle("")
        self.groupBox_morph.setObjectName("groupBox_morph")
        self.pushButton_histR = QtWidgets.QPushButton(self.groupBox_morph)
        self.pushButton_histR.setGeometry(QtCore.QRect(10, 440, 151, 28))
        self.pushButton_histR.setObjectName("pushButton_histR")
        self.pushButton_Mdilate = QtWidgets.QPushButton(self.groupBox_morph)
        self.pushButton_Mdilate.setGeometry(QtCore.QRect(10, 170, 171, 28))
        self.pushButton_Mdilate.setObjectName("pushButton_Mdilate")
        self.line_20 = QtWidgets.QFrame(self.groupBox_morph)
        self.line_20.setGeometry(QtCore.QRect(0, 100, 331, 16))
        self.line_20.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_20.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_20.setObjectName("line_20")
        self.line_22 = QtWidgets.QFrame(self.groupBox_morph)
        self.line_22.setGeometry(QtCore.QRect(0, 200, 331, 16))
        self.line_22.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_22.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_22.setObjectName("line_22")
        self.line_21 = QtWidgets.QFrame(self.groupBox_morph)
        self.line_21.setGeometry(QtCore.QRect(0, 150, 331, 16))
        self.line_21.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_21.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_21.setObjectName("line_21")
        self.label_filters_morph = QtWidgets.QLabel(self.groupBox_morph)
        self.label_filters_morph.setGeometry(QtCore.QRect(10, 20, 311, 31))
        font = QtGui.QFont()
        font.setFamily("Javanese Text")
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(False)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_filters_morph.setFont(font)
        self.label_filters_morph.setFocusPolicy(QtCore.Qt.NoFocus)
        self.label_filters_morph.setTextFormat(QtCore.Qt.AutoText)
        self.label_filters_morph.setWordWrap(False)
        self.label_filters_morph.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
        self.label_filters_morph.setObjectName("label_filters_morph")
        self.lineEdit_Mopen = QtWidgets.QLineEdit(self.groupBox_morph)
        self.lineEdit_Mopen.setGeometry(QtCore.QRect(190, 220, 113, 22))
        self.lineEdit_Mopen.setObjectName("lineEdit_Mopen")
        self.lineEdit_Mdilate = QtWidgets.QLineEdit(self.groupBox_morph)
        self.lineEdit_Mdilate.setGeometry(QtCore.QRect(190, 170, 113, 22))
        self.lineEdit_Mdilate.setObjectName("lineEdit_Mdilate")
        self.pushButton_histB = QtWidgets.QPushButton(self.groupBox_morph)
        self.pushButton_histB.setGeometry(QtCore.QRect(170, 440, 151, 28))
        self.pushButton_histB.setObjectName("pushButton_histB")
        self.lineEdit_Mclose = QtWidgets.QLineEdit(self.groupBox_morph)
        self.lineEdit_Mclose.setGeometry(QtCore.QRect(190, 270, 113, 22))
        self.lineEdit_Mclose.setObjectName("lineEdit_Mclose")
        self.label_filters_hist = QtWidgets.QLabel(self.groupBox_morph)
        self.label_filters_hist.setGeometry(QtCore.QRect(10, 400, 171, 31))
        font = QtGui.QFont()
        font.setFamily("Javanese Text")
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(False)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_filters_hist.setFont(font)
        self.label_filters_hist.setFocusPolicy(QtCore.Qt.NoFocus)
        self.label_filters_hist.setTextFormat(QtCore.Qt.AutoText)
        self.label_filters_hist.setWordWrap(False)
        self.label_filters_hist.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
        self.label_filters_hist.setObjectName("label_filters_hist")
        self.line_24 = QtWidgets.QFrame(self.groupBox_morph)
        self.line_24.setGeometry(QtCore.QRect(0, 310, 331, 16))
        self.line_24.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_24.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_24.setObjectName("line_24")
        self.pushButton_Merode = QtWidgets.QPushButton(self.groupBox_morph)
        self.pushButton_Merode.setGeometry(QtCore.QRect(10, 120, 171, 28))
        self.pushButton_Merode.setObjectName("pushButton_Merode")
        self.line_23 = QtWidgets.QFrame(self.groupBox_morph)
        self.line_23.setGeometry(QtCore.QRect(0, 250, 331, 16))
        self.line_23.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_23.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_23.setObjectName("line_23")
        self.lineEdit_Merode = QtWidgets.QLineEdit(self.groupBox_morph)
        self.lineEdit_Merode.setGeometry(QtCore.QRect(190, 120, 113, 22))
        self.lineEdit_Merode.setObjectName("lineEdit_Merode")
        self.pushButton_Mopen = QtWidgets.QPushButton(self.groupBox_morph)
        self.pushButton_Mopen.setGeometry(QtCore.QRect(10, 220, 171, 28))
        self.pushButton_Mopen.setObjectName("pushButton_Mopen")
        self.label_filters_hist_2 = QtWidgets.QLabel(self.groupBox_morph)
        self.label_filters_hist_2.setGeometry(QtCore.QRect(10, 330, 311, 31))
        font = QtGui.QFont()
        font.setFamily("Javanese Text")
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(False)
        font.setWeight(75)
        font.setStrikeOut(False)
        self.label_filters_hist_2.setFont(font)
        self.label_filters_hist_2.setFocusPolicy(QtCore.Qt.NoFocus)
        self.label_filters_hist_2.setTextFormat(QtCore.Qt.AutoText)
        self.label_filters_hist_2.setWordWrap(False)
        self.label_filters_hist_2.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse)
        self.label_filters_hist_2.setObjectName("label_filters_hist_2")
        self.label = QtWidgets.QLabel(self.groupBox_morph)
        self.label.setGeometry(QtCore.QRect(200, 80, 91, 21))
        font = QtGui.QFont()
        font.setFamily("Microsoft JhengHei Light")
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.pushButton_histEq = QtWidgets.QPushButton(self.groupBox_morph)
        self.pushButton_histEq.setGeometry(QtCore.QRect(10, 360, 111, 28))
        self.pushButton_histEq.setObjectName("pushButton_histEq")
        self.pushButton_Mclose = QtWidgets.QPushButton(self.groupBox_morph)
        self.pushButton_Mclose.setGeometry(QtCore.QRect(10, 270, 171, 28))
        self.pushButton_Mclose.setObjectName("pushButton_Mclose")
        self.pushButton_histG = QtWidgets.QPushButton(self.groupBox_morph)
        self.pushButton_histG.setGeometry(QtCore.QRect(10, 470, 151, 28))
        self.pushButton_histG.setObjectName("pushButton_histG")
        self.pushButton_histStrech = QtWidgets.QPushButton(self.groupBox_morph)
        self.pushButton_histStrech.setGeometry(QtCore.QRect(130, 360, 111, 28))
        self.pushButton_histStrech.setObjectName("pushButton_histStrech")
        self.pushButton_histGray = QtWidgets.QPushButton(self.groupBox_morph)
        self.pushButton_histGray.setGeometry(QtCore.QRect(170, 470, 151, 28))
        self.pushButton_histGray.setObjectName("pushButton_histGray")
        self.tabWidget.addTab(self.tab_3, "")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1197, 26))
        self.menubar.setAutoFillBackground(False)
        self.menubar.setStyleSheet("")
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        self.menuEdit = QtWidgets.QMenu(self.menubar)
        self.menuEdit.setObjectName("menuEdit")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionSave = QtWidgets.QAction(MainWindow)
        self.actionSave.setObjectName("actionSave")
        self.actionExit = QtWidgets.QAction(MainWindow)
        self.actionExit.setObjectName("actionExit")
        self.actionSelect_new_image = QtWidgets.QAction(MainWindow)
        self.actionSelect_new_image.setShortcutVisibleInContextMenu(False)
        self.actionSelect_new_image.setObjectName("actionSelect_new_image")
        self.actionClear = QtWidgets.QAction(MainWindow)
        self.actionClear.setObjectName("actionClear")
        self.actionUndo = QtWidgets.QAction(MainWindow)
        self.actionUndo.setObjectName("actionUndo")
        self.actionRedo = QtWidgets.QAction(MainWindow)
        self.actionRedo.setShortcut("")
        self.actionRedo.setShortcutContext(QtCore.Qt.WindowShortcut)
        self.actionRedo.setShortcutVisibleInContextMenu(True)
        self.actionRedo.setObjectName("actionRedo")
        self.actionExit_2 = QtWidgets.QAction(MainWindow)
        self.actionExit_2.setObjectName("actionExit_2")
        self.actionShow_Picture_another_window = QtWidgets.QAction(MainWindow)
        self.actionShow_Picture_another_window.setObjectName("actionShow_Picture_another_window")
        self.menuFile.addAction(self.actionSave)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionExit_2)
        self.menuEdit.addAction(self.actionSelect_new_image)
        self.menuEdit.addAction(self.actionClear)
        self.menuEdit.addSeparator()
        self.menuEdit.addAction(self.actionUndo)
        self.menuEdit.addAction(self.actionRedo)
        self.menuEdit.addSeparator()
        self.menuEdit.addAction(self.actionShow_Picture_another_window)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuEdit.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Simple Image Processing"))
        self.groupBox.setTitle(_translate("MainWindow", "GroupBox"))
        self.pushButton_select.setText(_translate("MainWindow", "Select an image"))
        self.lineEdit_transformation.setPlaceholderText(_translate("MainWindow", "R,G,B"))
        self.lineEdit_zoom.setPlaceholderText(_translate("MainWindow", "float 0.1-5.0"))
        self.pushButton_rotate.setText(_translate("MainWindow", "Rotate"))
        self.lineEdit_crop.setPlaceholderText(_translate("MainWindow", "x1,y1,x2,y2"))
        self.pushButton_gray.setText(_translate("MainWindow", "Conver to gray"))
        self.pushButton_transformation.setText(_translate("MainWindow", "RGB Transformation"))
        self.pushButton_crop.setText(_translate("MainWindow", "Crop"))
        self.pushButton_binary.setText(_translate("MainWindow", "Convert to binary"))
        self.pushButton_zoom.setText(_translate("MainWindow", "Zoom in/out"))
        self.lineEdit_binary.setPlaceholderText(_translate("MainWindow", "0-255"))
        self.label_main.setText(_translate("MainWindow", "Color Space"))
        self.pushButton_contrast.setText(_translate("MainWindow", "Increase contrast"))
        self.lineEdit_contrast.setPlaceholderText(_translate("MainWindow", "float 0.1-3.0"))
        self.label_main_2.setText(_translate("MainWindow", "Physically operation"))
        self.pushButton_thresh.setText(_translate("MainWindow", "Single Threshold"))
        self.lineEdit_thresh.setPlaceholderText(_translate("MainWindow", "0-255"))
        self.lineEdit_thresh_2.setPlaceholderText(_translate("MainWindow", "0-255,0-255,0-255"))
        self.pushButton_thresh_2.setText(_translate("MainWindow", "Double Threshold"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Main"))
        self.pushButton_saltpepper.setText(_translate("MainWindow", "Apply salt-pepper"))
        self.lineEdit_saltpepper.setPlaceholderText(_translate("MainWindow", "int value"))
        self.label_aritchmatic.setText(_translate("MainWindow", "Arithmatic Operations"))
        self.label_filters.setText(_translate("MainWindow", "Filters"))
        self.pushButton_unsharp.setText(_translate("MainWindow", "Unsharp Mask"))
        self.pushButton_mean.setText(_translate("MainWindow", "Apply mean filter"))
        self.pushButton_add.setText(_translate("MainWindow", "Add with another picture"))
        self.lineEdit_mean.setPlaceholderText(_translate("MainWindow", "1,3,5,7,9...."))
        self.lineEdit_median.setPlaceholderText(_translate("MainWindow", "1,3,5,7,9...."))
        self.pushButton_divide.setText(_translate("MainWindow", "Divide wtih another picture"))
        self.pushButton_median.setText(_translate("MainWindow", "Apply median filter"))
        self.lineEdit_unsharp.setPlaceholderText(_translate("MainWindow", "sigma,strength"))
        self.lineEdit_add.setPlaceholderText(_translate("MainWindow", "rate1, rate2"))
        self.pushButton_prewitt.setText(_translate("MainWindow", "Apply Prewitt"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Filters"))
        self.pushButton_histR.setText(_translate("MainWindow", "Show Red Histogram"))
        self.pushButton_Mdilate.setText(_translate("MainWindow", "dilating"))
        self.label_filters_morph.setText(_translate("MainWindow", "Morhological Operation"))
        self.lineEdit_Mopen.setPlaceholderText(_translate("MainWindow", "1,3,5,7,9..."))
        self.lineEdit_Mdilate.setPlaceholderText(_translate("MainWindow", "1,3,5,7,9..."))
        self.pushButton_histB.setText(_translate("MainWindow", "Show Blue Histogram"))
        self.lineEdit_Mclose.setPlaceholderText(_translate("MainWindow", "1,3,5,7,9..."))
        self.label_filters_hist.setText(_translate("MainWindow", "Show Graphic"))
        self.pushButton_Merode.setText(_translate("MainWindow", "eroding"))
        self.lineEdit_Merode.setPlaceholderText(_translate("MainWindow", "1,3,5,7,9..."))
        self.pushButton_Mopen.setText(_translate("MainWindow", "opening"))
        self.label_filters_hist_2.setText(_translate("MainWindow", "Histogram"))
        self.label.setText(_translate("MainWindow", "Kernels"))
        self.pushButton_histEq.setText(_translate("MainWindow", "Equalize"))
        self.pushButton_Mclose.setText(_translate("MainWindow", "closing"))
        self.pushButton_histG.setText(_translate("MainWindow", "Show Green Histogram"))
        self.pushButton_histStrech.setText(_translate("MainWindow", "Streching"))
        self.pushButton_histGray.setText(_translate("MainWindow", "Show Gray Histogram"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Morph&&Hist"))
        self.menuFile.setTitle(_translate("MainWindow", "File"))
        self.menuEdit.setTitle(_translate("MainWindow", "Edit"))
        self.actionSave.setText(_translate("MainWindow", "Save (ctrl+s)"))
        self.actionExit.setText(_translate("MainWindow", "Exit"))
        self.actionSelect_new_image.setText(_translate("MainWindow", "Select new image (ctrl+n)"))
        self.actionClear.setText(_translate("MainWindow", "Clear"))
        self.actionUndo.setText(_translate("MainWindow", "Undo (ctrl+z)"))
        self.actionRedo.setText(_translate("MainWindow", "Redo (ctrl+y)"))
        self.actionExit_2.setText(_translate("MainWindow", "Exit"))
        self.actionShow_Picture_another_window.setText(_translate("MainWindow", "Show Picture another window"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())
