Near-optimal pitch of a moiré grating for image hiding applications in dynamic visual cryptography
Loreta Saunoriene1 , Sandra Aleksiene2 , Jurate Ragulskiene3
1, 2, 3Research Group for Mathematical and Numerical Analysis of Dynamical Systems, Kaunas University of Technology, Kaunas, Lithuania
Vibroengineering PROCEDIA, Vol. 13, 2017, p. 266-271.
Received 30 August 2017; accepted 31 August 2017; published 26 September 2017
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 time-averaged 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 near-optimal pitches of the moiré grating for image hiding in dynamic visual cryptography.
Keywords: dynamic visual cryptography, harmonic oscillation, moiré grating.
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  in 1994, VC is based on the division of the original image into several semi-transparent shares. Each share individually does not reveal the secret, but if all these shares are overlaid at the right position, a secret message appears . Recently many advances have been done in visual cryptography: visual cryptography of gray-level and color images was introduced in ; probabilistic visual secret sharing scheme for grey-scale and color images was presented in ; letter-based VC scheme where pixels are replaced by letters in the share images was proposed in , sharing of multiple secrets in visual cryptography was discussed in ; security of visual cryptography schemes was analysed in [7-9].
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 time-average geometric moiré methods. If moiré grating is formed on the surface of oscillating structure and time-averaging techniques are applied, pattern of time-averaged fringes emerges .
The concept of dynamic visual cryptography was first introduced in . This method is based not on static superposition of shares like in VC, but on the time-averaging 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 time-averaged 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 time-averaged image. This paper proposes scheme for the determination of near-optimal pitch of the moiré grating for image hiding in dynamic visual cryptography.
2. Optical background
One-dimensional harmonic moiré grating reads [10, 11]:
where is the longitudinal coordinate, is the pitch of the moiré grating. The numerical value 0 of function 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 one-dimensional non-deformable body and is harmonically oscillated around the state of equilibrium according to harmonic function: , where is the amplitude of harmonic oscillations, is the frequency and is the phase. Then grey-scale level of moiré grating at coordinate at time moment can be expressed :
Greyscale level of time-averaged geometric moiré can be obtained averaging Eq. (2) in time :
where is the exposure time used for the time-averaging, is the zero order Bessel function of the first kind. Note, that oscillation frequency and phase have no influence on the formation of time-averaged image [11, 12]. Time-averaged image becomes continuously grey at the roots of :
where is the th root of the zero order Bessel function of the first kind.
Fig. 1. Time-averaged moiré at : a) one-dimensional time-averaged moiré in case of harmonic oscillations at increasing amplitudes ; b) standard deviation of time-averaged moiré
It can be noted, that standard deviation of time-averaged image, described by Eq. (3), is calculated as follows :
Fig. 1(a) provides one-dimensional time-averaged moiré image at increasing amplitudes. It is clear that time-averaged fringes form at amplitudes corresponding to the Eq. (4). Fig. 1(b) shows the variation of the standard deviation of the time-averaged moiré at increasing amplitudes. Value of the standard deviation within the time-averaged image depends on a blur level in time-averaged moiré grating: sharp structure of the grating ensures sufficiently high standard deviation. Note that standard deviation is equal to zero at the centers of time-averaged fringes.
3. Estimation of near-optimal 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 , the pitch of the grating in the background – . Pitches of the grating and cannot differ very significantly , otherwise the encoded secret could be seen by a naked eye in a static share. Simultaneously, the difference between and should ensure the sufficient contrast between secret and background areas in time-averaged image.
The secret information is leaked if only the cover image is oscillated harmonically. Secret appears as a uniformly grey area in time-averaged image while background contains slightly blurred pattern of the cover image.
Let the standard deviations of the secret and background areas in time-averaged image be denoted as and respectively. Values of and are calculated as :
Sufficient contrast between the leaked secret and the background in the time-averaged cover image is obtained if only . The graphical representation of standard deviations and is proposed in Fig. 2.
Fig. 2. Variation of standard deviations of time-averaged moiré. Thick solid line stands for standard deviation of the secret at ; thin solid and thin dashed lines represent standard deviations of the background and at , accordingly
As it is mentioned in Eq. (4), the area of the secret information in time-averaged image becomes uniformly grey if only the amplitude of oscillations is equal to , . It is clear that standard deviation of uniformly grey area is equal to 0, thus 0 if only the amplitude of oscillations is equal to . Therefore, the contrast between the secret and the background depends on the value of only (note that distance AC in Fig. 2 is equal to and distance AB is equal to at the point where ).
Let us assume that the contrast of the leaked secret in time-averaged cover image is sufficient, if standard deviation is equal or exceeds threshold :
whereas amplitude of oscillation is preset to , Eq. (7) yields:
The inequality Eq. (8) is visualized in Fig. 3 when is fixed. Striped intervals on the graph show the intervals of for which the inequality holds true. Zeroes of the function are located at ,
Function can be approximated by its tangent in the root surrounding if the threshold is relatively small. It is known, that , where is first order Bessel function of the first kind. Therefore, the slope of tangent line at point is .
Analogously the slope at point reads . Now , (Fig. 3) can be approximated as
Fig. 3. Visualization of the inequality in the interval Thick solid line represents the variation of ; tangents at points and are displayed by thin lines
Finally, the approximate solution of inequality in Eq. (8) if is relatively small can be written as:
Computational solutions of inequality in Eq. (8) are presented in Fig. 4: all located in the uniformly grey and striped grey areas fit the inequality at the predefined values of . Black lines show the boundaries of the approximate solution in Eq. (9).
Fig. 4. Solutions of the inequality : grey color indicates areas where , striped grey areas – where , 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 (), it would be optimal to choose such values that lye on the contours of the grey and striped grey areas in Fig. 3, or, if is small, the approximate optimal solution is:
Note, that the difference between values and still should be small enough in order to ensure the safety of the visual encoding scheme.
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 time-averaged image (standard deviation of the area is equal to zero). The pitch of the background should guarantee high enough standard deviation in the time-averaged background. Such near-optimal 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.
- Naor M., Shamir A. Visual cryptography. Eurocrypt’94 Proceedings LNCS, Vol. 950, 1995, p. 1-12. [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. 179-196. [Search CrossRef]
- Hou Young Chang Visual cryptography for color images. Pattern Recognition, Vol. 36, Issue 7, 2003, p. 1619-1629. [Search CrossRef]
- Wang Daoshun, Yi Feng, Li Xiaobo Probabilistic visual secret sharing schemes for grey-scale images and color images. Information Sciences, Vol. 181, Issue 11, 2011, p. 2189-2208. [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. 318-331. [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. 3633-3651. [Search CrossRef]
- Horng Gwoboa, Chen Tzungher, Tsai Du Shiau Cheating in visual cryptography. Designs, Codes and Cryptography, Vol. 38, Issue 2, 2006, p. 219-236. [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. 61-74. [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. 929-940. [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 time-average geometric moiré for vibrating elastic structures. Experimental Techniques, Vol. 28, 2004, p. 27-30. [Search CrossRef]
- Ragulskis M., Aleksa A. Image hiding based on time-averaging moiré. Optics Communications, Vol. 282, Issue 14, 2009, p. 2752-2759. [Search CrossRef]
- Ragulskis M., Saunoriene L., Maskeliunas R. The structure of moiré grating lines and influence to time-averaged fringes. Experimental Techniques, Vol. 33, Issue 2, 2009, p. 60-64. [Search CrossRef]
CENTRAL EUROPEAN SYMPOSIUM ON THERMOPHYSICS 2019 (CEST)Loreta Saunoriene, Sandra Aleksiene, Vilma Petrauskiene, Jurate Ragulskiene
Optical EngineeringGuangqing Lu, Loreta Saunoriene, Arvydas Gelzinis, Vilma Petrauskiene, Minvydas Ragulskis
Journal of VibroengineeringLoreta Saunoriene, Vilma Petrauskiene, Sandra Aleksiene, Jurate Ragulskiene