My issue appears to begin with the method int getPixel(). I know its an issue but I don't know why its an issue. Also, I can get the print function to work. I realize part of the problem with that is that getPixel isn't working. At one point I was successfully printing out the count of white pixels and one column of the image. But now, I have undone so much I can't even get back to that point. The output I am seeking and my code so far is below. Can you help me?
Get Free Quote!
436 Experts Online