Next Article in Journal / Special Issue
Biofunctionalized Polyelectrolyte Microcapsules Encoded with Fluorescent Semiconductor Nanocrystals for Highly Specific Targeting and Imaging of Cancer Cells
Previous Article in Journal / Special Issue
Optical Image Encryption Using a Nonlinear Joint Transform Correlator and the Collins Diffraction Transform
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optical Image Encryption System Using Several Tilted Planes

by
Juan M. Vilardy O.
1,*,
Carlos J. Jimenez
1 and
Cesar O. Torres M.
2
1
Grupo de Investigación en Física del Estado Sólido (GIFES), Faculty of Basic and Applied Sciences, Universidad de La Guajira, Riohacha (La Guajira) 440007, Colombia
2
Grupo de óptica e informática, Department of electronic engineering, Universidad Popular del Cesar, Valledupar (Cesar) 200001, Colombia
*
Author to whom correspondence should be addressed.
Photonics 2019, 6(4), 116; https://doi.org/10.3390/photonics6040116
Submission received: 25 September 2019 / Revised: 25 October 2019 / Accepted: 28 October 2019 / Published: 7 November 2019

Abstract

:
A well-known technique for optical image encryption is the double random phase encoding (DRPE) technique, which uses two random phase masks (RPMs), one RPM at the input plane of the encryption system and the other RPM at the Fourier plane of the optical system, in order to obtain the encrypted image. In this work, we propose to use tilted planes for the Fourier and the output planes of the optical DRPE encryption system with the purpose of adding two new security keys, which are the angles of the tilted planes. The optical diffraction on a tilted plane is computed using the angular spectrum of plane waves and the coordinate rotation in the Fourier domain. The tilted distributions at the intermediate and output planes of the optical DRPE encryption system are the second RPM and the encrypted image, respectively. The angles of the tilted planes allow improvement to the security of the encrypted image. We perform several numerical simulations with the purpose of demonstrating the validity and feasibility of the proposed image encryption system.

1. Introduction

The double random phase encoding (DRPE) technique is a very important technique for optical image encryption [1,2,3,4,5]. Initially, the DRPE technique was optically implemented using a 4f-processor in the Fourier domain [6]. Later, the DRPE was extended to the Fresnel [7,8] and the fractional Fourier domains [9], to increase the security level of the encryption and decryption systems.
We propose to use tilted planes for the optical DRPE technique in the Fresnel domain, with the purpose of encrypting and decrypting images. The proposed tilted planes for the optical DRPE encryption system are the intermediate and output planes. The tilted planes contain the second RPM used in the DRPE technique and the encrypted image, respectively. The use of the tilted planes for the optical DRPE technique allows to introduction of new security keys, given by the two tilt angles. The proposed DRPE encryption system of this work uses the free optical propagation on tilted planes and this propagation is computed by using the angular spectrum of plane waves and the coordinate rotation in the Fourier domain [10]. The two tilt angles and the propagations distances are security keys that permit improvements to the security of the encrypted image. The proposed security system is verified by using numerical simulations of the encryption and decryption systems.

2. Optical Diffraction on Tilted Planes

