final class MaskUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
(package private) static int | applyMaskPenaltyRule1(ByteMatrix matrix)Apply mask penalty rule 1 and return the penalty. |
(package private) static int | applyMaskPenaltyRule2(ByteMatrix matrix)Apply mask penalty rule 2 and return the penalty. |
(package private) static int | applyMaskPenaltyRule3(ByteMatrix matrix)Apply mask penalty rule 3 and return the penalty. |
(package private) static int | applyMaskPenaltyRule4(ByteMatrix matrix)Apply mask penalty rule 4 and return the penalty. |
(package private) static boolean | getDataMaskBit(int maskPattern,
int x,
int y)Return the mask bit for "getMaskPattern" at "x" and "y". |
static int applyMaskPenaltyRule1(ByteMatrix matrix)
matrix - the byte matrixstatic int applyMaskPenaltyRule2(ByteMatrix matrix)
matrix - the byte matrixstatic int applyMaskPenaltyRule3(ByteMatrix matrix)
matrix - the byte matrixstatic int applyMaskPenaltyRule4(ByteMatrix matrix)
matrix - the byte matrixstatic boolean getDataMaskBit(int maskPattern,
int x,
int y)maskPattern - the mask patternx - the x coordinatey - the y coordinate