diff --git a/Code/Farbaenderung.py b/Code/Farbaenderung.py index 012ab2d..cfc00f5 100644 --- a/Code/Farbaenderung.py +++ b/Code/Farbaenderung.py @@ -14,7 +14,7 @@ def reverseGammaCorrection(v_reverse): return round(255 * (12.92 * abs(v_reverse))) elif abs(v_reverse) > 0.0031308: if (round(255 * (1.055 * abs(v_reverse) ** 0.41666 - 0.055))) > 255: - return 255 + return 255 - (round(255 * (1.055 * abs(v_reverse) ** 0.41666 - 0.055))- 255) else: return round(255 * (1.055 * abs(v_reverse) ** 0.41666 - 0.055)) diff --git a/Code/__pycache__/Farbaenderung.cpython-38.pyc b/Code/__pycache__/Farbaenderung.cpython-38.pyc index 648fc62..3dfd5d3 100644 Binary files a/Code/__pycache__/Farbaenderung.cpython-38.pyc and b/Code/__pycache__/Farbaenderung.cpython-38.pyc differ