Kleine Anpassungen

This commit is contained in:
Max Sponsel 2020-09-21 10:58:20 +02:00
parent a206147edf
commit 1be205389b
3 changed files with 1 additions and 2 deletions

View File

@ -60,7 +60,7 @@ def showImage(img, rows, cols, kanaele, sim_faktor, sim_kind, sim_art):
T = tk.Text(SB.frame, height=1, width=15) T = tk.Text(SB.frame, height=1, width=15)
T.grid(columnspan=5) T.grid(columnspan=5)
print_string = sim_kind + ' ' + str(round(color_blindness.sim_faktor * 100)) + "%)" print_string = sim_kind + ' ' + str(round(color_blindness.sim_faktor * 100)) + "%"
T.insert('current', print_string) T.insert('current', print_string)
conv_SimulationPic = ImageTk.PhotoImage(image=PIL.Image.fromarray(color_blindness_mat)) conv_SimulationPic = ImageTk.PhotoImage(image=PIL.Image.fromarray(color_blindness_mat))

View File

@ -1,6 +1,5 @@
import numpy as np import numpy as np
import cv2 import cv2
import sys
def createGammaLookup(): def createGammaLookup():