static double averageBrightness(BufferedImage etc img) { ret new BWImage(img).averageBrightness(); }