Nearoptimal pitch of a moiré grating for image hiding applications in dynamic visual cryptography
Loreta Saunoriene^{1} , Sandra Aleksiene^{2} , Jurate Ragulskiene^{3}
^{1, 2, 3}Research Group for Mathematical and Numerical Analysis of Dynamical Systems, Kaunas University of Technology, Kaunas, Lithuania
^{1}Corresponding author
Vibroengineering PROCEDIA, Vol. 13, 2017, p. 266271.
https://doi.org/10.21595/vp.2017.19031
Received 30 August 2017; accepted 31 August 2017; published 26 September 2017
JVE Conferences
Dynamic visual cryptography is based on hiding of a dichotomous secret image in the regular moiré grating. One pitch of the moiré grating is used to represent the secret image and a slightly different pitch of another moiré grating is used to form the background. The secret is decoded in the form of a pattern of a timeaveraged moiré fringe when the cover image is oscillated according to a predefined law of motion. The security of the encoding and the sharpness of the decoded secret are mostly influenced by the selection of the pitches of moiré grating. This paper proposes scheme for the determination of nearoptimal pitches of the moiré grating for image hiding in dynamic visual cryptography.
Keywords: dynamic visual cryptography, harmonic oscillation, moiré grating.
1. Introduction
Visual cryptography (VC) is a special encryption technique used to hide visual information in a way that it can be decrypted purely by the human visual system and no computational techniques are required. First introduced by Moni Naor and Adi Shamir [1] in 1994, VC is based on the division of the original image into several semitransparent shares. Each share individually does not reveal the secret, but if all these shares are overlaid at the right position, a secret message appears [2]. Recently many advances have been done in visual cryptography: visual cryptography of graylevel and color images was introduced in [3]; probabilistic visual secret sharing scheme for greyscale and color images was presented in [4]; letterbased VC scheme where pixels are replaced by letters in the share images was proposed in [5], sharing of multiple secrets in visual cryptography was discussed in [6]; security of visual cryptography schemes was analysed in [79].
Geometric moiré is a classical optical experimental technique based on analysis of visual patterns formed as a superposition of two regular gratings that geometrically interfere [10, 11]. Geometric moiré techniques can be extended to timeaverage geometric moiré methods. If moiré grating is formed on the surface of oscillating structure and timeaveraging techniques are applied, pattern of timeaveraged fringes emerges [12].
The concept of dynamic visual cryptography was first introduced in [13]. This method is based not on static superposition of shares like in VC, but on the timeaveraging techniques applied for a single encoded image. The secret image is embedded into the moiré grating in such a way, that one pitch of the moiré grating is used to form the background of the secret image and a slightly different pitch of another moiré grating is used to represent the secret. Phase scrambling completely hides the secret and a naked eye cannot interpret the secret from the stationary cover image. The secret is decoded in a form of a pattern of timeaveraged moiré fringe when the cover image is oscillated according to a predefined law of motion. Furthermore, the amplitude of the harmonic oscillations must be set to a preselected value in order to leak the secret. The security of the encoding and the sharpness of the decoded secret are mostly influenced by the selection of the pitches of moiré grating. Pitches of the grating representing the secret image and the background cannot differ very significantly – otherwise, encoded secret could be seen by a naked eye in a static share. At the same time, the difference between the pitches should ensure the sufficient contrast between secret and background areas in timeaveraged image. This paper proposes scheme for the determination of nearoptimal pitch of the moiré grating for image hiding in dynamic visual cryptography.
2. Optical background
Onedimensional harmonic moiré grating reads [10, 11]:
where $x$ is the longitudinal coordinate, $\lambda $ is the pitch of the moiré grating. The numerical value 0 of function $F\left(x\right)$ corresponds to black color, 1 – to white color, all values between 0 and 1 correspond to the appropriate greyscale levels.
Let us suppose that the moiré grating (Eq. (1)) is formed on the surface of onedimensional nondeformable body and is harmonically oscillated around the state of equilibrium according to harmonic function: $a\cdot \mathrm{s}\mathrm{i}\mathrm{n}(\omega t+\phi )$, where $a$ is the amplitude of harmonic oscillations, $\omega $ is the frequency and $\phi $ is the phase. Then greyscale level of moiré grating at coordinate $x$ at time moment $t$ can be expressed [12]:
Greyscale level of timeaveraged geometric moiré can be obtained averaging Eq. (2) in time [12]:
where $T$ is the exposure time used for the timeaveraging, ${J}_{0}$ is the zero order Bessel function of the first kind. Note, that oscillation frequency $\omega $ and phase $\phi $ have no influence on the formation of timeaveraged image [11, 12]. Timeaveraged image becomes continuously grey at the roots of ${J}_{0}\left(\frac{2\pi}{\lambda}a\right)$:
where ${r}_{i}$ is the $i$th root of the zero order Bessel function of the first kind.
Fig. 1. Timeaveraged moiré at $\lambda =\text{0.75}$: a) onedimensional timeaveraged moiré in case of harmonic oscillations at increasing amplitudes $a$; b) standard deviation of timeaveraged moiré
It can be noted, that standard deviation of timeaveraged image, described by Eq. (3), is calculated as follows [14]:
Fig. 1(a) provides onedimensional timeaveraged moiré image at increasing amplitudes. It is clear that timeaveraged fringes form at amplitudes corresponding to the Eq. (4). Fig. 1(b) shows the variation of the standard deviation of the timeaveraged moiré at increasing amplitudes. Value of the standard deviation within the timeaveraged image depends on a blur level in timeaveraged moiré grating: sharp structure of the grating ensures sufficiently high standard deviation. Note that standard deviation is equal to zero at the centers of timeaveraged fringes.
3. Estimation of nearoptimal pitch of a moiré grating
The main idea of hiding a secret in the dynamic visual cryptography is to encode this secret image into moiré grating: one pitch of the moiré grating is used to form the background of the secret image and a slightly different pitch of another moiré grating is used to represent the secret. Let the pitch of the grating in the area of secret information be denoted ${\lambda}_{s}$, the pitch of the grating in the background – ${\lambda}_{b}$. Pitches of the grating ${\lambda}_{s}$ and ${\lambda}_{b}$ cannot differ very significantly $\left{\lambda}_{s}\mathrm{}{\lambda}_{b}\right\le \epsilon $, otherwise the encoded secret could be seen by a naked eye in a static share. Simultaneously, the difference between ${\lambda}_{s}$ and ${\lambda}_{b}$ should ensure the sufficient contrast between secret and background areas in timeaveraged image.
The secret information is leaked if only the cover image is oscillated harmonically. Secret appears as a uniformly grey area in timeaveraged image while background contains slightly blurred pattern of the cover image.
Let the standard deviations of the secret and background areas in timeaveraged image be denoted as ${\sigma}_{s}$ and ${\sigma}_{b}$ respectively. Values of ${\sigma}_{s}$ and ${\sigma}_{b}$ are calculated as [14]:
Sufficient contrast between the leaked secret and the background in the timeaveraged cover image is obtained if only $\left{\sigma}_{s}\mathrm{}{\sigma}_{b}\right\ge \delta $. The graphical representation of standard deviations ${\sigma}_{s}$ and ${\sigma}_{b}$ is proposed in Fig. 2.
Fig. 2. Variation of standard deviations of timeaveraged moiré. Thick solid line stands for standard deviation of the secret ${\sigma}_{s}$ at ${\lambda}_{s}=\text{0.45}$; thin solid and thin dashed lines represent standard deviations of the background ${\sigma}_{b1}$ and ${\sigma}_{b2}$ at ${\lambda}_{b1}=\text{0.7}$, ${\lambda}_{b2}=\text{0.35}$ accordingly
As it is mentioned in Eq. (4), the area of the secret information in timeaveraged image becomes uniformly grey if only the amplitude of oscillations $a$ is equal to $a={\frac{{\lambda}_{s}}{2\pi}r}_{i}$, $i=\mathrm{1,2},\dots $. It is clear that standard deviation of uniformly grey area is equal to 0, thus ${\sigma}_{s}=$0 if only the amplitude of oscillations is equal to ${\frac{{\lambda}_{s}}{2\pi}r}_{1}$. Therefore, the contrast between the secret and the background depends on the value of ${\sigma}_{b}$ only (note that distance AC in Fig. 2 is equal to ${\sigma}_{b1}{\sigma}_{s}={\sigma}_{b1}$ and distance AB is equal to ${\sigma}_{b2}{\sigma}_{s}={\sigma}_{b2}$ at the point where $\frac{2\pi}{{\lambda}_{s}}a={r}_{1}$).
Let us assume that the contrast of the leaked secret in timeaveraged cover image is sufficient, if standard deviation ${\sigma}_{b}$ is equal or exceeds threshold $\delta $:
whereas amplitude of oscillation is preset to $a=\frac{\lambda}{2\pi}{r}_{1}$, Eq. (7) yields:
The inequality Eq. (8) is visualized in Fig. 3 when ${\lambda}_{s}$ is fixed. Striped intervals on the graph show the intervals of ${\lambda}_{b}$ for which the inequality $\left{J}_{0}\left(\frac{{\lambda}_{s}}{{\lambda}_{b}}{r}_{1}\right)\right/\sqrt{8}\ge \delta $ holds true. Zeroes of the function ${J}_{0}\left(\frac{{\lambda}_{s}}{{\lambda}_{b}}{r}_{1}\right)$ are located at ${\lambda}_{b}={\lambda}_{s}\frac{{r}_{1}}{{r}_{i}}$, $i=\mathrm{1,2},\dots .$
Function ${J}_{0}\left(\frac{{\lambda}_{s}}{{\lambda}_{b}}{r}_{1}\right)$ can be approximated by its tangent in the root surrounding if the threshold $\delta $ is relatively small. It is known, that ${J}_{0}^{\text{'}}\left(x\right)={J}_{1}\left(x\right)$, where ${J}_{1}\left(x\right)$ is first order Bessel function of the first kind. Therefore, the slope of tangent line at point ${\lambda}_{b}={\lambda}_{s}$ is ${k}_{1}={J}_{0}\text{'}\left({r}_{1}\right)={\frac{{r}_{1}}{{\lambda}_{s}}J}_{1}\left({r}_{1}\right)$.
Analogously the slope at point ${\lambda}_{b}={\lambda}_{s}\frac{{r}_{1}}{{r}_{2}}$ reads ${k}_{2}={J}_{0}\text{'}\left({r}_{2}\right)={\frac{{r}_{2}^{2}}{{r}_{1}{\lambda}_{s}}J}_{1}\left({r}_{2}\right)$. Now ${\mathrm{\Delta}}_{i}$, $i=\mathrm{1,2},\dots $ (Fig. 3) can be approximated as ${\mathrm{\Delta}}_{i}=\frac{\delta}{{k}_{i}}.$
Fig. 3. Visualization of the inequality $\left{J}_{0}\left(\frac{{\lambda}_{s}}{{\lambda}_{b}}{r}_{1}\right)\right/\sqrt{8}\ge \delta $ in the interval $\left(0.2{\lambda}_{s};1.5{\lambda}_{s}\right).$ Thick solid line represents the variation of $\left{J}_{0}\left(\frac{{\lambda}_{s}}{{\lambda}_{b}}{r}_{1}\right)\right/\sqrt{8}$; tangents at points ${\lambda}_{s}$ and ${\lambda}_{s}\frac{{r}_{1}}{{r}_{2}}$ are displayed by thin lines
Finally, the approximate solution of inequality in Eq. (8) if $\delta $ is relatively small can be written as:
Computational solutions of inequality in Eq. (8) are presented in Fig. 4: all ${\lambda}_{b}$ located in the uniformly grey and striped grey areas fit the inequality at the predefined values of $\delta $. Black lines show the boundaries of the approximate solution in Eq. (9).
Fig. 4. Solutions of the inequality $\left{J}_{0}\left(\frac{{\lambda}_{s}}{{\lambda}_{b}}{r}_{1}\right)\right/\sqrt{8}\ge \delta $: grey color indicates areas where ${J}_{0}\left(\frac{{\lambda}_{s}}{{\lambda}_{b}}{r}_{1}\right)/\sqrt{8}\ge \delta $, striped grey areas – where ${J}_{0}\left(\frac{{\lambda}_{s}}{{\lambda}_{b}}{r}_{1}\right)/\sqrt{8}\le \delta $, black lines corresponds to the boundaries of the approximate solution in Eq. (9)
If we want to obtain sufficient predetermined contrast between secret and background areas (${\sigma}_{b}=\delta $), it would be optimal to choose such values ${\lambda}_{b}$ that lye on the contours of the grey and striped grey areas in Fig. 3, or, if $\delta $ is small, the approximate optimal solution is:
Note, that the difference between values ${\lambda}_{s}$ and ${\lambda}_{b}$ still should be small enough in order to ensure the safety of the visual encoding scheme.
4. Conclusions
The secure encryption and successful decryption of the secret information in dynamic visual cryptography is generally based on the correct determination of the moiré grating parameters. This paper proposes the graphical scheme as well as the approximate solutions for the preselection of the near optimal pitches of moiré grating. The pitch standing for the secret information should ensure uniformly grey secret area in the timeaveraged image (standard deviation of the area is equal to zero). The pitch of the background should guarantee high enough standard deviation in the timeaveraged background. Such nearoptimal pair of the pitches of moiré grating provides sufficient contrast of the decoded image and ensures that no secret information is visible in the static cover image.
References
 Naor M., Shamir A. Visual cryptography. Eurocrypt’94 Proceedings LNCS, Vol. 950, 1995, p. 112. [Publisher]
 Verheul E. R., Van Tilborg H. C. A. Constructions and properties of k out of n visual secret sharing schemes. Design Codes and Cryptography, Vol. 11, Issue 2, 1997, p. 179196. [Search CrossRef]
 Hou Young Chang Visual cryptography for color images. Pattern Recognition, Vol. 36, Issue 7, 2003, p. 16191629. [Search CrossRef]
 Wang Daoshun, Yi Feng, Li Xiaobo Probabilistic visual secret sharing schemes for greyscale images and color images. Information Sciences, Vol. 181, Issue 11, 2011, p. 21892208. [Search CrossRef]
 Lin Hsiao Ching, Yang Ching Nung, Laih Chi Sung, Lin Hui Tang Natural language letter based visual cryptography scheme. Journal of Visual Communication and Image Representation, Vol. 24, Issue 3, 2013, p. 318331. [Search CrossRef]
 Shyu Shyong Jian, Huang Shih Yu, Lee Yeuan Kuen, Wang Ran Zan, Sharing Kun Chen multiple secrets in visual cryptography. Pattern Recognition, Vol. 40, Issue 12, 2007, p. 36333651. [Search CrossRef]
 Horng Gwoboa, Chen Tzungher, Tsai Du Shiau Cheating in visual cryptography. Designs, Codes and Cryptography, Vol. 38, Issue 2, 2006, p. 219236. [Search CrossRef]
 Lin Pei Yu, Wang Ran Zan, Chang Yu Jie, Fang Wen Pinn Prevention of cheating in visual cryptography by using coherent patterns. Information Sciences, Vol. 301, 2015, p. 6174. [Search CrossRef]
 Bert Leung W., Felix Ng Y., Duncan Wong S. On the security of a visual cryptography scheme for color images. Pattern Recognition, Vol. 42, Issue 5, 2009, p. 929940. [Search CrossRef]
 Kobayashi A. S. Handbook on Experimental Mechanics. Second Edition, SEM, Bethel, 1993. [Search CrossRef]
 Patorski K., Kujawinska M. Handbook on the Moiré Fringe Technique. Elsevier, Amsterdam, 1993. [Search CrossRef]
 Ragulskis M., Ragulskis L., Maskeliunas R. Applicability of timeaverage geometric moiré for vibrating elastic structures. Experimental Techniques, Vol. 28, 2004, p. 2730. [Search CrossRef]
 Ragulskis M., Aleksa A. Image hiding based on timeaveraging moiré. Optics Communications, Vol. 282, Issue 14, 2009, p. 27522759. [Search CrossRef]
 Ragulskis M., Saunoriene L., Maskeliunas R. The structure of moiré grating lines and influence to timeaveraged fringes. Experimental Techniques, Vol. 33, Issue 2, 2009, p. 6064. [Search CrossRef]
Articles Citing this One
CENTRAL EUROPEAN SYMPOSIUM ON THERMOPHYSICS 2019 (CEST)
Loreta Saunoriene, Sandra Aleksiene, Vilma Petrauskiene, Jurate Ragulskiene

2019

Optical Engineering
Guangqing Lu, Loreta Saunoriene, Arvydas Gelzinis, Vilma Petrauskiene, Minvydas Ragulskis

2018

Journal of Vibroengineering
Loreta Saunoriene, Vilma Petrauskiene, Sandra Aleksiene, Jurate Ragulskiene

2018
