static bool img_centralPixelSet(BWImage image) { int x = image.getWidth()/2, y = image.getHeight()/2; return image.getPixel(x, y) < 0.5f; }