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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment