Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I read in a bitmap file?

Status
Not open for further replies.

rnespeca

Technical User
Apr 5, 2000
1
0
0
US
Visit site
I am designing a C++ program to read in a scanned image of sheet music and interpret it. It needs to not only read in the black and white image, but also store it in an array in which the black pixels are 1's and the white ones are 0's. Bear in mind that I am not an expert programmer when you respond.<br><br>Thanks!
 
There is a class in MFC CBitmap.&nbsp;&nbsp;Using this class you can read a bitmap file. Now you've to know the width of each row and column. Then you need to do pattern recognition to check the symbol. For that you need to know the pixel colour and fetch into some data structure for eg, array etc.... <br><br>Siddhartha Singh<br><A HREF="mailto:ssingh@aztecsoft.com">ssingh@aztecsoft.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top