Monday, July 27, 2009

I want to write a C++ program that uses arrays and info from a picture?

So the program is to read pixels from an image that is inputed


( I have inputed the picture already using argc and argv commands) and create a 256 bin histogram that stores the number of pixels level from 0....255. It says that the output of the program should look something like


" the total number of pixels is : some number;"


0 0


1 0


2 0


3 7


4 13


so this program uses arrays and reads the pixels from a pgm file. Can anyone help?

I want to write a C++ program that uses arrays and info from a picture?
What exactly is the problem you're having with your program?


No comments:

Post a Comment