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 TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image Help needed

Status
Not open for further replies.

JohnKGH

Civil/Environmental
Joined
Jul 26, 2005
Messages
12
Location
US
Hey guys,

I have 2 questions, one is easy and one is hard. I have a bitmap image file thats in black and white. How can I invert the black colors into white colors and white colors into black colors?

My second questions is, I would like to scan the image with a nxn square where n is a user-defined parameter that moves pixel by pixel while summing the number of black squares within the square and displaying this result for each square until the entire bitmap image has been transversed by each square.

Thanks for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top