We use the technique based on the angular spectrum of plane waves and coordinate rotation in the Fourier domain described in reference [10] in order to compute the optical diffraction on tilted planes. Let g ( x , y ) and G ( u , v ) be a source field and its spectrum, in the source plane; the coordinates of the source plane are denoted by x and y. The distance between the source plane and the reference plane is d > 0 and the optical propagation of the source field is along the z axis. Let G d ( u , v ) be the source spectrum in an intermediate plane or reference plane, which is parallel to the source plane, and that its coordinates share the origin with the reference coordinates; the coordinates of the reference plane are represented by x and y = y ^ . Figure 1 shows the optical scheme for the diffraction on a tilted plane where the coordinates of the observation plane are denoted by x ^ and y ^ . Using the standard formula of the angular spectrum of plane waves [6], we can obtain
G d ( u , v ) = G ( u , v ) exp i 2 π d λ 2 u 2 v 2 1 / 2 ,
where u and v are the spatial frequency coordinates and λ is the wavelength. The rotation matrix T can be used to transform the reference coordinates into the observation coordinates. Therefore, the wave vectors of these coordinates can also be transformed into each other by
k ^ = T k , k = T 1 k ^ ,
with
k ^ = 2 π u ^ v ^ w ^ ( u ^ , v ^ ) , w ^ ( u ^ , v ^ ) = λ 2 u ^ 2 v ^ 2 1 / 2 , k = 2 π u v w ( u , v ) , w ( u , v ) = λ 2 u 2 v 2 1 / 2 , T 1 = a 1 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9 ,
where 2 π w ( u , v ) represents the component in z direction of the wave vector. The spatial frequency coordinates ( u , v ) and ( u ^ , v ^ ) are related to the source spectrum in the reference (without tilt) and observation (with tilt) planes, respectively. The rotation matrices T 1 that produce a tilted plane for Figure 1 are
T x 1 ( θ x ) = 1 0 1 0 cos θ x sin θ x 0 sin θ x cos θ x , T y 1 ( θ y ) = cos θ y 0 sin θ y 0 1 0 sin θ y 0 cos θ y ,
where the rotation matrix T x 1 ( θ x ) is a rotation around the x axis, which produces a tilted plane with respect to the y axis and the rotation matrix T y 1 ( θ y ) is a rotation around the y axis and this produces a tilted plane with respect to the x axis. The tilted plane of Figure 1 is described by the rotation matrix T y 1 ( θ y ) .
The Fourier frequencies in the reference coordinates are related to those in the observation coordinates in the following form
u = α ( u ^ , v ^ ) = a 1 u ^ + a 2 v ^ + a 3 w ^ ( u ^ , v ^ ) , v = β ( u ^ , v ^ ) = a 4 u ^ + a 5 v ^ + a 6 w ^ ( u ^ , v ^ ) .
The spectrum in the observation coordinate is given by the spectrum in the reference coordinate according to
F ( u ^ , v ^ ) = G d ( α ( u ^ , v ^ ) , β ( u ^ , v ^ ) ) .
The complex amplitudes of the field in the observation coordinates with the same energy as the complex amplitudes of the field in the reference coordinates are given by
f ( x ^ , y ^ ) = + + F ( u ^ , v ^ ) | J ( u ^ , v ^ ) | exp { i 2 π ( x ^ u ^ + y ^ v ^ ) } d u ^ d v ^ = F 1 F ( u ^ , v ^ ) | J ( u ^ , v ^ ) | ,
where the Jacobian is
J ( u ^ , v ^ ) = α u ^ β v ^ α v ^ β u ^ = 1 w ^ ( u ^ , v ^ ) ( a 2 a 6 a 3 a 5 ) u ^ + ( a 3 a 4 a 1 a 6 ) v ^ + ( a 1 a 5 a 2 a 4 ) .

3. DRPE Using Tilted Plane: Optical Image Encryption and Decryption Systems

