MaskUtil.applyMaskPenaltyRule1

Applies mask penalty rule 1 and returns the penalty.

Finds repetitive cells with the same color and gives penalty to them.

class MaskUtil
static
int
applyMaskPenaltyRule1

Examples

00000 or 11111.

@param ByteMatrix $matrix @return integer

Meta