Ask Your Question

What data type OpenCV supports to display a picture ?

asked 2015-03-11 09:25:13 -0500

begueradj gravatar image

updated 2015-03-11 09:32:16 -0500

Let's read an RGB image using OpenCV (Python): img=cv2.imread('image.jpg')

When I run: print img.dtype I get uint8.


Does this mean that uint8 is the only data type supported by OpenCV to process images ? If no, what other types do exist and how can I move to them ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-03-11 09:50:54 -0500

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-03-11 09:25:13 -0500

Seen: 78 times

Last updated: Mar 11 '15