Using a DataBufferInt

I am trying to iterate through an image as quickly as possible. I have done some research and found that the closest I can get to the image data is using a DataBufferInt, but I was wondering if I iterate through this how can I get the point(x,y) of what the pixel would have been in the image? Or in other words, how can I go through the array and find a certain color in the image and then get the chords(x,y) of where it was?

[434 byte] By [ChromoXNHa] at [2007-11-15]