yathans
Results
2
issues of
yathans
In adjust_channel, if a pixel is 0, this is a division by 0: exponent = np.clip((mininum * normalized.astype(float) ** (-1)), 0, QuantumRange)
In function negative_inversion(...) , and in various other places: r_input, g_input, b_input = cv2.split(image_input) Per cv2 convention, when you read in an image and split, these are actually b, g,...