The DRPE technique uses two RPMs in order to encrypt the information of the original image f ( x 1 , y 1 ) ; the values of f ( x 1 , y 1 ) are in the interval of [0, 1]. The two RPMs are represented by
r ( x 1 , y 1 ) = exp { i 2 π s ( x 1 , y 1 ) } , h ( x 2 , y 2 ) = exp { i 2 π n ( x 2 , y 2 ) } ,
where x 1 , y 1 , x 2 and y 2 are spatial coordinates, s ( x 1 , y 1 ) and n ( x 2 , y 2 ) are normalized positive function generated randomly, independent statistically and their values are uniformly distributed in the interval of [0, 1] [1]. Figure 2 depicts the optical scheme based on the DRPE technique and the optical diffraction on two tilted planes.
The distribution t ( x 1 , y 1 ) of the input plane of the encryption system of Figure 2 is composed by the original image f ( x 1 , y 1 ) to encrypt placed against the RPM r ( x 1 , y 1 )
t ( x 1 , y 1 ) = f ( x 1 , y 1 ) r ( x 1 , y 1 ) = f ( x 1 , y 1 ) exp { i 2 π s ( x 1 , y 1 ) } .
The optical diffraction of the distribution t ( x 1 , y 1 ) on the tilted plane placed at the distance d 1 with respect to the input plane of the encryption system is given by the distribution p ( x 2 , y 2 ) and it is computed using the procedure described in Section 2. We use the following parameters and functions to compute p ( x 2 , y 2 )
T d 1 ( u , v ) = F t ( x 1 , y 1 ) exp i 2 π d 1 λ 2 u 2 v 2 1 / 2 ,
T y 1 ( θ y ) = cos θ y 0 sin θ y 0 1 0 sin θ y 0 cos θ y ,
u = α ( u ^ , v ^ ) = u ^ cos θ y + w ^ ( u ^ , v ^ ) sin θ y , v = β ( u ^ , v ^ ) = v ^ , w ^ ( u ^ , v ^ ) = λ 2 u ^ 2 v ^ 2 1 / 2 ,
P ( u ^ , v ^ ) = T d ( α ( u ^ , v ^ ) , β ( u ^ , v ^ ) ) = T d ( u ^ cos θ y + w ^ ( u ^ , v ^ ) sin θ y , v ^ ) ,
p ( x 2 , y 2 ) = + + P ( u ^ , v ^ ) | J ( u ^ , v ^ ) | exp { i 2 π ( x 2 u ^ + y 2 v ^ ) } d u ^ d v ^ = F 1 P ( u ^ , v ^ ) | J ( u ^ , v ^ ) | ,
J ( u ^ , v ^ ) = cos θ y sin θ y w ^ ( u ^ , v ^ ) u ^ .
The RPM h ( x 2 , y 2 ) is multiplied by the image p ( x 2 , y 2 ) with the purpose of obtaining the intermediate distribution q ( x 2 , y 2 ) = h ( x 2 , y 2 ) p ( x 2 , y 2 ) . The image q ( x 2 , y 2 ) is optically tilted to the intermediate plane of the encryption system and the resulting image is the input for the second optical diffraction on the tilted plane placed at the distance d 2 with respect to the intermediate plane, which corresponds to the output plane of the encryption system. We apply again the approach described in Section 2 using the optically tilted distribution obtained from q ( x 2 , y 2 ) , the propagation distance d 2 and the rotation matrix T y 1 ( φ y ) , in order to compute the encrypted image e ( x 3 , y 3 ) .
The RPM h ( x 2 , y 2 ) , the propagation distances d 1 and d 2 , and the angles of the tilted planes θ y and φ y , are the security keys of the encryption system and the RPM r ( x 1 , y 1 ) is used to spread the information content of the original image f ( x 1 , y 1 ) onto the encrypted image e ( x 3 , y 3 ) [1]. When the angles of the tilted planes are equal to θ y = 0 and φ y = 0 , the proposed encryption system in this work is reduced to the DRPE encryption system in the Fresnel domain [8].
The decryption system is performed by digital computations and it is computed in the reverse order of the encryption system using the encrypted image e ( x 3 , y 3 ) and the method presented in Section 2 along with the following five security keys: the complex conjugated of the RPM h ( x 2 , y 2 ) , the propagation distances d 1 and d 2 , and the two angles θ y and φ y . For the decryption system, the input and intermediate planes are tilted at an angle of φ y and θ y , respectively. The output plane of the decryption system is not tilted.
A second rotation around the x axis ( θ x or φ x for the intermediate and output planes of the encryption system, respectively) produces a tilted plane with respect to the y axis and the method of Section 2 can be used in order to obtain the optical diffraction over the final tilted plane. The two new tilt angles θ x and φ x can be considered to be new security keys of the proposed encryption and decryption systems.
The results of the numerical simulations for the security system proposed in this section are shown in Figure 3. The original image f ( x 1 , y 1 ) to encrypt and the random code image s ( x 1 , y 1 ) of the RPM r ( x 1 , y 1 ) are depicted in Figure 3a,b, respectively. The random code image n ( x 2 , y 2 ) of the RPM h ( x 2 , y 2 ) has different values but the same appearance of the image shown in Figure 3b. The encrypted image e ( x 3 , y 3 ) is presented in Figure 3c for the security keys: d 1 = 200 mm, d 2 = 300 mm, θ y = 14 . 5 , φ y = 12 . 7 and the RPM h ( x 2 , y 2 ) . This encrypted image is a noisy pattern that does not reveal any information of the original image f ( x 1 , y 1 ) . When the decryption system is performed using the encrypted image e ( x 3 , y 3 ) and the five correct security keys ( d 1 , d 2 , θ y , φ y and h ( x 2 , y 2 ) ), the original image f ( x 1 , y 1 ) is retrieved at the output plane of the decryption system. The decrypted image f ˜ ( x 1 , y 1 ) is depicted in Figure 3d. We use the metric of the root mean square error (RMSE) between the decrypted images f ˜ ( x 1 , y 1 ) and the original image f ( x 1 , y 1 )
RMSE = x 1 = 1 M y 1 = 1 N [ f ( x 1 , y 1 ) f ˜ ( x , y ) ] 2 x 1 = 1 M y 1 = 1 N [ f ( x 1 , y 1 ) ] 2 1 2 ,
with the purpose of evaluating the image quality of the decrypted images. The values of the RMSE metric to evaluate the image quality are values between 0 and 1; when the value of the RMSE is near or equal to 0, the image quality of the decrypted image is very good while the values of the RMSE near or equal to 1 represent a worse image quality of the decrypted image. The RMSE between the original image of Figure 3a and the decrypted image of Figure 3d is 0 . 027 .
The noisy images presented in Figure 3e,f correspond to the decrypted images when the wrong tilt angle θ y = 14 . 4 or φ y = 12 . 8 are used in the decryption system, respectively. If the RPM h ( x 2 , y 2 ) is wrong in the decryption system, the decrypted image obtained will be similar to the image shown in Figure 3e. The values of the RMSEs between the original image of Figure 3a and the decrypted images of Figure 3e,f are 0 . 91 and 0 . 87 , respectively. When we use the correct values of the all five security keys in the decryption system, the properly retrieval of the original image at the output plane of the decryption system is possible.
We evaluate the sensitivity on the tilt angles θ y and φ y for the decrypted images by introducing small errors in these and leaving fixed the other three security keys ( d 1 , d 2 and h ( x 2 , y 2 ) ) with their correct values in the decryption system. The RMSEs between the original image and the decrypted images are computed to measure the level of protection on the encrypted image. For this deviation test of the tilt angles on their correct values for the decryption process, it is introduced a small error that varies between 1 × 10 5 and 1 × 10 5 and then, for each variation is calculated the RMSE. We use the right value for the tilt angle φ y when a small error is introduced for the tilt angle θ y , and vice versa. From these numerical simulations, it was found that the tilt angles φ y and θ y are sensitive to a variation of 1 × 10 4 and 1 × 10 3 . 5 , respectively. The tilt angle φ y is more sensitive than the tilt angle θ y , because the first optical diffraction in the decryption system is from the tilted plane with a tilt angle φ y .

