meta-for BWIntegralImage also as IBWIntegralImage { static BufferedImage scaledGrayImageFromBWIntegralImage(int w, BWIntegralImage img) { ret scaledGrayImageFromBWIntegralImage(img, w); } static BufferedImage scaledGrayImageFromBWIntegralImage(BWIntegralImage img, int w, int h default heightForWidth(img, w)) { byte[] pixels = scaledGrayBytesFromBWIntegralImage(img, w, h); ret newGrayBufferedImage(w, h, pixels); } }