Research Article

Robust Visual Secret Sharing Scheme Applying to QR Code

Algorithm 1

Proposed robust VSS applying to QR codes.
Input: A binary secret QR code image ; different binary temporary QR code images ; different binary QR
code cover images ; the threshold parameters ; the error correction characteristics
Output:   grayscale shares
Generate grayscale shares by graying binary QR code images .
Averagely and randomly divide the serial of total codewords into subsets denoted as , and the number of
each set is , where .
Serial v of the codeword in the secret image S is denoted as , and the serial v of the codeword in the is denoted as .
  for   to   do
for each codeword v in   do
  if     then
Modify the codeword of binary QR code image as ;
  end if
(9)   end for
(10)   end for
  for   to   do
Replace the second significant bit plane of grayscale QR code image with the modified QR code image , and
replace the last six significant bit planes with random binary numbers to generate grayscale share .
  end for
Output grayscale shares .