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.

1451 lines
86 KiB

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'jindian9.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_Image_processing(object):
def setupUi(self, Image_processing):
Image_processing.setObjectName("Image_processing")
Image_processing.resize(1400, 901)
font = QtGui.QFont()
font.setPointSize(9)
Image_processing.setFont(font)
self.centralwidget = QtWidgets.QWidget(Image_processing)
self.centralwidget.setObjectName("centralwidget")
self.pushButton_open_image = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_open_image.setGeometry(QtCore.QRect(1290, 100, 91, 41))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_open_image.setFont(font)
self.pushButton_open_image.setObjectName("pushButton_open_image")
self.pushButton_save_image = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_save_image.setGeometry(QtCore.QRect(1290, 220, 91, 41))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_save_image.setFont(font)
self.pushButton_save_image.setObjectName("pushButton_save_image")
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(1010, -10, 121, 41))
font = QtGui.QFont()
font.setFamily("Agency FB")
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)
self.label.setFont(font)
self.label.setAlignment(QtCore.Qt.AlignCenter)
self.label.setObjectName("label")
self.label_2 = QtWidgets.QLabel(self.centralwidget)
self.label_2.setGeometry(QtCore.QRect(1000, 420, 121, 41))
font = QtGui.QFont()
font.setFamily("Agency FB")
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)
self.label_2.setFont(font)
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
self.label_2.setObjectName("label_2")
self.graphicsView = QtWidgets.QGraphicsView(self.centralwidget)
self.graphicsView.setGeometry(QtCore.QRect(860, 30, 411, 351))
self.graphicsView.setLineWidth(2)
self.graphicsView.setObjectName("graphicsView")
self.label_3 = QtWidgets.QLabel(self.centralwidget)
self.label_3.setGeometry(QtCore.QRect(100, 20, 72, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setItalic(False)
font.setUnderline(False)
font.setWeight(75)
font.setStrikeOut(False)
self.label_3.setFont(font)
self.label_3.setObjectName("label_3")
self.label_4 = QtWidgets.QLabel(self.centralwidget)
self.label_4.setGeometry(QtCore.QRect(300, 20, 81, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_4.setFont(font)
self.label_4.setObjectName("label_4")
self.label_5 = QtWidgets.QLabel(self.centralwidget)
self.label_5.setGeometry(QtCore.QRect(390, 380, 72, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_5.setFont(font)
self.label_5.setAlignment(QtCore.Qt.AlignCenter)
self.label_5.setObjectName("label_5")
self.label_6 = QtWidgets.QLabel(self.centralwidget)
self.label_6.setGeometry(QtCore.QRect(100, 390, 72, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_6.setFont(font)
self.label_6.setAlignment(QtCore.Qt.AlignCenter)
self.label_6.setObjectName("label_6")
self.label_7 = QtWidgets.QLabel(self.centralwidget)
self.label_7.setGeometry(QtCore.QRect(50, 180, 81, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_7.setFont(font)
self.label_7.setAlignment(QtCore.Qt.AlignCenter)
self.label_7.setObjectName("label_7")
self.label_8 = QtWidgets.QLabel(self.centralwidget)
self.label_8.setGeometry(QtCore.QRect(150, 190, 72, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_8.setFont(font)
self.label_8.setAlignment(QtCore.Qt.AlignCenter)
self.label_8.setObjectName("label_8")
self.pushButton_symmetry = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_symmetry.setGeometry(QtCore.QRect(60, 40, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_symmetry.setFont(font)
self.pushButton_symmetry.setObjectName("pushButton_symmetry")
self.pushButton_rotate = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_rotate.setGeometry(QtCore.QRect(60, 70, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_rotate.setFont(font)
self.pushButton_rotate.setObjectName("pushButton_rotate")
self.pushButton_to_grayscale = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_to_grayscale.setGeometry(QtCore.QRect(140, 40, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_to_grayscale.setFont(font)
self.pushButton_to_grayscale.setObjectName("pushButton_to_grayscale")
self.pushButton_to_binary = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_to_binary.setGeometry(QtCore.QRect(480, 100, 71, 21))
self.pushButton_to_binary.setObjectName("pushButton_to_binary")
self.pushButton_invert_colors = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_invert_colors.setGeometry(QtCore.QRect(140, 70, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_invert_colors.setFont(font)
self.pushButton_invert_colors.setObjectName("pushButton_invert_colors")
self.pushButton_mean_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_mean_filter.setGeometry(QtCore.QRect(300, 100, 71, 21))
self.pushButton_mean_filter.setObjectName("pushButton_mean_filter")
self.pushButton_gaussian_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_gaussian_filter.setGeometry(QtCore.QRect(300, 320, 71, 21))
self.pushButton_gaussian_filter.setObjectName("pushButton_gaussian_filter")
self.pushButton_median_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_median_filter.setGeometry(QtCore.QRect(300, 220, 71, 21))
self.pushButton_median_filter.setObjectName("pushButton_median_filter")
self.pushButton_ideal_low_pass_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_ideal_low_pass_filter.setGeometry(QtCore.QRect(300, 510, 71, 21))
self.pushButton_ideal_low_pass_filter.setObjectName("pushButton_ideal_low_pass_filter")
self.pushButton_band_stop_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_band_stop_filter.setGeometry(QtCore.QRect(300, 830, 71, 21))
self.pushButton_band_stop_filter.setObjectName("pushButton_band_stop_filter")
self.pushButton_add_gaussian_noise = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_add_gaussian_noise.setGeometry(QtCore.QRect(100, 500, 71, 21))
self.pushButton_add_gaussian_noise.setObjectName("pushButton_add_gaussian_noise")
self.pushButton_add_poisson_noise = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_add_poisson_noise.setGeometry(QtCore.QRect(100, 640, 71, 21))
self.pushButton_add_poisson_noise.setObjectName("pushButton_add_poisson_noise")
self.pushButton_add_salt_and_pepper_noise = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_add_salt_and_pepper_noise.setGeometry(QtCore.QRect(100, 830, 71, 21))
self.pushButton_add_salt_and_pepper_noise.setObjectName("pushButton_add_salt_and_pepper_noise")
self.pushButton_apply_erosion = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_apply_erosion.setGeometry(QtCore.QRect(50, 210, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_apply_erosion.setFont(font)
self.pushButton_apply_erosion.setObjectName("pushButton_apply_erosion")
self.pushButton_apply_dilation = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_apply_dilation.setGeometry(QtCore.QRect(50, 240, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_apply_dilation.setFont(font)
self.pushButton_apply_dilation.setObjectName("pushButton_apply_dilation")
self.pushButton_log_edge_detection = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_log_edge_detection.setGeometry(QtCore.QRect(150, 280, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_log_edge_detection.setFont(font)
self.pushButton_log_edge_detection.setObjectName("pushButton_log_edge_detection")
self.pushButton_roberts_edge_detection = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_roberts_edge_detection.setGeometry(QtCore.QRect(150, 250, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_roberts_edge_detection.setFont(font)
self.pushButton_roberts_edge_detection.setObjectName("pushButton_roberts_edge_detection")
self.pushButton_sobel_edge_detection = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_sobel_edge_detection.setGeometry(QtCore.QRect(150, 220, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_sobel_edge_detection.setFont(font)
self.pushButton_sobel_edge_detection.setObjectName("pushButton_sobel_edge_detection")
self.pushButton_laplacian_edge_detection = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_laplacian_edge_detection.setGeometry(QtCore.QRect(150, 310, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_laplacian_edge_detection.setFont(font)
self.pushButton_laplacian_edge_detection.setObjectName("pushButton_laplacian_edge_detection")
self.pushButton_canny_edge_detection = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_canny_edge_detection.setGeometry(QtCore.QRect(150, 340, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_canny_edge_detection.setFont(font)
self.pushButton_canny_edge_detection.setObjectName("pushButton_canny_edge_detection")
self.spinBox_threshold_for_to_binary = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_threshold_for_to_binary.setGeometry(QtCore.QRect(531, 62, 42, 22))
self.spinBox_threshold_for_to_binary.setMaximum(255)
self.spinBox_threshold_for_to_binary.setProperty("value", 127)
self.spinBox_threshold_for_to_binary.setObjectName("spinBox_threshold_for_to_binary")
self.label_9 = QtWidgets.QLabel(self.centralwidget)
self.label_9.setGeometry(QtCore.QRect(451, 42, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_9.setFont(font)
self.label_9.setObjectName("label_9")
self.label_10 = QtWidgets.QLabel(self.centralwidget)
self.label_10.setGeometry(QtCore.QRect(471, 72, 54, 12))
self.label_10.setObjectName("label_10")
self.line = QtWidgets.QFrame(self.centralwidget)
self.line.setGeometry(QtCore.QRect(491, 42, 91, 16))
self.line.setFrameShape(QtWidgets.QFrame.HLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.line_2 = QtWidgets.QFrame(self.centralwidget)
self.line_2.setGeometry(QtCore.QRect(451, 62, 16, 71))
self.line_2.setFrameShape(QtWidgets.QFrame.VLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.line_3 = QtWidgets.QFrame(self.centralwidget)
self.line_3.setGeometry(QtCore.QRect(459, 124, 121, 16))
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.centralwidget)
self.line_4.setGeometry(QtCore.QRect(570, 50, 20, 83))
self.line_4.setFrameShape(QtWidgets.QFrame.VLine)
self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_4.setObjectName("line_4")
self.line_5 = QtWidgets.QFrame(self.centralwidget)
self.line_5.setGeometry(QtCore.QRect(272, 68, 16, 71))
self.line_5.setFrameShape(QtWidgets.QFrame.VLine)
self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_5.setObjectName("line_5")
self.line_6 = QtWidgets.QFrame(self.centralwidget)
self.line_6.setGeometry(QtCore.QRect(312, 48, 91, 16))
self.line_6.setFrameShape(QtWidgets.QFrame.HLine)
self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_6.setObjectName("line_6")
self.line_7 = QtWidgets.QFrame(self.centralwidget)
self.line_7.setGeometry(QtCore.QRect(391, 56, 20, 83))
self.line_7.setFrameShape(QtWidgets.QFrame.VLine)
self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_7.setObjectName("line_7")
self.label_12 = QtWidgets.QLabel(self.centralwidget)
self.label_12.setGeometry(QtCore.QRect(272, 48, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_12.setFont(font)
self.label_12.setObjectName("label_12")
self.label_13 = QtWidgets.QLabel(self.centralwidget)
self.label_13.setGeometry(QtCore.QRect(292, 78, 54, 12))
self.label_13.setObjectName("label_13")
self.line_8 = QtWidgets.QFrame(self.centralwidget)
self.line_8.setGeometry(QtCore.QRect(280, 130, 121, 16))
self.line_8.setFrameShape(QtWidgets.QFrame.HLine)
self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_8.setObjectName("line_8")
self.line_9 = QtWidgets.QFrame(self.centralwidget)
self.line_9.setGeometry(QtCore.QRect(389, 168, 20, 83))
self.line_9.setFrameShape(QtWidgets.QFrame.VLine)
self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_9.setObjectName("line_9")
self.line_10 = QtWidgets.QFrame(self.centralwidget)
self.line_10.setGeometry(QtCore.QRect(278, 242, 121, 16))
self.line_10.setFrameShape(QtWidgets.QFrame.HLine)
self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_10.setObjectName("line_10")
self.label_14 = QtWidgets.QLabel(self.centralwidget)
self.label_14.setGeometry(QtCore.QRect(270, 160, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_14.setFont(font)
self.label_14.setObjectName("label_14")
self.line_11 = QtWidgets.QFrame(self.centralwidget)
self.line_11.setGeometry(QtCore.QRect(310, 160, 91, 16))
self.line_11.setFrameShape(QtWidgets.QFrame.HLine)
self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_11.setObjectName("line_11")
self.label_15 = QtWidgets.QLabel(self.centralwidget)
self.label_15.setGeometry(QtCore.QRect(290, 190, 54, 12))
self.label_15.setObjectName("label_15")
self.line_12 = QtWidgets.QFrame(self.centralwidget)
self.line_12.setGeometry(QtCore.QRect(270, 180, 16, 71))
self.line_12.setFrameShape(QtWidgets.QFrame.VLine)
self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_12.setObjectName("line_12")
self.line_13 = QtWidgets.QFrame(self.centralwidget)
self.line_13.setGeometry(QtCore.QRect(389, 278, 20, 83))
self.line_13.setFrameShape(QtWidgets.QFrame.VLine)
self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_13.setObjectName("line_13")
self.line_14 = QtWidgets.QFrame(self.centralwidget)
self.line_14.setGeometry(QtCore.QRect(278, 352, 121, 16))
self.line_14.setFrameShape(QtWidgets.QFrame.HLine)
self.line_14.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_14.setObjectName("line_14")
self.label_16 = QtWidgets.QLabel(self.centralwidget)
self.label_16.setGeometry(QtCore.QRect(270, 270, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_16.setFont(font)
self.label_16.setObjectName("label_16")
self.line_15 = QtWidgets.QFrame(self.centralwidget)
self.line_15.setGeometry(QtCore.QRect(310, 270, 91, 16))
self.line_15.setFrameShape(QtWidgets.QFrame.HLine)
self.line_15.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_15.setObjectName("line_15")
self.label_17 = QtWidgets.QLabel(self.centralwidget)
self.label_17.setGeometry(QtCore.QRect(290, 300, 54, 12))
self.label_17.setObjectName("label_17")
self.line_16 = QtWidgets.QFrame(self.centralwidget)
self.line_16.setGeometry(QtCore.QRect(270, 290, 16, 71))
self.line_16.setFrameShape(QtWidgets.QFrame.VLine)
self.line_16.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_16.setObjectName("line_16")
self.line_17 = QtWidgets.QFrame(self.centralwidget)
self.line_17.setGeometry(QtCore.QRect(189, 698, 20, 161))
self.line_17.setFrameShape(QtWidgets.QFrame.VLine)
self.line_17.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_17.setObjectName("line_17")
self.line_18 = QtWidgets.QFrame(self.centralwidget)
self.line_18.setGeometry(QtCore.QRect(80, 850, 121, 16))
self.line_18.setFrameShape(QtWidgets.QFrame.HLine)
self.line_18.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_18.setObjectName("line_18")
self.label_18 = QtWidgets.QLabel(self.centralwidget)
self.label_18.setGeometry(QtCore.QRect(70, 690, 54, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_18.setFont(font)
self.label_18.setObjectName("label_18")
self.line_19 = QtWidgets.QFrame(self.centralwidget)
self.line_19.setGeometry(QtCore.QRect(110, 690, 91, 16))
self.line_19.setFrameShape(QtWidgets.QFrame.HLine)
self.line_19.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_19.setObjectName("line_19")
self.label_19 = QtWidgets.QLabel(self.centralwidget)
self.label_19.setGeometry(QtCore.QRect(90, 720, 54, 12))
self.label_19.setObjectName("label_19")
self.line_20 = QtWidgets.QFrame(self.centralwidget)
self.line_20.setGeometry(QtCore.QRect(70, 710, 16, 151))
self.line_20.setFrameShape(QtWidgets.QFrame.VLine)
self.line_20.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_20.setObjectName("line_20")
self.line_21 = QtWidgets.QFrame(self.centralwidget)
self.line_21.setGeometry(QtCore.QRect(189, 428, 20, 101))
self.line_21.setFrameShape(QtWidgets.QFrame.VLine)
self.line_21.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_21.setObjectName("line_21")
self.line_22 = QtWidgets.QFrame(self.centralwidget)
self.line_22.setGeometry(QtCore.QRect(80, 520, 121, 20))
self.line_22.setFrameShape(QtWidgets.QFrame.HLine)
self.line_22.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_22.setObjectName("line_22")
self.label_20 = QtWidgets.QLabel(self.centralwidget)
self.label_20.setGeometry(QtCore.QRect(70, 420, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_20.setFont(font)
self.label_20.setObjectName("label_20")
self.line_23 = QtWidgets.QFrame(self.centralwidget)
self.line_23.setGeometry(QtCore.QRect(110, 420, 91, 16))
self.line_23.setFrameShape(QtWidgets.QFrame.HLine)
self.line_23.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_23.setObjectName("line_23")
self.label_21 = QtWidgets.QLabel(self.centralwidget)
self.label_21.setGeometry(QtCore.QRect(90, 450, 54, 12))
self.label_21.setObjectName("label_21")
self.line_24 = QtWidgets.QFrame(self.centralwidget)
self.line_24.setGeometry(QtCore.QRect(70, 440, 16, 91))
self.line_24.setFrameShape(QtWidgets.QFrame.VLine)
self.line_24.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_24.setObjectName("line_24")
self.label_22 = QtWidgets.QLabel(self.centralwidget)
self.label_22.setGeometry(QtCore.QRect(90, 480, 54, 12))
self.label_22.setObjectName("label_22")
self.line_25 = QtWidgets.QFrame(self.centralwidget)
self.line_25.setGeometry(QtCore.QRect(110, 550, 91, 16))
self.line_25.setFrameShape(QtWidgets.QFrame.HLine)
self.line_25.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_25.setObjectName("line_25")
self.label_23 = QtWidgets.QLabel(self.centralwidget)
self.label_23.setGeometry(QtCore.QRect(90, 610, 54, 12))
self.label_23.setObjectName("label_23")
self.line_26 = QtWidgets.QFrame(self.centralwidget)
self.line_26.setGeometry(QtCore.QRect(80, 660, 121, 20))
self.line_26.setFrameShape(QtWidgets.QFrame.HLine)
self.line_26.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_26.setObjectName("line_26")
self.label_24 = QtWidgets.QLabel(self.centralwidget)
self.label_24.setGeometry(QtCore.QRect(90, 580, 54, 12))
self.label_24.setObjectName("label_24")
self.line_27 = QtWidgets.QFrame(self.centralwidget)
self.line_27.setGeometry(QtCore.QRect(189, 558, 20, 111))
self.line_27.setFrameShape(QtWidgets.QFrame.VLine)
self.line_27.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_27.setObjectName("line_27")
self.label_25 = QtWidgets.QLabel(self.centralwidget)
self.label_25.setGeometry(QtCore.QRect(70, 550, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_25.setFont(font)
self.label_25.setObjectName("label_25")
self.line_28 = QtWidgets.QFrame(self.centralwidget)
self.line_28.setGeometry(QtCore.QRect(70, 570, 16, 101))
self.line_28.setFrameShape(QtWidgets.QFrame.VLine)
self.line_28.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_28.setObjectName("line_28")
self.line_29 = QtWidgets.QFrame(self.centralwidget)
self.line_29.setGeometry(QtCore.QRect(390, 410, 20, 121))
self.line_29.setFrameShape(QtWidgets.QFrame.VLine)
self.line_29.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_29.setObjectName("line_29")
self.line_30 = QtWidgets.QFrame(self.centralwidget)
self.line_30.setGeometry(QtCore.QRect(280, 530, 121, 16))
self.line_30.setFrameShape(QtWidgets.QFrame.HLine)
self.line_30.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_30.setObjectName("line_30")
self.label_26 = QtWidgets.QLabel(self.centralwidget)
self.label_26.setGeometry(QtCore.QRect(270, 400, 91, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_26.setFont(font)
self.label_26.setObjectName("label_26")
self.line_31 = QtWidgets.QFrame(self.centralwidget)
self.line_31.setGeometry(QtCore.QRect(350, 397, 51, 20))
self.line_31.setFrameShape(QtWidgets.QFrame.HLine)
self.line_31.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_31.setObjectName("line_31")
self.line_32 = QtWidgets.QFrame(self.centralwidget)
self.line_32.setGeometry(QtCore.QRect(270, 420, 16, 121))
self.line_32.setFrameShape(QtWidgets.QFrame.VLine)
self.line_32.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_32.setObjectName("line_32")
self.line_37 = QtWidgets.QFrame(self.centralwidget)
self.line_37.setGeometry(QtCore.QRect(280, 850, 121, 16))
self.line_37.setFrameShape(QtWidgets.QFrame.HLine)
self.line_37.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_37.setObjectName("line_37")
self.line_38 = QtWidgets.QFrame(self.centralwidget)
self.line_38.setGeometry(QtCore.QRect(389, 748, 20, 111))
self.line_38.setFrameShape(QtWidgets.QFrame.VLine)
self.line_38.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_38.setObjectName("line_38")
self.label_31 = QtWidgets.QLabel(self.centralwidget)
self.label_31.setGeometry(QtCore.QRect(270, 740, 54, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_31.setFont(font)
self.label_31.setObjectName("label_31")
self.line_39 = QtWidgets.QFrame(self.centralwidget)
self.line_39.setGeometry(QtCore.QRect(320, 740, 81, 20))
self.line_39.setFrameShape(QtWidgets.QFrame.HLine)
self.line_39.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_39.setObjectName("line_39")
self.line_40 = QtWidgets.QFrame(self.centralwidget)
self.line_40.setGeometry(QtCore.QRect(270, 760, 16, 101))
self.line_40.setFrameShape(QtWidgets.QFrame.VLine)
self.line_40.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_40.setObjectName("line_40")
self.doubleSpinBox_sigma_for_add_gaussian_noise = QtWidgets.QDoubleSpinBox(self.centralwidget)
self.doubleSpinBox_sigma_for_add_gaussian_noise.setGeometry(QtCore.QRect(130, 470, 62, 22))
self.doubleSpinBox_sigma_for_add_gaussian_noise.setMaximum(1.0)
self.doubleSpinBox_sigma_for_add_gaussian_noise.setSingleStep(0.01)
self.doubleSpinBox_sigma_for_add_gaussian_noise.setProperty("value", 0.05)
self.doubleSpinBox_sigma_for_add_gaussian_noise.setObjectName("doubleSpinBox_sigma_for_add_gaussian_noise")
self.doubleSpinBox_mean_for_add_gaussian_noise = QtWidgets.QDoubleSpinBox(self.centralwidget)
self.doubleSpinBox_mean_for_add_gaussian_noise.setGeometry(QtCore.QRect(130, 440, 62, 22))
self.doubleSpinBox_mean_for_add_gaussian_noise.setObjectName("doubleSpinBox_mean_for_add_gaussian_noise")
self.doubleSpinBox_mean_for_add_poisson_noise = QtWidgets.QDoubleSpinBox(self.centralwidget)
self.doubleSpinBox_mean_for_add_poisson_noise.setGeometry(QtCore.QRect(130, 570, 62, 22))
self.doubleSpinBox_mean_for_add_poisson_noise.setObjectName("doubleSpinBox_mean_for_add_poisson_noise")
self.doubleSpinBox_sigma_for_add_poisson_noise = QtWidgets.QDoubleSpinBox(self.centralwidget)
self.doubleSpinBox_sigma_for_add_poisson_noise.setGeometry(QtCore.QRect(130, 610, 62, 22))
self.doubleSpinBox_sigma_for_add_poisson_noise.setMaximum(1.0)
self.doubleSpinBox_sigma_for_add_poisson_noise.setSingleStep(0.01)
self.doubleSpinBox_sigma_for_add_poisson_noise.setProperty("value", 0.05)
self.doubleSpinBox_sigma_for_add_poisson_noise.setObjectName("doubleSpinBox_sigma_for_add_poisson_noise")
self.doubleSpinBox_occupation_for_add_salt_and_pepper_noise = QtWidgets.QDoubleSpinBox(self.centralwidget)
self.doubleSpinBox_occupation_for_add_salt_and_pepper_noise.setGeometry(QtCore.QRect(130, 710, 62, 22))
self.doubleSpinBox_occupation_for_add_salt_and_pepper_noise.setMaximum(1.0)
self.doubleSpinBox_occupation_for_add_salt_and_pepper_noise.setSingleStep(0.01)
self.doubleSpinBox_occupation_for_add_salt_and_pepper_noise.setProperty("value", 0.05)
self.doubleSpinBox_occupation_for_add_salt_and_pepper_noise.setObjectName("doubleSpinBox_occupation_for_add_salt_and_pepper_noise")
self.pushButton_test = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_test.setGeometry(QtCore.QRect(1290, 410, 75, 23))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_test.setFont(font)
self.pushButton_test.setObjectName("pushButton_test")
self.line_41 = QtWidgets.QFrame(self.centralwidget)
self.line_41.setGeometry(QtCore.QRect(40, 150, 201, 20))
self.line_41.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_41.setFrameShape(QtWidgets.QFrame.HLine)
self.line_41.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_41.setObjectName("line_41")
self.line_42 = QtWidgets.QFrame(self.centralwidget)
self.line_42.setGeometry(QtCore.QRect(40, 0, 771, 20))
self.line_42.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_42.setFrameShape(QtWidgets.QFrame.HLine)
self.line_42.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_42.setObjectName("line_42")
self.line_43 = QtWidgets.QFrame(self.centralwidget)
self.line_43.setGeometry(QtCore.QRect(230, 10, 20, 871))
self.line_43.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_43.setFrameShape(QtWidgets.QFrame.VLine)
self.line_43.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_43.setObjectName("line_43")
self.line_44 = QtWidgets.QFrame(self.centralwidget)
self.line_44.setGeometry(QtCore.QRect(40, 370, 771, 20))
self.line_44.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_44.setFrameShape(QtWidgets.QFrame.HLine)
self.line_44.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_44.setObjectName("line_44")
self.line_45 = QtWidgets.QFrame(self.centralwidget)
self.line_45.setGeometry(QtCore.QRect(420, 10, 20, 371))
self.line_45.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_45.setFrameShape(QtWidgets.QFrame.VLine)
self.line_45.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_45.setObjectName("line_45")
self.line_46 = QtWidgets.QFrame(self.centralwidget)
self.line_46.setGeometry(QtCore.QRect(500, 740, 81, 20))
self.line_46.setFrameShape(QtWidgets.QFrame.HLine)
self.line_46.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_46.setObjectName("line_46")
self.line_47 = QtWidgets.QFrame(self.centralwidget)
self.line_47.setGeometry(QtCore.QRect(450, 760, 16, 101))
self.line_47.setFrameShape(QtWidgets.QFrame.VLine)
self.line_47.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_47.setObjectName("line_47")
self.line_48 = QtWidgets.QFrame(self.centralwidget)
self.line_48.setGeometry(QtCore.QRect(569, 748, 20, 111))
self.line_48.setFrameShape(QtWidgets.QFrame.VLine)
self.line_48.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_48.setObjectName("line_48")
self.line_49 = QtWidgets.QFrame(self.centralwidget)
self.line_49.setGeometry(QtCore.QRect(460, 850, 121, 16))
self.line_49.setFrameShape(QtWidgets.QFrame.HLine)
self.line_49.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_49.setObjectName("line_49")
self.label_33 = QtWidgets.QLabel(self.centralwidget)
self.label_33.setGeometry(QtCore.QRect(450, 740, 54, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_33.setFont(font)
self.label_33.setObjectName("label_33")
self.label_34 = QtWidgets.QLabel(self.centralwidget)
self.label_34.setGeometry(QtCore.QRect(290, 430, 31, 16))
self.label_34.setObjectName("label_34")
self.label_36 = QtWidgets.QLabel(self.centralwidget)
self.label_36.setGeometry(QtCore.QRect(320, 760, 31, 16))
self.label_36.setObjectName("label_36")
self.label_37 = QtWidgets.QLabel(self.centralwidget)
self.label_37.setGeometry(QtCore.QRect(500, 760, 31, 16))
self.label_37.setObjectName("label_37")
self.line_50 = QtWidgets.QFrame(self.centralwidget)
self.line_50.setGeometry(QtCore.QRect(430, 130, 381, 20))
self.line_50.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_50.setFrameShape(QtWidgets.QFrame.HLine)
self.line_50.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_50.setObjectName("line_50")
self.label_11 = QtWidgets.QLabel(self.centralwidget)
self.label_11.setGeometry(QtCore.QRect(480, 140, 72, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_11.setFont(font)
self.label_11.setAlignment(QtCore.Qt.AlignCenter)
self.label_11.setObjectName("label_11")
self.label_38 = QtWidgets.QLabel(self.centralwidget)
self.label_38.setGeometry(QtCore.QRect(480, 20, 72, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_38.setFont(font)
self.label_38.setAlignment(QtCore.Qt.AlignCenter)
self.label_38.setObjectName("label_38")
self.line_51 = QtWidgets.QFrame(self.centralwidget)
self.line_51.setGeometry(QtCore.QRect(633, 527, 16, 71))
self.line_51.setFrameShape(QtWidgets.QFrame.VLine)
self.line_51.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_51.setObjectName("line_51")
self.line_52 = QtWidgets.QFrame(self.centralwidget)
self.line_52.setGeometry(QtCore.QRect(670, 510, 111, 16))
self.line_52.setFrameShape(QtWidgets.QFrame.HLine)
self.line_52.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_52.setObjectName("line_52")
self.line_53 = QtWidgets.QFrame(self.centralwidget)
self.line_53.setGeometry(QtCore.QRect(770, 518, 20, 83))
self.line_53.setFrameShape(QtWidgets.QFrame.VLine)
self.line_53.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_53.setObjectName("line_53")
self.label_39 = QtWidgets.QLabel(self.centralwidget)
self.label_39.setGeometry(QtCore.QRect(630, 510, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_39.setFont(font)
self.label_39.setObjectName("label_39")
self.pushButton_compress_image = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_compress_image.setGeometry(QtCore.QRect(670, 570, 71, 21))
self.pushButton_compress_image.setObjectName("pushButton_compress_image")
self.spinBox_size_to_transform = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_size_to_transform.setGeometry(QtCore.QRect(725, 536, 42, 22))
self.spinBox_size_to_transform.setMinimum(0)
self.spinBox_size_to_transform.setMaximum(9999)
self.spinBox_size_to_transform.setProperty("value", 200)
self.spinBox_size_to_transform.setObjectName("spinBox_size_to_transform")
self.label_40 = QtWidgets.QLabel(self.centralwidget)
self.label_40.setGeometry(QtCore.QRect(640, 540, 81, 16))
self.label_40.setObjectName("label_40")
self.line_54 = QtWidgets.QFrame(self.centralwidget)
self.line_54.setGeometry(QtCore.QRect(640, 590, 141, 16))
self.line_54.setFrameShape(QtWidgets.QFrame.HLine)
self.line_54.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_54.setObjectName("line_54")
self.line_55 = QtWidgets.QFrame(self.centralwidget)
self.line_55.setGeometry(QtCore.QRect(452, 288, 16, 71))
self.line_55.setFrameShape(QtWidgets.QFrame.VLine)
self.line_55.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_55.setObjectName("line_55")
self.line_56 = QtWidgets.QFrame(self.centralwidget)
self.line_56.setGeometry(QtCore.QRect(492, 268, 91, 16))
self.line_56.setFrameShape(QtWidgets.QFrame.HLine)
self.line_56.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_56.setObjectName("line_56")
self.line_57 = QtWidgets.QFrame(self.centralwidget)
self.line_57.setGeometry(QtCore.QRect(571, 276, 20, 83))
self.line_57.setFrameShape(QtWidgets.QFrame.VLine)
self.line_57.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_57.setObjectName("line_57")
self.label_41 = QtWidgets.QLabel(self.centralwidget)
self.label_41.setGeometry(QtCore.QRect(452, 268, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_41.setFont(font)
self.label_41.setObjectName("label_41")
self.pushButton_hist_equ = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_hist_equ.setGeometry(QtCore.QRect(500, 285, 71, 21))
self.pushButton_hist_equ.setObjectName("pushButton_hist_equ")
self.line_58 = QtWidgets.QFrame(self.centralwidget)
self.line_58.setGeometry(QtCore.QRect(460, 350, 121, 16))
self.line_58.setFrameShape(QtWidgets.QFrame.HLine)
self.line_58.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_58.setObjectName("line_58")
self.groupBox_3 = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_3.setGeometry(QtCore.QRect(80, 720, 101, 101))
self.groupBox_3.setTitle("")
self.groupBox_3.setObjectName("groupBox_3")
self.radioButton_pepper_for_add_salt_and_pepper_noise = QtWidgets.QRadioButton(self.groupBox_3)
self.radioButton_pepper_for_add_salt_and_pepper_noise.setGeometry(QtCore.QRect(20, 80, 89, 16))
self.radioButton_pepper_for_add_salt_and_pepper_noise.setObjectName("radioButton_pepper_for_add_salt_and_pepper_noise")
self.radioButton_salt_for_add_salt_and_pepper_noise = QtWidgets.QRadioButton(self.groupBox_3)
self.radioButton_salt_for_add_salt_and_pepper_noise.setGeometry(QtCore.QRect(20, 50, 89, 16))
self.radioButton_salt_for_add_salt_and_pepper_noise.setChecked(False)
self.radioButton_salt_for_add_salt_and_pepper_noise.setObjectName("radioButton_salt_for_add_salt_and_pepper_noise")
self.radioButton_salt_and_pepper_for_add_salt_and_pepper_noise = QtWidgets.QRadioButton(self.groupBox_3)
self.radioButton_salt_and_pepper_for_add_salt_and_pepper_noise.setGeometry(QtCore.QRect(20, 20, 89, 16))
self.radioButton_salt_and_pepper_for_add_salt_and_pepper_noise.setChecked(True)
self.radioButton_salt_and_pepper_for_add_salt_and_pepper_noise.setObjectName("radioButton_salt_and_pepper_for_add_salt_and_pepper_noise")
self.line_59 = QtWidgets.QFrame(self.centralwidget)
self.line_59.setGeometry(QtCore.QRect(600, 10, 20, 871))
self.line_59.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_59.setFrameShape(QtWidgets.QFrame.VLine)
self.line_59.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_59.setObjectName("line_59")
self.line_60 = QtWidgets.QFrame(self.centralwidget)
self.line_60.setGeometry(QtCore.QRect(130, 160, 20, 221))
self.line_60.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_60.setFrameShape(QtWidgets.QFrame.VLine)
self.line_60.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_60.setObjectName("line_60")
self.label_44 = QtWidgets.QLabel(self.centralwidget)
self.label_44.setGeometry(QtCore.QRect(50, 310, 72, 31))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_44.setFont(font)
self.label_44.setAlignment(QtCore.Qt.AlignCenter)
self.label_44.setWordWrap(True)
self.label_44.setObjectName("label_44")
self.pushButton_hough = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_hough.setGeometry(QtCore.QRect(50, 350, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_hough.setFont(font)
self.pushButton_hough.setObjectName("pushButton_hough")
self.line_61 = QtWidgets.QFrame(self.centralwidget)
self.line_61.setGeometry(QtCore.QRect(40, 290, 101, 20))
self.line_61.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_61.setFrameShape(QtWidgets.QFrame.HLine)
self.line_61.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_61.setObjectName("line_61")
self.spinBox_threshold_for_ideal_low_pass_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_threshold_for_ideal_low_pass_filter.setGeometry(QtCore.QRect(340, 420, 42, 22))
self.spinBox_threshold_for_ideal_low_pass_filter.setMinimum(0)
self.spinBox_threshold_for_ideal_low_pass_filter.setMaximum(255)
self.spinBox_threshold_for_ideal_low_pass_filter.setProperty("value", 30)
self.spinBox_threshold_for_ideal_low_pass_filter.setObjectName("spinBox_threshold_for_ideal_low_pass_filter")
self.label_43 = QtWidgets.QLabel(self.centralwidget)
self.label_43.setGeometry(QtCore.QRect(290, 470, 31, 16))
self.label_43.setObjectName("label_43")
self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox.setGeometry(QtCore.QRect(320, 450, 81, 51))
self.groupBox.setTitle("")
self.groupBox.setObjectName("groupBox")
self.radioButton_rectangle_for_ideal_low_pass_filter = QtWidgets.QRadioButton(self.groupBox)
self.radioButton_rectangle_for_ideal_low_pass_filter.setGeometry(QtCore.QRect(20, 30, 51, 16))
self.radioButton_rectangle_for_ideal_low_pass_filter.setObjectName("radioButton_rectangle_for_ideal_low_pass_filter")
self.radioButton_circle_for_ideal_low_pass_filter = QtWidgets.QRadioButton(self.groupBox)
self.radioButton_circle_for_ideal_low_pass_filter.setGeometry(QtCore.QRect(20, 10, 51, 16))
self.radioButton_circle_for_ideal_low_pass_filter.setChecked(True)
self.radioButton_circle_for_ideal_low_pass_filter.setObjectName("radioButton_circle_for_ideal_low_pass_filter")
self.line_34 = QtWidgets.QFrame(self.centralwidget)
self.line_34.setGeometry(QtCore.QRect(460, 530, 121, 16))
self.line_34.setFrameShape(QtWidgets.QFrame.HLine)
self.line_34.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_34.setObjectName("line_34")
self.label_45 = QtWidgets.QLabel(self.centralwidget)
self.label_45.setGeometry(QtCore.QRect(470, 470, 31, 16))
self.label_45.setObjectName("label_45")
self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_2.setGeometry(QtCore.QRect(500, 450, 81, 51))
self.groupBox_2.setTitle("")
self.groupBox_2.setObjectName("groupBox_2")
self.radioButton_rectangle_for_ideal_high_pass_filter = QtWidgets.QRadioButton(self.groupBox_2)
self.radioButton_rectangle_for_ideal_high_pass_filter.setGeometry(QtCore.QRect(20, 30, 51, 16))
self.radioButton_rectangle_for_ideal_high_pass_filter.setObjectName("radioButton_rectangle_for_ideal_high_pass_filter")
self.radioButton_circle_for_ideal_high_pass_filter = QtWidgets.QRadioButton(self.groupBox_2)
self.radioButton_circle_for_ideal_high_pass_filter.setGeometry(QtCore.QRect(20, 10, 51, 16))
self.radioButton_circle_for_ideal_high_pass_filter.setChecked(True)
self.radioButton_circle_for_ideal_high_pass_filter.setObjectName("radioButton_circle_for_ideal_high_pass_filter")
self.pushButton_ideal_high_pass_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_ideal_high_pass_filter.setGeometry(QtCore.QRect(480, 510, 71, 21))
self.pushButton_ideal_high_pass_filter.setObjectName("pushButton_ideal_high_pass_filter")
self.line_35 = QtWidgets.QFrame(self.centralwidget)
self.line_35.setGeometry(QtCore.QRect(570, 410, 20, 121))
self.line_35.setFrameShape(QtWidgets.QFrame.VLine)
self.line_35.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_35.setObjectName("line_35")
self.label_27 = QtWidgets.QLabel(self.centralwidget)
self.label_27.setGeometry(QtCore.QRect(450, 400, 91, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_27.setFont(font)
self.label_27.setObjectName("label_27")
self.label_35 = QtWidgets.QLabel(self.centralwidget)
self.label_35.setGeometry(QtCore.QRect(470, 430, 31, 16))
self.label_35.setObjectName("label_35")
self.spinBox_threshold_for_ideal_high_pass_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_threshold_for_ideal_high_pass_filter.setGeometry(QtCore.QRect(520, 420, 42, 22))
self.spinBox_threshold_for_ideal_high_pass_filter.setMinimum(0)
self.spinBox_threshold_for_ideal_high_pass_filter.setMaximum(255)
self.spinBox_threshold_for_ideal_high_pass_filter.setProperty("value", 30)
self.spinBox_threshold_for_ideal_high_pass_filter.setObjectName("spinBox_threshold_for_ideal_high_pass_filter")
self.line_36 = QtWidgets.QFrame(self.centralwidget)
self.line_36.setGeometry(QtCore.QRect(530, 397, 51, 20))
self.line_36.setFrameShape(QtWidgets.QFrame.HLine)
self.line_36.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_36.setObjectName("line_36")
self.line_62 = QtWidgets.QFrame(self.centralwidget)
self.line_62.setGeometry(QtCore.QRect(450, 420, 16, 121))
self.line_62.setFrameShape(QtWidgets.QFrame.VLine)
self.line_62.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_62.setObjectName("line_62")
self.spinBox_min_for_band_stop_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_min_for_band_stop_filter.setGeometry(QtCore.QRect(280, 800, 42, 22))
self.spinBox_min_for_band_stop_filter.setMinimum(0)
self.spinBox_min_for_band_stop_filter.setMaximum(255)
self.spinBox_min_for_band_stop_filter.setProperty("value", 30)
self.spinBox_min_for_band_stop_filter.setObjectName("spinBox_min_for_band_stop_filter")
self.spinBox_max_for_band_stop_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_max_for_band_stop_filter.setGeometry(QtCore.QRect(350, 800, 42, 22))
self.spinBox_max_for_band_stop_filter.setMinimum(0)
self.spinBox_max_for_band_stop_filter.setMaximum(255)
self.spinBox_max_for_band_stop_filter.setProperty("value", 100)
self.spinBox_max_for_band_stop_filter.setObjectName("spinBox_max_for_band_stop_filter")
self.label_46 = QtWidgets.QLabel(self.centralwidget)
self.label_46.setGeometry(QtCore.QRect(290, 780, 31, 16))
self.label_46.setObjectName("label_46")
self.label_47 = QtWidgets.QLabel(self.centralwidget)
self.label_47.setGeometry(QtCore.QRect(350, 780, 31, 16))
self.label_47.setObjectName("label_47")
self.pushButton_band_pass_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_band_pass_filter.setGeometry(QtCore.QRect(480, 830, 71, 21))
self.pushButton_band_pass_filter.setObjectName("pushButton_band_pass_filter")
self.spinBox_max_for_band_pass_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_max_for_band_pass_filter.setGeometry(QtCore.QRect(530, 800, 42, 22))
self.spinBox_max_for_band_pass_filter.setMinimum(0)
self.spinBox_max_for_band_pass_filter.setMaximum(255)
self.spinBox_max_for_band_pass_filter.setProperty("value", 100)
self.spinBox_max_for_band_pass_filter.setObjectName("spinBox_max_for_band_pass_filter")
self.label_48 = QtWidgets.QLabel(self.centralwidget)
self.label_48.setGeometry(QtCore.QRect(470, 780, 31, 16))
self.label_48.setObjectName("label_48")
self.label_49 = QtWidgets.QLabel(self.centralwidget)
self.label_49.setGeometry(QtCore.QRect(530, 780, 31, 16))
self.label_49.setObjectName("label_49")
self.spinBox_min_for_band_pass_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_min_for_band_pass_filter.setGeometry(QtCore.QRect(460, 800, 42, 22))
self.spinBox_min_for_band_pass_filter.setMinimum(0)
self.spinBox_min_for_band_pass_filter.setMaximum(255)
self.spinBox_min_for_band_pass_filter.setProperty("value", 30)
self.spinBox_min_for_band_pass_filter.setObjectName("spinBox_min_for_band_pass_filter")
self.line_63 = QtWidgets.QFrame(self.centralwidget)
self.line_63.setGeometry(QtCore.QRect(280, 643, 121, 16))
self.line_63.setFrameShape(QtWidgets.QFrame.HLine)
self.line_63.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_63.setObjectName("line_63")
self.label_50 = QtWidgets.QLabel(self.centralwidget)
self.label_50.setGeometry(QtCore.QRect(290, 603, 31, 16))
self.label_50.setObjectName("label_50")
self.pushButton_butterworth_low_pass_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_butterworth_low_pass_filter.setGeometry(QtCore.QRect(300, 623, 71, 21))
self.pushButton_butterworth_low_pass_filter.setObjectName("pushButton_butterworth_low_pass_filter")
self.line_64 = QtWidgets.QFrame(self.centralwidget)
self.line_64.setGeometry(QtCore.QRect(390, 553, 20, 91))
self.line_64.setFrameShape(QtWidgets.QFrame.VLine)
self.line_64.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_64.setObjectName("line_64")
self.label_28 = QtWidgets.QLabel(self.centralwidget)
self.label_28.setGeometry(QtCore.QRect(270, 543, 101, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_28.setFont(font)
self.label_28.setObjectName("label_28")
self.label_51 = QtWidgets.QLabel(self.centralwidget)
self.label_51.setGeometry(QtCore.QRect(290, 573, 31, 16))
self.label_51.setObjectName("label_51")
self.spinBox_threshold_for_butterworth_low_pass_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_threshold_for_butterworth_low_pass_filter.setGeometry(QtCore.QRect(340, 563, 42, 22))
self.spinBox_threshold_for_butterworth_low_pass_filter.setMinimum(0)
self.spinBox_threshold_for_butterworth_low_pass_filter.setMaximum(255)
self.spinBox_threshold_for_butterworth_low_pass_filter.setProperty("value", 30)
self.spinBox_threshold_for_butterworth_low_pass_filter.setObjectName("spinBox_threshold_for_butterworth_low_pass_filter")
self.line_65 = QtWidgets.QFrame(self.centralwidget)
self.line_65.setGeometry(QtCore.QRect(370, 540, 31, 20))
self.line_65.setFrameShape(QtWidgets.QFrame.HLine)
self.line_65.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_65.setObjectName("line_65")
self.line_66 = QtWidgets.QFrame(self.centralwidget)
self.line_66.setGeometry(QtCore.QRect(270, 563, 16, 91))
self.line_66.setFrameShape(QtWidgets.QFrame.VLine)
self.line_66.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_66.setObjectName("line_66")
self.spinBox_order_for_butterworth_low_pass_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_order_for_butterworth_low_pass_filter.setGeometry(QtCore.QRect(340, 593, 42, 22))
self.spinBox_order_for_butterworth_low_pass_filter.setMinimum(0)
self.spinBox_order_for_butterworth_low_pass_filter.setMaximum(255)
self.spinBox_order_for_butterworth_low_pass_filter.setProperty("value", 2)
self.spinBox_order_for_butterworth_low_pass_filter.setObjectName("spinBox_order_for_butterworth_low_pass_filter")
self.pushButton_gaussian_low_pass_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_gaussian_low_pass_filter.setGeometry(QtCore.QRect(300, 707, 71, 21))
self.pushButton_gaussian_low_pass_filter.setObjectName("pushButton_gaussian_low_pass_filter")
self.spinBox_sigma_for_gaussian_low_pass_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_sigma_for_gaussian_low_pass_filter.setGeometry(QtCore.QRect(340, 680, 42, 22))
self.spinBox_sigma_for_gaussian_low_pass_filter.setMinimum(0)
self.spinBox_sigma_for_gaussian_low_pass_filter.setMaximum(255)
self.spinBox_sigma_for_gaussian_low_pass_filter.setProperty("value", 30)
self.spinBox_sigma_for_gaussian_low_pass_filter.setObjectName("spinBox_sigma_for_gaussian_low_pass_filter")
self.line_67 = QtWidgets.QFrame(self.centralwidget)
self.line_67.setGeometry(QtCore.QRect(270, 680, 16, 51))
self.line_67.setFrameShape(QtWidgets.QFrame.VLine)
self.line_67.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_67.setObjectName("line_67")
self.label_29 = QtWidgets.QLabel(self.centralwidget)
self.label_29.setGeometry(QtCore.QRect(270, 660, 101, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_29.setFont(font)
self.label_29.setObjectName("label_29")
self.line_68 = QtWidgets.QFrame(self.centralwidget)
self.line_68.setGeometry(QtCore.QRect(280, 727, 121, 16))
self.line_68.setFrameShape(QtWidgets.QFrame.HLine)
self.line_68.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_68.setObjectName("line_68")
self.line_69 = QtWidgets.QFrame(self.centralwidget)
self.line_69.setGeometry(QtCore.QRect(350, 660, 51, 20))
self.line_69.setFrameShape(QtWidgets.QFrame.HLine)
self.line_69.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_69.setObjectName("line_69")
self.line_70 = QtWidgets.QFrame(self.centralwidget)
self.line_70.setGeometry(QtCore.QRect(390, 670, 20, 61))
self.line_70.setFrameShape(QtWidgets.QFrame.VLine)
self.line_70.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_70.setObjectName("line_70")
self.label_53 = QtWidgets.QLabel(self.centralwidget)
self.label_53.setGeometry(QtCore.QRect(290, 690, 41, 16))
self.label_53.setObjectName("label_53")
self.label_52 = QtWidgets.QLabel(self.centralwidget)
self.label_52.setGeometry(QtCore.QRect(470, 600, 31, 16))
self.label_52.setObjectName("label_52")
self.pushButton_butterworth_high_pass_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_butterworth_high_pass_filter.setGeometry(QtCore.QRect(480, 620, 71, 21))
self.pushButton_butterworth_high_pass_filter.setObjectName("pushButton_butterworth_high_pass_filter")
self.spinBox_threshold_for_butterworth_high_pass_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_threshold_for_butterworth_high_pass_filter.setGeometry(QtCore.QRect(520, 560, 42, 22))
self.spinBox_threshold_for_butterworth_high_pass_filter.setMinimum(0)
self.spinBox_threshold_for_butterworth_high_pass_filter.setMaximum(255)
self.spinBox_threshold_for_butterworth_high_pass_filter.setProperty("value", 30)
self.spinBox_threshold_for_butterworth_high_pass_filter.setObjectName("spinBox_threshold_for_butterworth_high_pass_filter")
self.line_71 = QtWidgets.QFrame(self.centralwidget)
self.line_71.setGeometry(QtCore.QRect(450, 560, 16, 91))
self.line_71.setFrameShape(QtWidgets.QFrame.VLine)
self.line_71.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_71.setObjectName("line_71")
self.label_30 = QtWidgets.QLabel(self.centralwidget)
self.label_30.setGeometry(QtCore.QRect(450, 540, 101, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_30.setFont(font)
self.label_30.setObjectName("label_30")
self.spinBox_order_for_butterworth_high_pass_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_order_for_butterworth_high_pass_filter.setGeometry(QtCore.QRect(520, 590, 42, 22))
self.spinBox_order_for_butterworth_high_pass_filter.setMinimum(0)
self.spinBox_order_for_butterworth_high_pass_filter.setMaximum(255)
self.spinBox_order_for_butterworth_high_pass_filter.setProperty("value", 2)
self.spinBox_order_for_butterworth_high_pass_filter.setObjectName("spinBox_order_for_butterworth_high_pass_filter")
self.line_72 = QtWidgets.QFrame(self.centralwidget)
self.line_72.setGeometry(QtCore.QRect(460, 640, 121, 16))
self.line_72.setFrameShape(QtWidgets.QFrame.HLine)
self.line_72.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_72.setObjectName("line_72")
self.line_73 = QtWidgets.QFrame(self.centralwidget)
self.line_73.setGeometry(QtCore.QRect(550, 537, 31, 20))
self.line_73.setFrameShape(QtWidgets.QFrame.HLine)
self.line_73.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_73.setObjectName("line_73")
self.line_74 = QtWidgets.QFrame(self.centralwidget)
self.line_74.setGeometry(QtCore.QRect(570, 550, 20, 91))
self.line_74.setFrameShape(QtWidgets.QFrame.VLine)
self.line_74.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_74.setObjectName("line_74")
self.label_54 = QtWidgets.QLabel(self.centralwidget)
self.label_54.setGeometry(QtCore.QRect(470, 570, 31, 16))
self.label_54.setObjectName("label_54")
self.pushButton_gaussian_high_pass_filter = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_gaussian_high_pass_filter.setGeometry(QtCore.QRect(480, 710, 71, 21))
self.pushButton_gaussian_high_pass_filter.setObjectName("pushButton_gaussian_high_pass_filter")
self.line_75 = QtWidgets.QFrame(self.centralwidget)
self.line_75.setGeometry(QtCore.QRect(570, 673, 20, 61))
self.line_75.setFrameShape(QtWidgets.QFrame.VLine)
self.line_75.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_75.setObjectName("line_75")
self.label_32 = QtWidgets.QLabel(self.centralwidget)
self.label_32.setGeometry(QtCore.QRect(450, 663, 101, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_32.setFont(font)
self.label_32.setObjectName("label_32")
self.line_76 = QtWidgets.QFrame(self.centralwidget)
self.line_76.setGeometry(QtCore.QRect(530, 663, 51, 20))
self.line_76.setFrameShape(QtWidgets.QFrame.HLine)
self.line_76.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_76.setObjectName("line_76")
self.line_77 = QtWidgets.QFrame(self.centralwidget)
self.line_77.setGeometry(QtCore.QRect(450, 683, 16, 51))
self.line_77.setFrameShape(QtWidgets.QFrame.VLine)
self.line_77.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_77.setObjectName("line_77")
self.label_55 = QtWidgets.QLabel(self.centralwidget)
self.label_55.setGeometry(QtCore.QRect(470, 693, 41, 16))
self.label_55.setObjectName("label_55")
self.spinBox_sigma_for_gaussian_high_pass_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_sigma_for_gaussian_high_pass_filter.setGeometry(QtCore.QRect(520, 683, 42, 22))
self.spinBox_sigma_for_gaussian_high_pass_filter.setMinimum(0)
self.spinBox_sigma_for_gaussian_high_pass_filter.setMaximum(255)
self.spinBox_sigma_for_gaussian_high_pass_filter.setProperty("value", 30)
self.spinBox_sigma_for_gaussian_high_pass_filter.setObjectName("spinBox_sigma_for_gaussian_high_pass_filter")
self.line_78 = QtWidgets.QFrame(self.centralwidget)
self.line_78.setGeometry(QtCore.QRect(460, 730, 121, 16))
self.line_78.setFrameShape(QtWidgets.QFrame.HLine)
self.line_78.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_78.setObjectName("line_78")
self.spinBox_kernel_for_mean_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_kernel_for_mean_filter.setGeometry(QtCore.QRect(340, 70, 42, 22))
font = QtGui.QFont()
font.setPointSize(9)
self.spinBox_kernel_for_mean_filter.setFont(font)
self.spinBox_kernel_for_mean_filter.setMaximum(9)
self.spinBox_kernel_for_mean_filter.setSingleStep(2)
self.spinBox_kernel_for_mean_filter.setProperty("value", 5)
self.spinBox_kernel_for_mean_filter.setObjectName("spinBox_kernel_for_mean_filter")
self.spinBox_kernel_for_median_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_kernel_for_median_filter.setGeometry(QtCore.QRect(340, 180, 42, 22))
self.spinBox_kernel_for_median_filter.setMinimum(1)
self.spinBox_kernel_for_median_filter.setMaximum(9)
self.spinBox_kernel_for_median_filter.setSingleStep(2)
self.spinBox_kernel_for_median_filter.setProperty("value", 5)
self.spinBox_kernel_for_median_filter.setObjectName("spinBox_kernel_for_median_filter")
self.spinBox_kernel_for_gaussian_filter = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_kernel_for_gaussian_filter.setGeometry(QtCore.QRect(340, 290, 42, 22))
self.spinBox_kernel_for_gaussian_filter.setMinimum(1)
self.spinBox_kernel_for_gaussian_filter.setMaximum(9)
self.spinBox_kernel_for_gaussian_filter.setSingleStep(2)
self.spinBox_kernel_for_gaussian_filter.setProperty("value", 5)
self.spinBox_kernel_for_gaussian_filter.setObjectName("spinBox_kernel_for_gaussian_filter")
self.line_79 = QtWidgets.QFrame(self.centralwidget)
self.line_79.setGeometry(QtCore.QRect(30, 10, 20, 871))
self.line_79.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_79.setFrameShape(QtWidgets.QFrame.VLine)
self.line_79.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_79.setObjectName("line_79")
self.graphicsView_2 = QtWidgets.QGraphicsView(self.centralwidget)
self.graphicsView_2.setGeometry(QtCore.QRect(860, 460, 411, 351))
self.graphicsView_2.setLineWidth(2)
self.graphicsView_2.setObjectName("graphicsView_2")
self.pushButton_close_image = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_close_image.setGeometry(QtCore.QRect(1290, 160, 91, 41))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_close_image.setFont(font)
self.pushButton_close_image.setObjectName("pushButton_close_image")
self.pushButton_reset_image = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_reset_image.setGeometry(QtCore.QRect(1290, 280, 91, 41))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_reset_image.setFont(font)
self.pushButton_reset_image.setObjectName("pushButton_reset_image")
self.pushButton_undo_image = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_undo_image.setGeometry(QtCore.QRect(1290, 340, 91, 41))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_undo_image.setFont(font)
self.pushButton_undo_image.setObjectName("pushButton_undo_image")
self.label_42 = QtWidgets.QLabel(self.centralwidget)
self.label_42.setGeometry(QtCore.QRect(460, 290, 54, 12))
self.label_42.setObjectName("label_42")
self.label_56 = QtWidgets.QLabel(self.centralwidget)
self.label_56.setGeometry(QtCore.QRect(460, 325, 54, 12))
self.label_56.setObjectName("label_56")
self.pushButton_hist_equ_2 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_hist_equ_2.setGeometry(QtCore.QRect(500, 320, 71, 21))
self.pushButton_hist_equ_2.setObjectName("pushButton_hist_equ_2")
self.groupBox_4 = QtWidgets.QGroupBox(self.centralwidget)
self.groupBox_4.setGeometry(QtCore.QRect(70, 100, 151, 31))
self.groupBox_4.setTitle("")
self.groupBox_4.setObjectName("groupBox_4")
self.radioButton_smaller = QtWidgets.QRadioButton(self.groupBox_4)
self.radioButton_smaller.setGeometry(QtCore.QRect(80, 10, 51, 16))
self.radioButton_smaller.setObjectName("radioButton_smaller")
self.radioButton_bigger = QtWidgets.QRadioButton(self.groupBox_4)
self.radioButton_bigger.setGeometry(QtCore.QRect(10, 10, 51, 16))
self.radioButton_bigger.setChecked(True)
self.radioButton_bigger.setObjectName("radioButton_bigger")
self.size_controller = QtWidgets.QScrollBar(self.centralwidget)
self.size_controller.setGeometry(QtCore.QRect(60, 140, 160, 16))
self.size_controller.setMinimum(10)
self.size_controller.setMaximum(100)
self.size_controller.setSingleStep(1)
self.size_controller.setOrientation(QtCore.Qt.Horizontal)
self.size_controller.setObjectName("size_controller")
self.line_80 = QtWidgets.QFrame(self.centralwidget)
self.line_80.setGeometry(QtCore.QRect(800, 10, 20, 641))
self.line_80.setLayoutDirection(QtCore.Qt.LeftToRight)
self.line_80.setFrameShape(QtWidgets.QFrame.VLine)
self.line_80.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_80.setObjectName("line_80")
self.label_57 = QtWidgets.QLabel(self.centralwidget)
self.label_57.setGeometry(QtCore.QRect(670, 20, 72, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_57.setFont(font)
self.label_57.setAlignment(QtCore.Qt.AlignCenter)
self.label_57.setObjectName("label_57")
self.pushButton_apply_roberts = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_apply_roberts.setGeometry(QtCore.QRect(630, 50, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_apply_roberts.setFont(font)
self.pushButton_apply_roberts.setObjectName("pushButton_apply_roberts")
self.pushButton_apply_sobel = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_apply_sobel.setGeometry(QtCore.QRect(720, 50, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_apply_sobel.setFont(font)
self.pushButton_apply_sobel.setObjectName("pushButton_apply_sobel")
self.pushButton_apply_prewitt = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_apply_prewitt.setGeometry(QtCore.QRect(630, 90, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_apply_prewitt.setFont(font)
self.pushButton_apply_prewitt.setObjectName("pushButton_apply_prewitt")
self.pushButton_sobel_edge_detection_5 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_sobel_edge_detection_5.setGeometry(QtCore.QRect(720, 90, 71, 21))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.pushButton_sobel_edge_detection_5.setFont(font)
self.pushButton_sobel_edge_detection_5.setObjectName("pushButton_sobel_edge_detection_5")
self.label_58 = QtWidgets.QLabel(self.centralwidget)
self.label_58.setGeometry(QtCore.QRect(670, 150, 72, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_58.setFont(font)
self.label_58.setAlignment(QtCore.Qt.AlignCenter)
self.label_58.setObjectName("label_58")
self.label_59 = QtWidgets.QLabel(self.centralwidget)
self.label_59.setGeometry(QtCore.QRect(630, 190, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_59.setFont(font)
self.label_59.setObjectName("label_59")
self.label_60 = QtWidgets.QLabel(self.centralwidget)
self.label_60.setGeometry(QtCore.QRect(630, 235, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_60.setFont(font)
self.label_60.setObjectName("label_60")
self.label_61 = QtWidgets.QLabel(self.centralwidget)
self.label_61.setGeometry(QtCore.QRect(630, 285, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_61.setFont(font)
self.label_61.setObjectName("label_61")
self.label_62 = QtWidgets.QLabel(self.centralwidget)
self.label_62.setGeometry(QtCore.QRect(630, 335, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_62.setFont(font)
self.label_62.setObjectName("label_62")
self.pushButton_add = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_add.setGeometry(QtCore.QRect(690, 185, 91, 23))
self.pushButton_add.setObjectName("pushButton_add")
self.pushButton_minus = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_minus.setGeometry(QtCore.QRect(690, 230, 91, 23))
self.pushButton_minus.setObjectName("pushButton_minus")
self.pushButton_multi = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_multi.setGeometry(QtCore.QRect(690, 280, 91, 23))
self.pushButton_multi.setObjectName("pushButton_multi")
self.pushButton_complex_change = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_complex_change.setGeometry(QtCore.QRect(690, 330, 91, 23))
self.pushButton_complex_change.setObjectName("pushButton_complex_change")
self.label_63 = QtWidgets.QLabel(self.centralwidget)
self.label_63.setGeometry(QtCore.QRect(670, 390, 72, 16))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_63.setFont(font)
self.label_63.setAlignment(QtCore.Qt.AlignCenter)
self.label_63.setObjectName("label_63")
self.label_64 = QtWidgets.QLabel(self.centralwidget)
self.label_64.setGeometry(QtCore.QRect(620, 430, 91, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_64.setFont(font)
self.label_64.setObjectName("label_64")
self.pushButton_vessel_division = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_vessel_division.setGeometry(QtCore.QRect(710, 430, 71, 21))
self.pushButton_vessel_division.setObjectName("pushButton_vessel_division")
self.label_65 = QtWidgets.QLabel(self.centralwidget)
self.label_65.setGeometry(QtCore.QRect(630, 470, 61, 16))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_65.setFont(font)
self.label_65.setObjectName("label_65")
self.pushButton_repair_image = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_repair_image.setGeometry(QtCore.QRect(710, 470, 71, 21))
self.pushButton_repair_image.setObjectName("pushButton_repair_image")
self.line_33 = QtWidgets.QFrame(self.centralwidget)
self.line_33.setGeometry(QtCore.QRect(610, 640, 201, 16))
self.line_33.setFrameShape(QtWidgets.QFrame.HLine)
self.line_33.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_33.setObjectName("line_33")
self.label_66 = QtWidgets.QLabel(self.centralwidget)
self.label_66.setGeometry(QtCore.QRect(450, 164, 54, 12))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.label_66.setFont(font)
self.label_66.setObjectName("label_66")
self.spinBox_threshold_for_brightness_change = QtWidgets.QSpinBox(self.centralwidget)
self.spinBox_threshold_for_brightness_change.setGeometry(QtCore.QRect(530, 185, 42, 22))
self.spinBox_threshold_for_brightness_change.setMinimum(-127)
self.spinBox_threshold_for_brightness_change.setMaximum(127)
self.spinBox_threshold_for_brightness_change.setProperty("value", 20)
self.spinBox_threshold_for_brightness_change.setObjectName("spinBox_threshold_for_brightness_change")
self.line_81 = QtWidgets.QFrame(self.centralwidget)
self.line_81.setGeometry(QtCore.QRect(450, 180, 16, 71))
self.line_81.setFrameShape(QtWidgets.QFrame.VLine)
self.line_81.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_81.setObjectName("line_81")
self.line_82 = QtWidgets.QFrame(self.centralwidget)
self.line_82.setGeometry(QtCore.QRect(460, 240, 121, 16))
self.line_82.setFrameShape(QtWidgets.QFrame.HLine)
self.line_82.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_82.setObjectName("line_82")
self.line_83 = QtWidgets.QFrame(self.centralwidget)
self.line_83.setGeometry(QtCore.QRect(500, 160, 81, 20))
self.line_83.setFrameShape(QtWidgets.QFrame.HLine)
self.line_83.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_83.setObjectName("line_83")
self.pushButton_brightness_change = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_brightness_change.setGeometry(QtCore.QRect(480, 220, 71, 21))
self.pushButton_brightness_change.setObjectName("pushButton_brightness_change")
self.line_84 = QtWidgets.QFrame(self.centralwidget)
self.line_84.setGeometry(QtCore.QRect(569, 168, 20, 83))
self.line_84.setFrameShape(QtWidgets.QFrame.VLine)
self.line_84.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_84.setObjectName("line_84")
self.label_67 = QtWidgets.QLabel(self.centralwidget)
self.label_67.setGeometry(QtCore.QRect(470, 190, 54, 12))
self.label_67.setObjectName("label_67")
Image_processing.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(Image_processing)
self.statusbar.setObjectName("statusbar")
Image_processing.setStatusBar(self.statusbar)
self.menubar = QtWidgets.QMenuBar(Image_processing)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1400, 22))
self.menubar.setObjectName("menubar")
Image_processing.setMenuBar(self.menubar)
self.retranslateUi(Image_processing)
QtCore.QMetaObject.connectSlotsByName(Image_processing)
def retranslateUi(self, Image_processing):
_translate = QtCore.QCoreApplication.translate
Image_processing.setWindowTitle(_translate("Image_processing", "MainWindow"))
self.pushButton_open_image.setText(_translate("Image_processing", "打开图片"))
self.pushButton_save_image.setText(_translate("Image_processing", "保存图片"))
self.label.setText(_translate("Image_processing", "原始图片"))
self.label_2.setText(_translate("Image_processing", "效果预览"))
self.label_3.setText(_translate("Image_processing", "基础功能"))
self.label_4.setText(_translate("Image_processing", "空间滤波器"))
self.label_5.setText(_translate("Image_processing", "频域滤波"))
self.label_6.setText(_translate("Image_processing", "添加噪波"))
self.label_7.setText(_translate("Image_processing", "形态学操作"))
self.label_8.setText(_translate("Image_processing", "边缘检测"))
self.pushButton_symmetry.setText(_translate("Image_processing", "对称"))
self.pushButton_rotate.setText(_translate("Image_processing", "旋转"))
self.pushButton_to_grayscale.setText(_translate("Image_processing", "灰度化"))
self.pushButton_to_binary.setText(_translate("Image_processing", "转换"))
self.pushButton_invert_colors.setText(_translate("Image_processing", "反色"))
self.pushButton_mean_filter.setText(_translate("Image_processing", "转换"))
self.pushButton_gaussian_filter.setText(_translate("Image_processing", "转换"))
self.pushButton_median_filter.setText(_translate("Image_processing", "转换"))
self.pushButton_ideal_low_pass_filter.setText(_translate("Image_processing", "转换"))
self.pushButton_band_stop_filter.setText(_translate("Image_processing", "转换"))
self.pushButton_add_gaussian_noise.setText(_translate("Image_processing", "转换"))
self.pushButton_add_poisson_noise.setText(_translate("Image_processing", "转换"))
self.pushButton_add_salt_and_pepper_noise.setText(_translate("Image_processing", "转换"))
self.pushButton_apply_erosion.setText(_translate("Image_processing", "腐蚀"))
self.pushButton_apply_dilation.setText(_translate("Image_processing", "膨胀"))
self.pushButton_log_edge_detection.setText(_translate("Image_processing", "LOG"))
self.pushButton_roberts_edge_detection.setText(_translate("Image_processing", "Roberts"))
self.pushButton_sobel_edge_detection.setText(_translate("Image_processing", "Sobel"))
self.pushButton_laplacian_edge_detection.setText(_translate("Image_processing", "laplacian"))
self.pushButton_canny_edge_detection.setText(_translate("Image_processing", "Canny"))
self.label_9.setText(_translate("Image_processing", "二值化"))
self.label_10.setText(_translate("Image_processing", "阈值"))
self.label_12.setText(_translate("Image_processing", "均值滤波"))
self.label_13.setText(_translate("Image_processing", "核大小"))
self.label_14.setText(_translate("Image_processing", "中值滤波"))
self.label_15.setText(_translate("Image_processing", "核大小"))
self.label_16.setText(_translate("Image_processing", "高斯滤波"))
self.label_17.setText(_translate("Image_processing", "核大小"))
self.label_18.setText(_translate("Image_processing", "椒盐噪声"))
self.label_19.setText(_translate("Image_processing", "比例:"))
self.label_20.setText(_translate("Image_processing", "高斯噪声"))
self.label_21.setText(_translate("Image_processing", "均值"))
self.label_22.setText(_translate("Image_processing", "方差"))
self.label_23.setText(_translate("Image_processing", "方差"))
self.label_24.setText(_translate("Image_processing", "均值"))
self.label_25.setText(_translate("Image_processing", "泊松噪声"))
self.label_26.setText(_translate("Image_processing", "理想_低通滤波"))
self.label_31.setText(_translate("Image_processing", "带阻滤波"))
self.pushButton_test.setText(_translate("Image_processing", "测试专用"))
self.label_33.setText(_translate("Image_processing", "带通滤波"))
self.label_34.setText(_translate("Image_processing", "阈值"))
self.label_36.setText(_translate("Image_processing", "阈值"))
self.label_37.setText(_translate("Image_processing", "阈值"))
self.label_11.setText(_translate("Image_processing", "直方图"))
self.label_38.setText(_translate("Image_processing", "二值化"))
self.label_39.setText(_translate("Image_processing", "图像压缩"))
self.pushButton_compress_image.setText(_translate("Image_processing", "转换"))
self.label_40.setText(_translate("Image_processing", "目标大小(kb)"))
self.label_41.setText(_translate("Image_processing", "直方变化"))
self.pushButton_hist_equ.setText(_translate("Image_processing", "转换"))
self.radioButton_pepper_for_add_salt_and_pepper_noise.setText(_translate("Image_processing", "椒(黑点)"))
self.radioButton_salt_for_add_salt_and_pepper_noise.setText(_translate("Image_processing", "盐(白点)"))
self.radioButton_salt_and_pepper_for_add_salt_and_pepper_noise.setText(_translate("Image_processing", "椒盐(随机)"))
self.label_44.setText(_translate("Image_processing", "hough线条变化预测"))
self.pushButton_hough.setText(_translate("Image_processing", "转化"))
self.label_43.setText(_translate("Image_processing", "形状"))
self.radioButton_rectangle_for_ideal_low_pass_filter.setText(_translate("Image_processing", "矩形"))
self.radioButton_circle_for_ideal_low_pass_filter.setText(_translate("Image_processing", "圆形"))
self.label_45.setText(_translate("Image_processing", "形状"))
self.radioButton_rectangle_for_ideal_high_pass_filter.setText(_translate("Image_processing", "矩形"))
self.radioButton_circle_for_ideal_high_pass_filter.setText(_translate("Image_processing", "圆形"))
self.pushButton_ideal_high_pass_filter.setText(_translate("Image_processing", "转换"))
self.label_27.setText(_translate("Image_processing", "理想_高通滤波"))
self.label_35.setText(_translate("Image_processing", "阈值"))
self.label_46.setText(_translate("Image_processing", "min"))
self.label_47.setText(_translate("Image_processing", "max"))
self.pushButton_band_pass_filter.setText(_translate("Image_processing", "转换"))
self.label_48.setText(_translate("Image_processing", "min"))
self.label_49.setText(_translate("Image_processing", "max"))
self.label_50.setText(_translate("Image_processing", "阶数"))
self.pushButton_butterworth_low_pass_filter.setText(_translate("Image_processing", "转换"))
self.label_28.setText(_translate("Image_processing", "巴特沃斯低通滤波 "))
self.label_51.setText(_translate("Image_processing", "阈值"))
self.pushButton_gaussian_low_pass_filter.setText(_translate("Image_processing", "转换"))
self.label_29.setText(_translate("Image_processing", "高斯低通滤波 "))
self.label_53.setText(_translate("Image_processing", "标准差"))
self.label_52.setText(_translate("Image_processing", "阶数"))
self.pushButton_butterworth_high_pass_filter.setText(_translate("Image_processing", "转换"))
self.label_30.setText(_translate("Image_processing", "巴特沃斯高通滤波 "))
self.label_54.setText(_translate("Image_processing", "阈值"))
self.pushButton_gaussian_high_pass_filter.setText(_translate("Image_processing", "转换"))
self.label_32.setText(_translate("Image_processing", "高斯高通滤波 "))
self.label_55.setText(_translate("Image_processing", "标准差"))
self.pushButton_close_image.setText(_translate("Image_processing", "关闭图片"))
self.pushButton_reset_image.setText(_translate("Image_processing", "重置图片"))
self.pushButton_undo_image.setText(_translate("Image_processing", "撤销图片"))
self.label_42.setText(_translate("Image_processing", "均衡化"))
self.label_56.setText(_translate("Image_processing", "正规化"))
self.pushButton_hist_equ_2.setText(_translate("Image_processing", "选择图片"))
self.radioButton_smaller.setText(_translate("Image_processing", "缩小"))
self.radioButton_bigger.setText(_translate("Image_processing", "放大"))
self.label_57.setText(_translate("Image_processing", "锐化"))
self.pushButton_apply_roberts.setText(_translate("Image_processing", "Roberts"))
self.pushButton_apply_sobel.setText(_translate("Image_processing", "Sobel"))
self.pushButton_apply_prewitt.setText(_translate("Image_processing", "Prewitt"))
self.pushButton_sobel_edge_detection_5.setText(_translate("Image_processing", "Laplacian"))
self.label_58.setText(_translate("Image_processing", "算数运算"))
self.label_59.setText(_translate("Image_processing", "加法运算"))
self.label_60.setText(_translate("Image_processing", "减法运算"))
self.label_61.setText(_translate("Image_processing", "乘法运算"))
self.label_62.setText(_translate("Image_processing", "放射变换"))
self.pushButton_add.setText(_translate("Image_processing", "选择目标图片"))
self.pushButton_minus.setText(_translate("Image_processing", "选择目标图片"))
self.pushButton_multi.setText(_translate("Image_processing", "选择目标图片"))
self.pushButton_complex_change.setText(_translate("Image_processing", "选择目标图片"))
self.label_63.setText(_translate("Image_processing", "实际应用"))
self.label_64.setText(_translate("Image_processing", "图像血管分割"))
self.pushButton_vessel_division.setText(_translate("Image_processing", "转换"))
self.label_65.setText(_translate("Image_processing", "图像修复"))
self.pushButton_repair_image.setText(_translate("Image_processing", "转换"))
self.label_66.setText(_translate("Image_processing", "亮度变换"))
self.pushButton_brightness_change.setText(_translate("Image_processing", "转换"))
self.label_67.setText(_translate("Image_processing", "亮度"))