| QR code is the most widespread 2D bar code in the world.It is a kind of information tag which can easily be accessed by taking a picture or scanning.A QR code can be decoded correctly even when part of the code was corrupted.This high fault-tolerant property makes QR code popular and widely applied in many commercial applications.In the conventional QR code,the modules are designated on an image by black and white square patterns,which can easily be identified by machines.However,noisy black and white patterns reveal no intuitive information about the QR code to viewers and would seriously degrade the aesthetic value of its carriers.Since QR code often occupies a non-ignored display area in print media,the QR code with visual appeal is becoming more and more popular.This work presents an algorithm that visually encode a QR code by synthesizing the conventional QR code with a theme image.The task is fulfilled by dividing the theme image into equal-sized non-overlapping blocks and modifying the average luminance of each block to its corresponding module type in the QR code by applying the well-designed Gaussian modulating function.In addition,the size of the module’s brightness sensing region can be adjusted according to application scenarios and the sensitivity of the human eye to different noises.In the experimental stage,visually meaningful QR codes are synthesized by setting different parameters,and their correct decoding rate is tested.The optimal parameters are determined to ensure the decoding reliability and make the QR code more easily recognizable for humans.Compared with a similar method of synthesizing visual QR codes in literature,the proposed method exhibits good performance both in visual quality and decoding reliability.The algorithm meets the QR code standard,is compatible with any decoding system,can be integrated into corporate identification system,improve the acceptance,and can be used in marketing,advertising and other aspects. |