4. Conclusions

We have proposed a new version of the DRPE encryption and decryption system using the optical diffraction on two tilted planes. The new security keys given by the angles of the tilted planes, permits increase in the security of the encrypted image. The security of the presented system was also increased due to the nonlinearity introduced by the tilt of the intermediate and output planes of the proposed encryption system. The encryption and decryption systems have five security keys represented by two propagation distances, two tilt angles, and one RPM. All these security keys allow improvement to the security of the encrypted image against to the brute force and plaintext attacks. Finally, the retrieval of the original image at the output plane of the decryption system is only possible when the values of the five security keys for the decryption system are the same that were used in the encryption system.

Author Contributions

The work described in this article is the collaborative development of all authors. Conceptualization, J.M.V.O., C.J.J. and C.O.T.M.; Methodology, J.M.V.O., C.J.J. and C.O.T.M.; Software, J.M.V.O. and C.J.J.; Validation, C.O.T.M.; Investigation, J.M.V.O., C.J.J. and C.O.T.M.; Writing—original draft preparation, J.M.V.O. and C.J.J.; Writing—review and editing, J.M.V.O. and C.O.T.M.; Supervision, C.O.T.M.

Funding

This research has been funded by the Universidad de La Guajira (Riohacha) and the Universidad Popular del Cesar from Valledupar (Cesar).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Réfrégier, P.; Javidi, B. Optical image encryption based on input plane and Fourier plane random encoding. Opt. Lett. 1995, 20, 767–769. [Google Scholar] [CrossRef] [PubMed]
  2. Javidi, B.; Carnicer, A.; Yamaguchi, M.; Nomura, T.; Pérez-Cabré, E.; Millán, M.; Nishchal, N.; Torroba, R.; Barrera, J.; He, W.; et al. Roadmap on optical security. J. Opt. 2016, 18, 083001. [Google Scholar] [CrossRef]
  3. Chen, W.; Javidi, B.; Chen, X. Advances in optical security systems. Adv. Opt. Photonics 2014, 6, 120–155. [Google Scholar] [CrossRef]
  4. Millán, M.S.; Pérez-Cabré, E. Optical data encryption. In Optical and Digital Image Processing: Fundamentals and Applications; Cristóbal, G., Schelkens, P., Thienpont, H., Eds.; Wiley-VCH Verlag GmbH & Co.: Hoboken, NJ, USA, 2011; pp. 739–767. [Google Scholar]
  5. Millán, M.S.; Pérez-Cabré, E.; Vilardy, J.M. Nonlinear techniques for secure optical encryption and multifactor authentication. In Advanced Secure Optical Image Processing for Communications; Al Falou, A., Ed.; IOP Publishing: Bristol, UK, 2018; pp. 8-1–8-33. [Google Scholar]
  6. Goodman, J.W. Introduction to Fourier Optics; McGraw-Hill: New York, NY, USA, 1996. [Google Scholar]
  7. Matoba, O.; Javidi, B. Encrypted optical memory system using three-dimensional keys in the Fresnel domain. Opt. Lett. 1999, 24, 762–764. [Google Scholar] [CrossRef] [PubMed]
  8. Situ, G.; Zhang, J. Double random phase encoding in the Fresnel domain. Opt. Lett. 2004, 29, 1584–1586. [Google Scholar] [CrossRef] [PubMed]
  9. Unnikrishnan, G.; Joseph, J.; Singh, K. Optical encryption by double-random phase encoding in the fractional Fourier domain. Opt. Lett. 2000, 25, 887–889. [Google Scholar] [CrossRef] [PubMed]
  10. Matsushima, K. Formulation of the rotational transformation of wave fields and their application to digital holography. App. Opt. 2008, 47, D110–D116. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Optical scheme for the diffraction on a tilted plane.
