// Cubed distance from black 2.5 + min", static BWImage chessOCR_piecePreprocessingForFillGrade_2(BufferedImage img) { ret bwImageTo2Bit(0.75f, img_cubedDistanceFromColor_withGain(rgbBlack(), 3.0, img)); }