Friday, July 31, 2009

C++ code for counting number of pixels in an image?

If this is for a PictureBox,





pictureBox-%26gt;Size.Width;


pictureBox-%26gt;Size.Height;





Multiply those to get the total.

C++ code for counting number of pixels in an image?
Take a look at opencv


They are all kind of functions that can do what you want done real easy.


No comments:

Post a Comment