Figure 1. Optical scheme for the diffraction on a tilted plane.
Photonics 06 00116 g001
Figure 2. Optical scheme of the encryption system using the DRPE technique and the optical diffraction on two tilted planes.
Figure 2. Optical scheme of the encryption system using the DRPE technique and the optical diffraction on two tilted planes.
Photonics 06 00116 g002
Figure 3. (a) Original image f ( x 1 , y 1 ) . (b) Random code image s ( x 1 , y 1 ) of the RPM r ( x 1 , y 1 ) . (c) Encrypted image e ( x 3 , y 3 ) for the security key d 1 = 200 mm, d 2 = 300 mm, θ y = 14 . 5 , φ y = 12 . 7 and the RPM h ( x 2 , y 2 ) (d) Decrypted image f ˜ ( x 1 , y 1 ) using the correct five security keys ( d 1 , d 2 , θ y , φ y and h ( x 2 , y 2 ) ). Decrypted images using the following wrong tilt angle in the decryption system: (e) θ y = 14 . 4 and (f) φ y = 12 . 8 .
Figure 3. (a) Original image f ( x 1 , y 1 ) . (b) Random code image s ( x 1 , y 1 ) of the RPM r ( x 1 , y 1 ) . (c) Encrypted image e ( x 3 , y 3 ) for the security key d 1 = 200 mm, d 2 = 300 mm, θ y = 14 . 5 , φ y = 12 . 7 and the RPM h ( x 2 , y 2 ) (d) Decrypted image f ˜ ( x 1 , y 1 ) using the correct five security keys ( d 1 , d 2 , θ y , φ y and h ( x 2 , y 2 ) ). Decrypted images using the following wrong tilt angle in the decryption system: (e) θ y = 14 . 4 and (f) φ y = 12 . 8 .
Photonics 06 00116 g003

Share and Cite

MDPI and ACS Style

Vilardy O., J.M.; Jimenez, C.J.; Torres M., C.O. Optical Image Encryption System Using Several Tilted Planes. Photonics 2019, 6, 116. https://doi.org/10.3390/photonics6040116

AMA Style

Vilardy O. JM, Jimenez CJ, Torres M. CO. Optical Image Encryption System Using Several Tilted Planes. Photonics. 2019; 6(4):116. https://doi.org/10.3390/photonics6040116

Chicago/Turabian Style

Vilardy O., Juan M., Carlos J. Jimenez, and Cesar O. Torres M. 2019. "Optical Image Encryption System Using Several Tilted Planes" Photonics 6, no. 4: 116. https://doi.org/10.3390/photonics6040116

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop