Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import cv2
- img = cv2.imread("Rec-000026_16bit_counts.tif", cv2.IMREAD_UNCHANGED)
- cv2.imshow('image',img)
- cv2.waitKey(0)
- cv2.destroyAllWindows()
- ---------------------------------------------------------------------------
- error Traceback (most recent call last)
- <ipython-input-67-2756e499dadf> in <module>
- 1 import cv2
- 2 img = cv2.imread("Rec-000026_16bit_counts.tif", cv2.IMREAD_UNCHANGED)
- ----> 3 cv2.imshow('image',img)
- 4 cv2.waitKey(0)
- 5 cv2.destroyAllWindows()
- error: OpenCV(3.4.9) /io/opencv/modules/highgui/src/window.cpp:382: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement