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.
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.