Professional Documents
Culture Documents
Abstract
Spatial intensity control can be achieved by passing a homogeneous beam through a refracting sheet of
specific relief function on one of the broad sides, Inverse Laplacian approximation of the relief function
has been gained by utilizing iterative method, Afterward, the solution relief function has been verified
by simulating Snell’s law and producing the associated intensity function projection. Possible adaptive
implementation with Piezoelectric Material-Indium Tin oxide Grid has been discussed.
Keywords: Laplacian Magic window, Adaptive Optics, Piezoelectric Material, Indium Tin oxide.
Introduction:
Magic windows are a 2017 creation with origins in so-called magic mirrors dating back hundreds of
years. Magic mirrors are similar to magic windows in that they can operate as optical Laplace operators.
Parallel light strikes a glass sheet with a smooth surface on one side and a moderate surface variation on
the other. The light is refracted by the magical window and falls onto a wall. Although the bumpiness of
the glass has no discernible shape or pattern, the light density fluctuations on the wall reveal a distinct
image. We must solve a differential equation (Poisson equation) for our desired image in order to
determine the form of the glass surface.
For the desired image, a specific glass surface is required. As a result, we can no longer use a single
glass for several photos, which raises our expenditures. That is why we have offered a method of
implementing the system in such a way that the refractive material can be reused for several images.
This is the Laplacian image, which is formed by the Laplacian magic window:
𝐼𝐿𝑎𝑝 (𝑅) = 1 − (𝑛 − 1)𝑧∇2 ℎ(𝑅) … (1)
This equation, known as Poisson's equation, is used to find the surface ℎ(𝑅) that will yield the desired
image 𝐼𝐿𝑎𝑝 (𝑅).
𝐼𝐿𝑎𝑝 (𝑅) − 1
∇2 ℎ(𝑅) = − … (2)
(𝑛 − 1)𝑧
To verify that the negative sign is true, observe that ∇2 ℎ(𝑅) < 0 corresponds to local convexity, which
enhances the intensity by focusing light for refractive indices n>1. We have solved this Poisson equation
for ℎ(𝑅) using standard five-point formula of finite difference method with arbitrary boundary condition.
1 𝐼𝐿𝑎𝑝 (𝑅) − 1
ℎ𝑖,𝑗 = (ℎ𝑖+1,𝑗 + ℎ𝑖−1,𝑗 + ℎ𝑖,𝑗+1 + ℎ𝑖,𝑗−1 + … (3)
4 (𝑛 − 1)𝑧
Afterward, we iterated the initial solution by applying Gauss-Seidel method and reach our final solution.
(f) (g)
Figure 3. (a) Gray scaled original image (b) Height function of the glass (solving Poisson’s Equation by 10
iterations) (c) Projected image by applying Snell's law in height function of (b) (d) Height function of the glass
(solving Poisson’s Equation by 100 iterations) (e) Projected image by applying Snell's law in height function of
(d) (f) Height function of the glass (solving Poisson’s Equation by 300 iterations) (g) Projected image by applying
Snell's law in height function of (f)
References:
1. Berry, M. V. (2017). Laplacian magic windows. Journal of Optics (United Kingdom), 19(6),
06LT01. https://doi.org/10.1088/2040-8986/aa6c4e
2. How Laplace Would Hide a Goat: The New Science of Magic Windows
Appendix (python Code):
from PIL import Image
import numpy as np
import matplotlib.pyplot as plt
import scipy.ndimage.filters
x, y = np.shape(img_data)
z = 1; n = 1.5
temp_data = (- img_data[:][:]) / ((n-1)*z) #right side of equation(2)
[X, Y] = np.meshgrid(np.arange(0, x+2, 1), np.arange(0, y+2, 1))
# Projected figure
projection = (1 - ((n-1)*z*(scipy.ndimage.filters.laplace(temp_arr))))
fig = plt.figure()
plt.imshow(projection, cmap='gray', vmin=0, vmax=255)
plt.xlim([0,300]); plt.ylim([0,300])
plt.show()