-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
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
python中原图片可视化转换 #69
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
原图片的64位深度无法直接使用常规的图片阅览器打开,python环境下转换为24位深度代码:
img_path = './BDCI2017-jiage-Semi/train/train1.png' img = cv2.imread(img_path, cv2.CV_64F) img = np.array(img, dtype=np.uint8) cv2.imwrite('./BDCI2017-jiage-Semi/train1.png', img)
The text was updated successfully, but these errors were encountered: