mirror() {
        const bitMatrix = this.bitMatrix;
        for (let x = 0, width = bitMatrix.getWidth(); x < width; x++) {
            for (let y = x + 1, height = bitMatrix.getHeight(); y < height; y++) {
                if (bitMatrix.get(x, y) !== bitMatrix.get(y, x)) {
                    bitMatrix.flip(y, x);
                    bitMatrix.flip(x, y);
                }
            }
        }
    }
/** Mirror the bit matrix in order to attempt a second reading. */
Mirror the bit matrix in order to attempt a second reading.
Mirror the bit matrix in order to attempt a second reading .
mirror() {
        const bitMatrix = this.bitMatrix;
        for (let x = 0, width = bitMatrix.getWidth(); x < width; x++) {
            for (let y = x + 1, height = bitMatrix.getHeight(); y < height; y++) {
                if (bitMatrix.get(x, y) !== bitMatrix.get(y, x)) {
                    bitMatrix.flip(y, x);
                    bitMatrix.flip(x, y);
                }
            }
        }
    }
mirror ( ) { const bitMatrix = this . bitMatrix ; for ( let x = 0 , width = bitMatrix . getWidth ( ) ; x < width ; x ++ ) { for ( let y = x + 1 , height = bitMatrix . getHeight ( ) ; y < height ; y ++ ) { if ( bitMatrix . get ( x , y ) !== bitMatrix . get ( y , x ) ) { bitMatrix . flip ( y , x ) ; bitMatrix . flip ( x , y ) ; } } } }
Mirror the bit matrix in order to attempt a second reading.
Mirror the bit matrix in order to attempt a second reading .