Example #1
0
File: Main.py Project: LPSYSY/DIP
def PictureCannySharpen():

    global photoNew
    photoNew = ImageTk.PhotoImage(utils.CV2PIL(tp.CannySharpen(img)))
    LabReplace = tk.Label(mainwindow, compound='center', image=photoNew)
    LabReplace.place(x=440, y=50)
Example #2
0
File: Main.py Project: LPSYSY/DIP
def PictureTwoFilter():

    global photoNew
    photoNew = ImageTk.PhotoImage(utils.CV2PIL(tp.TwoEdgesFilter(img)))
    LabReplace = tk.Label(mainwindow, compound='center', image=photoNew)
    LabReplace.place(x=440, y=50)