\Zxing\Qrcode\DecoderDataMask

<p>Encapsulates data masks for the data bits in a QR code, per ISO 18004:2006 6.8. Implementations of this class can un-mask a raw BitMatrix. For simplicity, they will unmask the entire BitMatrix, including areas used for finder patterns, timing patterns, etc. These areas should be unused after the point they are unmasked anyway.</p>

Note that the diagram in section 6.8.1 is misleading since it indicates that i is column position and j is row position. In fact, as the text says, i is row position and j is column position.

Summary

Methods
Properties
Constants
__construct()
Init()
forReference()
unmaskBitMatrix()
isMasked()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$DATA_MASKS
N/A

Properties

$DATA_MASKS

$DATA_MASKS : 

See ISO 18004:2006 6.8.1

Type

Methods

__construct()

__construct() 

Init()

Init() 

forReference()

forReference(  $reference) : \Zxing\Qrcode\Decoder\DataMask

Parameters

$reference

Returns

\Zxing\Qrcode\Decoder\DataMask

encapsulating the data mask pattern

unmaskBitMatrix()

unmaskBitMatrix(  $bits,   $dimension) 

<p>Implementations of this method reverse the data masking process applied to a QR Code and make its bits ready to read.</p>

Parameters

$bits
$dimension

isMasked()

isMasked(  $i,   $j) 

Parameters

$i
$j