while (i < maxI && image[centerJ +i*qrcode.width])
            {
                stateCount[2]++;
                i++;
            }