Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Jul 26, 2005
12
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