http://idk.i2p/javadoc-i2p/com/google/zxing/qrcode/encoder/MaskUtil.html
If we
find patterns like 000010111010000, we give penalty once. applyMaskPenaltyRule4 static int applyMaskPenaltyRule4 ( ByteMatrix matrix) Apply mask penalty rule 4 and return the penalty. Calculate the ratio of dark cells and give
penalty if the ratio is far from 50%. It gives 10 penalty for 5% distance. getDataMaskBit static boolean getDataMaskBit (int maskPattern,
int x,
int y) Return the mask bit for "getMaskPattern" at "x" and "y".
1 similar result skipped