Ask Your Question
0

How we can count number of pixels in an image?

asked 2018-09-17 06:40:49 -0600

abdur-rehman gravatar image

I am trying to count number of pixels in an RGB image using OpenCV.

edit retag flag offensive close merge delete

Comments

seriously ?

berak gravatar imageberak ( 2018-09-17 08:05:51 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-09-17 06:58:36 -0600

GXY gravatar image

Just calculate "img.cols*img.rows" doesn't work ?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-09-17 06:40:49 -0600

Seen: 135 times

Last updated: Sep 17 '18