We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a problem in the code of blc operation(1_make_mixture_map.py), which will cause an exception: np.array([127]).astype(np.uint16)-128 --> 65535
so, the blc code of 1_make_mixture_map.py needs to be modified:
such as: img_1 = cv2.imread(src_path + singleimage + ".tiff", cv2.IMREAD_UNCHANGED) - BLACK_LEVEL modified: img_1 = np.clip(cv2.imread(src_path + singleimage + ".tiff", cv2.IMREAD_UNCHANGED).astype(np.int16) - BLACK_LEVEL, 0, SATURATION - BLACK_LEVEL)
The text was updated successfully, but these errors were encountered:
Hello, sorry for the late response. I'll fix this part soon. Thank you for pointing out!
Sorry, something went wrong.
No branches or pull requests
There is a problem in the code of blc operation(1_make_mixture_map.py), which will cause an exception:
np.array([127]).astype(np.uint16)-128 --> 65535
so, the blc code of 1_make_mixture_map.py needs to be modified:
such as:
img_1 = cv2.imread(src_path + singleimage + ".tiff", cv2.IMREAD_UNCHANGED) - BLACK_LEVEL
modified:
img_1 = np.clip(cv2.imread(src_path + singleimage + ".tiff", cv2.IMREAD_UNCHANGED).astype(np.int16) - BLACK_LEVEL, 0, SATURATION - BLACK_LEVEL)
The text was updated successfully, but these errors were encountered: