Next Article in Journal
Metasurface-Assisted Rydberg-Atom Sensor with Wavefront Shaping and Enhanced Sensitivity
Previous Article in Journal
Additive Manufacturing Based Polymer Compounded Refractive Lenses for X-Ray Focusing at Synchrotron Light Sources
Previous Article in Special Issue
Singular Value Decomposition Wavelength-Multiplexing Ghost Imaging
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Reshaping Optical Speckles and Random Light Beam

School of Physics and Astronomy, Applied Optics Beijing Area Major Laboratory, Beijing Normal University, Beijing 100875, China
*
Author to whom correspondence should be addressed.
Photonics 2026, 13(4), 342; https://doi.org/10.3390/photonics13040342
Submission received: 13 February 2026 / Revised: 19 March 2026 / Accepted: 28 March 2026 / Published: 31 March 2026
(This article belongs to the Special Issue Ghost Imaging and Quantum-Inspired Classical Optics)

Abstract

Speckle patterns generated by coherent illumination of random media are ubiquitous in optical imaging and information processing. However, most existing studies have primarily focused on isotropic or homogeneous speckle fields, while controlled manipulation of speckle patterns with customized geometric morphologies has received comparatively little attention. Here, we propose a random phase-coded array (RPA) as a general framework for generating geometrically reshaped speckle, enabling the formation of nonconventional random light fields whose ensemble-averaged intensity distributions follow prescribed geometric shapes. In this framework, the speckle geometry is determined by the unit-cell structure of the RPA, the unit-cell size governs the overall spatial extent of the speckle pattern, and the illuminating beam size sets the characteristic speckle grain size. These relationships are rigorously validated through theoretical derivations and numerical simulations. As a result, the global statistical envelope of the random light field can be intuitively and flexibly controlled without compromising the fully developed speckle characteristics. Our experimental framework offers a straightforward, scalable, and versatile approach for generating customized random light fields, with potential applications in optical information processing, secure optical communication, computational imaging, and speckle-based metrology.

1. Introduction

Optical speckle [1] refers to a granular interference pattern generated when coherent light is scattered from a rough surface or propagates through a random medium. This phenomenon arises due to the random phase variations introduced by scattering events, causing the reflected or transmitted wavefronts to interfere constructively and destructively in space. Speckle patterns are not merely noise; they encode valuable information about the scattering object or medium. Consequently, speckle analysis finds extensive applications in various scientific and engineering fields [2], including surface roughness measurement [3], deformation and vibration analysis via speckle interferometry [4], biomedical imaging (e.g., blood flow monitoring) [5,6,7,8,9,10], and optical information processing [11,12,13,14,15]. The statistical properties of speckle are well-described by random wave theory, making it a powerful tool for non-destructive testing and precision metrology.
With the rapid development of commercial spatial light modulators (SLMs), the generation and manipulation of structured light fields have progressed significantly, enabling deterministic control of optical wavefronts and leading to broad applications [16] in particle manipulation, optical trapping, microscopy, and laser material processing. While these advances primarily focus on shaping deterministic optical fields, some research efforts have recently started to expand into the control of speckle and random light fields [17,18,19,20]. Owing to the dynamic programmability of modern SLMs, speckle patterns can be actively modulated in time, forming fluctuating speckle fields [21] that form controllable random optical beams. Such engineered random light fields have enabled a range of emerging applications, including optical imaging (e.g., ghost imaging using super-Rayleigh speckles) [22,23,24,25,26,27,28], holography [29,30,31], and optical encryption [32,33,34].
Beyond the control of complex coherence and statistical properties of optical speckle fields, recent studies have also explored the manipulation of the geometric morphology of random light fields, for example, through the realization of ring-shaped speckle patterns [35]. However, the demonstrated geometries remain limited to specific forms [36,37], and a general strategy for generating speckle fields with flexible spatial morphologies is still lacking. In this work, we propose a random phase-coded array (RPA) as a general framework for reshaping the statistical properties of speckle patterns. The central idea is to use a phase profile as a deterministic unit cell and construct a spatially periodic array while independently assigning a global random phase to each unit cell. This hybrid structure preserves the intrinsic randomness required for speckle formation, with additional, designable degrees of freedom through the choice of the unit-cell phase-profile. By exploiting this architecture, the speckle pattern can be actively and flexibly reshaped. In particular, the reshaped speckle exhibits random intensity fluctuations, forming a random light field whose ensemble-averaged intensity distribution, referred to here as the statistical envelope, is governed by the Fourier spectrum of the unit cell. This enables intuitive and flexible control over the global structure of speckle fields without sacrificing their inherent randomness. The proposed RPA framework can generate customized random light fields and holds potential for applications in optical information processing, secure optical communication, and optical metrology.

2. Method and Theoretical Model

2.1. Concept of the RPA

Conventional speckle patterns are typically generated by coherent illumination of random phase objects, such as rough surfaces or diffusers, where the phase at each scattering point is generally considered to be uniformly distributed over the interval 0 to 2 π . In such configurations, the resulting speckle fields are largely determined by the statistical properties of the random phase distribution and the illumination conditions, offering limited freedom in tailoring the global spatial structure of the speckle pattern. To overcome this constraint and enable more flexible control over speckle geometries, we introduce a structured approach based on a periodic arrangement of phase-modulated elements.
In the proposed scheme, a phase profile is used as the fundamental building block of the system and is treated as a unit cell, as illustrated in Figure 1a. The unit cell occupies an m × m pixel region in the spatial domain. Identical unit cells are periodically arranged along both the horizontal and vertical directions, with n cells in each dimension, forming a square array with an overall size of nm × nm pixels.
To introduce controlled randomness, a global random phase is imposed on each unit cell, while the random phases assigned to different unit cells are mutually independent and statistically uncorrelated. The randomness of the resulting speckle field, therefore, originates from the independently assigned random phases among unit cells, whereas the phase profile within the unit cell serves as a deterministic and designable parameter. This combination leads to the formation of an RPA.
As shown in Figure 1b, the RPA is uniformly illuminated by a coherent beam, and the speckle pattern generated by the RPA is recorded in the far field. In conventional fully developed speckle fields, the statistical properties are typically isotropic, resulting in speckle patterns with no preferred orientation. In contrast, within the RPA framework, directional selectivity can be deliberately introduced through the design of the unit-cell phase profile. For example, one-dimensional phase modulation, elliptically symmetric structures, or oriented spatial-frequency distributions lead to anisotropic Fourier spectra of the unit cell, which in turn give rise to anisotropic speckle patterns in the far field.
To experimentally obtain the corresponding random light fields, we employ the same unit-cell structure while varying the random phase distributions to generate multiple RPAs. By sequentially displaying these RPAs on the SLM, the speckle patterns fluctuate temporally. The ensemble of these fluctuating speckle realizations constitutes the desired random light field associated with the designed unit cell.

2.2. Theoretical Analysis of Far-Field Diffraction

In the phase-modulation plane labeled by the transverse spatial coordinates x and y, let the phase distribution of a single unit cell be ϕ cell ( x , y ) . The corresponding complex amplitude transmittance, t cell ( x , y ) , of the unit cell can be expressed as
t cell ( x , y ) = exp i ϕ cell ( x , y ) .
An n × n array of unit cells is constructed by periodically replicating the unit cell, and an independent and identically distributed random phase θ p , q [ 0 , 2 π ) is imposed on the ( p , q ) -th unit cell. The overall complex transmittance of the RPA can then be written as
t array ( x , y ) = p = 0 n 1 q = 0 n 1 e i θ p , q t cell ( x p d x , y q d y ) ,
where d x and d y denote the periodic spacing of the unit cells along the x and y directions, respectively.
Under normal illumination by a coherent plane wave with wavelength λ , the complex amplitude U f ( u , v ) at the back focal plane (i.e., the Fourier plane) of a lens with focal length f can be expressed as
U f ( u , v ) = t array ( x , y ) e i 2 π ( u x + v y ) d x d y ,
where u = x λ f and v = y λ f represent the spatial frequency coordinates corresponding to x and y directions in the Fourier domain, respectively.
By invoking the linearity and shift theorem of the Fourier transform, the above expression can be rewritten as
U f ( u , v ) = T cell ( u , v ) S ( u , v ) ,
where
T cell ( u , v ) = t cell ( x , y ) e i 2 π ( u x + v y ) d x d y
is the Fourier spectrum of the unit cell, and the array factor S ( u , v ) is given by
S ( u , v ) = p , q e i θ p , q e i 2 π ( u p d x + v q d y ) .
The far-field intensity distribution is therefore expressed as
I ( u , v ) = | T cell ( u , v ) | 2 | S ( u , v ) | 2 .
Taking the ensemble average over the random phases and using
e i ( θ p , q θ p , q ) = δ p , p δ q , q ,
the cross-interference terms between different unit cells vanish. Consequently, the ensemble-averaged far-field intensity is proportional to the squared modulus of the unit-cell transfer function,
I ( u , v ) T cell ( u , v ) 2 .
It should be noted that the above derivation is obtained under ideal assumptions; namely, the inter-cell phases θ p , q are independent and uniformly distributed over [ 0 , 2 π ] , and the result corresponds to an ensemble average over many realizations. Under these conditions, the cross-interference terms statistically vanish, resulting in an intensity envelope determined by the unit-cell spectrum. The proportionality constant depends on factors such as the number of unit cells and the intensity of illumination.

2.3. Design Scheme for Customized Speckle Shapes

To generate a customized speckle shape, an iterative phase-retrieval procedure, conceptually analogous to the Gerchberg–Saxton (GS) algorithm [38], is employed to determine the phase profile of the unit cell, as illustrated in Figure 2a.
For example, an 800 × 800 pixels image of the letter “L” is selected as the target intensity distribution. First, a random phase distribution of size 40 × 40 pixels is generated and then zero-padded to 800 × 800 pixels. An optical Fourier transform is performed to obtain the complex amplitude distribution on the output plane. Its amplitude is then replaced by that of the target image, while the phase component is retained. The updated complex amplitude distribution is subjected to another optical Fourier transform, yielding the complex amplitude on the input plane. From this distribution, only the central 40 × 40 pixels region of the phase is extracted. The procedure of zero-padding the extracted phase, performing a Fourier transform, replacing the amplitude on the output plane with the target amplitude while preserving the phase, and then transforming back to extract the updated input phase is repeated iteratively. Through this iterative loop, the discrepancy between the amplitude distribution on the output plane and the target amplitude is gradually minimized, thereby approximating the desired intensity distribution. After 200 iterations, the phase distribution on the input plane is extracted, and its central 40 × 40 pixels region is taken as the unit cell of the RPA. When the constructed RPA is illuminated with coherent light, as shown in Figure 1b, a far-field speckle pattern is generated whose overall envelope follows the shape of the letter “L”.
Figure 2b schematically illustrates the generation of speckle patterns by the RPA. A phase profile is first designed as the unit cell and then used to construct the RPA following the procedure shown in Figure 1a. When illuminated by the optical system depicted in Figure 1b, the RPA generates a speckle pattern in the far-field plane.

2.4. Dependence of Speckle Characteristics on System Parameters

Having established that the ensemble-averaged far-field intensity distribution is governed by the unit-cell spectrum, we now proceed to analyze the statistical properties of the speckle field. First, we consider the speckle grain size.
Let the illumination field be described by an amplitude window function W ( x , y ) . The optical field immediately after the RPA can then be written as
U 0 ( x , y ) = W ( x , y ) t array ( x , y ) .
After Fourier transformation by a lens, the complex amplitude at the back focal plane (Fourier plane) is given by
U f ( u , v ) = W ( x , y ) t array ( x , y ) e i 2 π ( u x + v y ) d x d y .
Under the condition of fully developed speckle, the normalized mutual coherence function of the far-field speckle pattern is given by the Fourier transform of the effective source intensity distribution,
μ ( Δ u , Δ v ) = | W ( x , y ) | 2 e i 2 π ( Δ u x + Δ v y ) d x d y | W ( x , y ) | 2 d x d y ,
where Δ u = u 1 u 2 and Δ v = v 1 v 2 denote the separations between two points in the spatial frequency domain. Because the RPA exhibits a spatially uniform intensity distribution in the ensemble-averaged sense, the above expression indicates that the spatial correlation properties of the far-field speckle pattern are solely determined by the illumination beam profile.
For analytical convenience, we consider the ideal case of Gaussian beam illumination,
W ( x , y ) = exp x 2 w x 2 y 2 w y 2 ,
where w x and w y denote the beam waist radii of the amplitude distribution. The corresponding intensity distribution is | W ( x , y ) | 2 = exp 2 x 2 / w x 2 2 y 2 / w y 2 . The mutual coherence function can then be evaluated analytically. The total intensity, obtained by integrating | W ( x , y ) | 2 over the entire plane, is given by
| W ( x , y ) | 2 d x d y = π 2 w x w y ,
while the Fourier transform of the intensity distribution yields
| W ( x , y ) | 2 exp i 2 π ( Δ u x + Δ v y ) d x d y
= π 2 w x w y exp π 2 2 w x 2 Δ u 2 + w y 2 Δ v 2 .
Consequently, the normalized mutual coherence function takes the form
μ ( Δ u , Δ v ) = exp π 2 2 w x 2 Δ u 2 + w y 2 Δ v 2 .
This two-dimensional Gaussian function defines the speckle correlation width through its 1 / e decay,
δ u = 2 π w x , δ v = 2 π w y .
Mapping the spatial frequency coordinates to the Fourier plane yields the speckle grain size
δ x f = 2 λ f π w x , δ y f = 2 λ f π w y .
When the Gaussian beam illuminates the entire r × r pixels RPA region, it is convenient to choose the beam waist such that the intensity drops to 1 / e 2 of its peak value at the array boundary x = ± r d x / 2 . This condition yields
w x = r d x 2 ,
and the speckle grain size can be approximated as
δ x f 2 2 λ f π r d x .
This result clearly indicates that the speckle grain size is inversely proportional to the illumination beam size.
Beyond the local speckle statistics, the global spatial extent of the speckle pattern is governed by the Fourier spectrum of the unit cell. We now examine how the scaling of the unit-cell size affects the overall speckle morphology while keeping the array size fixed.
As derived in the theoretical analysis, for an RPA constructed from a unit cell with transmittance t cell ( x , y ) , the ensemble-averaged far-field intensity distribution is proportional to the squared magnitude of the Fourier spectrum of the unit cell,
I ( u , v ) T cell ( u , v ) 2 ,
where T cell ( u , v ) denotes the Fourier transform of the unit-cell transmittance.
If the spatial size of the unit cell is scaled from m to a m , where a is a constant scaling factor, the corresponding transmittance can be written as t ( x , y ) = t cell ( x / a , y / a ) . According to the scaling property of the two-dimensional Fourier transform, its spectral representation becomes
T ( u , v ) = a 2 T cell ( a u , a v ) .
This relation indicates that the spectral features of the unit cell contract toward lower spatial frequencies by a factor of 1 / a . Since the spatial coordinates in the Fourier plane are proportional to the spatial frequency variables, increasing the unit-cell size leads to a corresponding reduction in the characteristic spatial scale of the far-field speckle pattern, provided that the overall array size remains fixed.

3. Numerical Simulations

We performed numerical simulations to model the speckle field generation process. The wavelength was set to λ = 632.8 nm . The computational window consisted of 1080 × 1080 pixels. A Gaussian envelope
G ( x , y ) = exp x 2 + y 2 T
with T = 1 × 10 5 was applied to represent the finite beam profile and normalized prior to propagation. The Gaussian beam was then modulated by the RPA, and the resulting optical field propagation was implemented via an optical Fourier transform using a lens with a focal length of f = 0.3 m . The far-field speckle patterns were then obtained by calculating the intensity distribution of the propagated field.

3.1. Illumination Beam Size and Speckle Grain Size

Figure 3(a1–a5) show illumination beams with different diameters, while Figure 3(b1–b5) display the corresponding far-field speckle patterns.
To quantitatively determine the speckle grain size, an ensemble-averaged second-order intensity correlation analysis was performed. Specifically, 5000 independent speckle realizations were generated for each illumination condition. For a fixed spatial position, the normalized second-order intensity correlation function was calculated as
g ( 2 ) ( Δ x ) = I ( x ) I ( x + Δ x ) I ( x ) 2 ,
where · denotes averaging over the 5000 independent realizations. The speckle grain size was defined as the full width at half maximum (FWHM) of the central peak of g ( 2 ) ( Δ x ) . The same ensemble-averaging procedure was applied consistently for all simulated cases. By extracting the speckle grain size using this method, the dependence of speckle size on the illumination beam diameter is summarized in Figure 3c.
The numerical results agree well with the theoretical analysis, confirming the inverse relationship between speckle grain size and illumination beam size.

3.2. Effect of Unit-Cell Size

As shown in Figure 4, numerical simulations were performed to investigate the influence of the unit-cell size on the random light field generated by the RPA.
A vortex phase distribution with a topological charge of L = 2 was first selected as the phase profile, as shown in Figure 4a. The phase profile was resized to form a 20 × 20 pixel unit cell. With the overall array size set to 1080 × 1080 pixels, 54 unit cells were arranged along both the horizontal and vertical directions to construct the RPA. Under plane-wave illumination, the far-field speckle pattern is shown in Figure 4(b1). Subsequently, the unit-cell size was increased to 30 × 30 pixels, 40 × 40 pixels, and 60 × 60 pixels, respectively, while keeping the overall array size fixed at 1080 × 1080 pixels, the corresponding single-shot reshaped speckles are shown in Figure 4(c1–e1).
To evaluate the speckle patterns generated by RPAs with different unit-cell sizes, we calculated the local speckle contrast C = σ I / I , where σ I denotes the standard deviation of the intensity and I represents the mean intensity within a spatially uniform region. For the speckle patterns shown in Figure 4(b1–e1), the corresponding contrast values are 1.0352 , 0.9855 , 1.0205 , and 0.9600 , respectively. These values are close to unity, indicating that the speckle patterns generated under different unit-cell sizes are fully developed. In principle, a larger number of unit cells yields speckle statistics that more closely approach the ideal ensemble-averaged behavior. However, in practice, the overall array size is constrained by the finite pixel count of the spatial light modulator, which limits the maximum number of unit cells that can be accommodated. Nevertheless, the measured speckle contrast values demonstrate that, even with this limited array size, the resulting speckle fields exhibit a high degree of randomness, confirming that the finite number of unit cells employed in our experiments is sufficient to achieve fully developed speckle statistics.
Statistical envelopes of random light field obtained by averaging over 100 independent reshaped speckles are shown in Figure 4(b2–e2). The simulation results clearly demonstrate that increasing the unit-cell size leads to a systematic reduction in the overall spatial scale of the far-field speckle pattern. This behavior is fully consistent with the theoretical analysis based on the Fourier scaling property, thereby confirming the effectiveness of unit-cell size as a key parameter for controlling speckle statistics in the proposed RPA framework.
Interestingly, the scaling behavior observed in the RPA framework remains fundamentally consistent with classical speckle theory. Specifically, the overall size of the illumination beam determines the speckle grain size in the far field, whereas the unit-cell dimension influences the spectral characteristics of the transmitted field and thereby governs the spatial scale of the ensemble-averaged speckle envelope. This separation of roles—where the macroscopic aperture controls the speckle granularity and the microscopic structural element shapes the spectral distribution—is fully consistent with the physical principles underlying conventional speckle formation. These results indicate that the proposed RPA scheme preserves the essential Fourier-optical mechanisms of speckle generation while enabling programmable statistical control.

3.3. Effect of Random Phase Modulation

In the previous subsection, we analyzed how the unit-cell size influences the random light field generated by the RPA. We now extend this analysis to examine the effect of the random phase.
In the preceding analysis, the RPA was constructed by periodically replicating a single unit cell and applying an independent random phase to each unit cell as a whole. In this configuration, the spatial extent of each random phase modulation—denoted as r × r pixels—coincided with the unit-cell size m × m pixels (i.e., r = m ). Here, we instead vary the size of the random phase blocks r × r while keeping the unit-cell size fixed. Specifically, we partition the array into contiguous blocks of size r × r pixels, each assigned an independent random phase, regardless of the unit-cell boundaries, and examine how this affects the resulting random light field.
A phase profile with a size of 40 × 40 pixels is chosen as the unit cell. As shown in Figure 5a, when no random phase modulation is introduced across the array elements, the far-field diffraction pattern of the periodically replicated structure is shown in Figure 5(b1). In this case, only four bright spots appear near the center of the spatial-frequency plane, corresponding to the discrete diffraction orders of the coherent array. Due to the low overall intensity, the central region of the diffraction pattern is magnified for clarity by extracting a subregion with one-quarter of the original side length, as shown in Figure 5(b2). The presence of discrete bright spots indicates that strong coherent interference among array elements dominates the far-field response, preventing the formation of a speckle field and obscuring the spectral information of an individual unit cell.
Next, while keeping the unit-cell size of 40 × 40 pixels, we obtained the random phase modulation patterns (shown in Figure 5(c1–c5)) with the random phase block sizes of 10 × 10 , 20 × 20 , 30 × 30 , 40 × 40 , and 60 × 60 pixels, respectively. The corresponding single-shot reshaped speckle patterns are shown in Figure 5(d1–d5), while the global statistical envelopes of the random light field, obtained by averaging over 100 independent realizations, are presented in Figure 5(e1–e5).
We cropped a central region of 500 × 500 pixels from each speckle pattern shown in Figure 5(d1–d5). This region is chosen to be larger than the main speckle area while avoiding the inclusion of excessive background that could bias the statistical analysis. Based on these cropped images, we computed both the global speckle contrast and the local speckle contrast. The global contrast is calculated over the entire 500 × 500 pixels region, whereas the local contrast is obtained using a sliding window of 40 × 40 pixels within the speckle region, which characterizes the local intensity fluctuations.
The calculated contrast values are summarized in Table 1.
In speckle statistics, a fully developed speckle field is characterized by a local contrast close to unity ( C 1 ), indicating a high degree of randomness in the intensity distribution. As shown in Table 1, when the random phase block is relatively small, the local speckle contrast remains near 1, suggesting that the intensity distribution progressively approaches that of a fully developed random speckle state. It should be noted that the global contrast is computed over a region that includes the overall intensity envelope; therefore, its values are significantly larger than 1 and vary considerably with the size of random phase blocks. This behavior primarily reflects changes in the global structure of the speckle field rather than its local randomness.
Numerical simulations indicate that when the size of the random phase blocks is smaller than that of the unit cell, the generated speckle patterns tend to approach conventional isotropic speckle fields. This behavior originates from the effective disruption of the microscopic structure of the unit cell, which prevents its Fourier signature from manifesting in the far-field intensity distribution. In contrast, when the size of the random phase blocks exceeds that of the unit cell, the structural information encoded in the RPA is expected to be preserved, leaving open the possibility for such structured speckle to be transmitted through scattering media in future studies.

4. Experimental  Results

Experimentally, we observe the reshaped speckle and the corresponding random light fields generated by the RPA. A He-Ne laser operating at a wavelength of 632.8 nm was first spatially filtered and collimated to produce a planar wavefront, and then expanded to a beam diameter of approximately 2 cm. The phase distribution of the RPA was first linearly mapped onto the 0 2 π modulation range of the spatial light modulator to generate the corresponding computer-generated hologram (CGH), with a blazed grating superimposed. The CGH had a resolution of 1080 × 1080 pixels and was loaded onto the central region of a spatial light modulator (Holoeye VIS-016, 1080 × 1920 pixels, pixel pitch 8 µm, Holoeye, Berlin, Germany), which was uniformly illuminated by the expanded beam. Due to the presence of the grating, the information-carrying signal light was diffracted into the + 1 diffraction order, thereby spatially separating it from the unmodulated zero-order reflection, including residual reflections originating from pixel gaps. To isolate the desired signal, an aperture was placed at the Fourier plane of the SLM (the back focal plane of the lens), allowing only the + 1 diffraction order to pass while effectively blocking the zero-order and other higher-order stray light. The resulting reshaped speckle patterns generated by the RPA were recorded by a CMOS-based camera (MER-231-41U3, 1920 × 1200 pixels, Daheng, Beijing, China).
As shown in Figure 6(a1–a5), several different phase profiles are selected as input unit cells. Consistent with the scheme illustrated in Figure 1a, the random phases are uniformly distributed over [ 0 , 2 π ] , and the size of each random phase block is set equal to that of the unit cell. Following the procedure illustrated in Figure 1a, each phase profile is periodically replicated and combined with independent random phase modulation to construct the corresponding RPA. The fabricated RPA is then illuminated by a collimated plane wave, and the resulting reshaped speckle patterns are recorded.
The numerical simulation results are presented in Figure 6b. Specifically, the statistical envelopes of the random light field in Figure 6(b1) reproduce the Fourier magnitude of the phase profile shown in Figure 6(a1), and similar correspondence is observed for the remaining cases in Figure 6(b2–b5). These results indicate that, under ideal conditions, the proposed forward encoding scheme effectively maps the spectral information of the unit cell onto the far-field speckle intensity distribution of the RPA. Figure 6(c1–c5) show experimental results of single-shot reshaped speckle and Figure 6(d1–d5) show the global statistical envelope of the random light field obtained by averaging over 100 independent reshaped speckles in experiment.
Figure 7 presents the numerical and experimental results of customized speckle patterns and random light fields generated by the RPA through tailored unit-cell designs. The desired target shapes, including the letters L, O, V, E, B, N, and U, are shown in Figure 7a. Following the iterative phase-retrieval process illustrated in Figure 2a, a phase profile is retrieved for each target by extracting the phase component of its Fourier spectrum. The obtained phase profile, shown in Figure 7b, is then employed as the unit cell to construct the corresponding RPA, which produces a far-field speckle pattern encoding the prescribed target shape.
The numerical simulation results of the global statistical envelope shown in Figure 7c, obtained by averaging over 100 independent reshaped speckles, demonstrate that the spatial features of the target shapes are consistently reproduced in the far-field intensity distributions, thereby verifying the effectiveness of the inverse design method within the theoretical framework. Figure 7d,e present the corresponding experimental results, where Figure 7d shows single-shot reshaped speckle and Figure 7e shows the global statistical envelope of random light field obtained by averaging over 100 independent reshaped speckles.
To quantitatively evaluate the similarity between the reconstructed patterns and the target geometries, we computed the structural similarity index (SSIM) and peak signal-to-noise ratio (PSNR) [39]; the results are summarized in Table 2. These results demonstrate good agreement between the reconstructed patterns and the target geometries.
Good agreement between simulation and experiment is observed, and the prescribed target patterns are clearly reconstructed in the far field. These results confirm that, by combining inverse phase design with the forward diffraction process of the RPA, complex target shapes can be robustly and reproducibly reconstructed in the far field under experimental conditions. This demonstrates the effectiveness and robustness of the proposed approach for optical information encoding and statistical light-field engineering.

5. Discussion and Conclusions

In conclusion, we have proposed and experimentally demonstrated a general framework for speckle reshaping based on an RPA. By employing a deterministic phase profile as a unit cell and assigning independent random global phases to periodically replicated unit cells, the proposed approach effectively combines intrinsic randomness with controllable structural degrees of freedom. This hybrid architecture suppresses unwanted coherent interference while preserving fully developed speckle statistics, thereby enabling flexible and intuitive manipulation of the far-field speckle pattern morphology.
Through rigorous theoretical analysis, we have shown that the ensemble-averaged far-field intensity of the RPA is solely determined by the Fourier spectrum of the unit cell, while the random phase modulation effectively suppresses coherent interference among array elements. This result provides a clear physical interpretation of speckle reshaping in terms of Fourier-domain filtering. Numerical simulations further elucidate the roles of key parameters, including illumination beam size, unit-cell size, and random phase modulation scale, in governing speckle grain size and global intensity envelopes.
Experimental results corroborate the theoretical predictions and numerical simulations, demonstrating that both forward encoding and inverse design strategies can be robustly implemented in practice. In particular, the inverse design approach enables the generation of speckle fields whose statistical envelopes follow prescribed target shapes while maintaining fully developed speckle characteristics at the local scale. Owing to the statistical nature of the proposed method, the encoded information is preserved in the ensemble-averaged sense rather than relying on deterministic wavefront reconstruction, which suggests that such a scheme is inherently robust to phase perturbations and has the potential to be realized through scattering media.
The proposed RPA-based speckle engineering method provides a versatile and intuitive route for tailoring statistical light fields without sacrificing randomness. The programmable nature of RPA enables dynamic reconfiguration of the speckle envelope through electronic updating of the SLM phase patterns. In principle, the reshaping speed is limited by the refresh rate of the SLM, allowing millisecond-scale modulation in typical implementations. This dynamic reconfigurability may be advantageous for applications such as adaptive illumination, optical encryption, and structured light modulation, where rapid switching of statistical light fields is desirable. By encoding structural information into the unit-cell spectrum, the statistical envelope of the speckle field can be shaped in a controllable manner, enabling region-of-interest (ROI) engineering while preserving intrinsic speckle fluctuations. Owing to its simplicity, scalability, and compatibility with phase profile modulation, this approach holds significant potential for applications in optical information processing, secure optical communication, computational imaging, and optical metrology.

Author Contributions

Conceptualization, Y.C. and J.X.; methodology, Y.C.; software, Y.C.; validation, Y.C. and J.X.; formal analysis, Y.C.; investigation, Y.C.; data curation, Y.C.; writing—original draft preparation, Y.C.; writing—review and editing, Y.C. and J.X.; visualization, Y.C.; supervision, J.X.; project administration, J.X.; funding acquisition, J.X. All authors have read and agreed to the published version of the manuscript.

Funding

We wish to acknowledge the support of the National Natural Science Foundation of China (No. 12274037).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Goodman, J.W. Speckle Phenomena in Optics: Theory and Applications; Roberts and Company Publishers: Englewood, CO, USA, 2007. [Google Scholar]
  2. Facchin, M.; Khan, S.N.; Dholakia, K.; Bruce, G.D. Determining intrinsic sensitivity and the role of multiple scattering in speckle metrology. Nat. Rev. Phys. 2024, 6, 500–508. [Google Scholar] [CrossRef]
  3. Shao, M.Q.; Xu, D.; Li, S.Y.; Zuo, X.G.; Chen, C.K.; Peng, G.Z.; Zhang, J.M.; Wang, X.C.; Yang, Q. A review of surface roughness measurements based on laser speckle method. J. Iron Steel Res. Int. 2023, 30, 1897–1915. [Google Scholar] [CrossRef]
  4. Creath, K.; Slettemoen, G.Å. Vibration-observation techniques for digital speckle-pattern interferometry. J. Opt. Soc. Am. A 1985, 2, 1629–1636. [Google Scholar]
  5. Dunn, A.K.; Bolay, H.; Moskowitz, M.A.; Boas, D.A. Dynamic imaging of cerebral blood flow using laser speckle. J. Cereb. Blood Flow Metab. 2001, 21, 195–201. [Google Scholar] [CrossRef] [PubMed]
  6. Senarathna, J.; Rege, A.; Li, N.; Thakor, N.V. Laser speckle contrast imaging: Theory, instrumentation and applications. IEEE Rev. Biomed. Eng. 2013, 6, 99–110. [Google Scholar] [CrossRef]
  7. Mudry, E.; Belkebir, K.; Girard, J.; Savatier, J.; Le Moal, E.; Nicoletti, C.; Allain, M.; Sentenac, A. Structured illumination microscopy using unknown speckle patterns. Nat. Photonics 2012, 6, 312–315. [Google Scholar] [CrossRef]
  8. Oh, J.E.; Cho, Y.W.; Scarcelli, G.; Kim, Y.H. Sub-Rayleigh imaging via speckle illumination. Opt. Lett. 2013, 38, 682–684. [Google Scholar] [CrossRef] [PubMed]
  9. Katz, O.; Heidmann, P.; Fink, M.; Gigan, S. Non-invasive single-shot imaging through scattering layers and around corners via speckle correlations. Nat. Photonics 2014, 8, 784–790. [Google Scholar] [CrossRef]
  10. Wang, Z.; Wang, S.; Ma, R.; Liu, Y.; Zhu, H.; Zhang, Y.; Liu, J.; Mu, Y.; Rao, Y.; Zhang, W. Near-infrared speckle-illumination imaging based on a multidimensionally disordered fiber laser. Phys. Rev. Appl. 2022, 18, 024031. [Google Scholar]
  11. Fayard, N.; Goetschy, A.; Pierrat, R.; Carminati, R. Mutual information between reflected and transmitted speckle images. Phys. Rev. Lett. 2018, 120, 073901. [Google Scholar] [CrossRef] [PubMed]
  12. Ye, Z.; Ding, C.X.; Zhao, J.; Hou, W.; Men, X.J.; Cui, Y.; Liu, H.C.; Wang, H.B.; Xiong, J. Vortex memory effect of light for scattering-assisted massive data transmission. Optica 2025, 12, 281–295. [Google Scholar] [CrossRef]
  13. Wang, Z.; Li, H.; Zhong, T.; Zhao, Q.; R. V, V.; Li, H.; Yu, Z.; Pu, J.; Chen, Z.; Yuan, X.; et al. Speckle-driven single-shot orbital angular momentum recognition with ultra-low sampling density. Nat. Commun. 2025, 16, 11097. [Google Scholar]
  14. Wang, Z.; Lu, X.; Chen, Z.; Cai, Y.; Zhao, C. Topological links and knots of speckled light mediated by coherence singularities. Light Sci. Appl. 2025, 14, 175. [Google Scholar] [CrossRef] [PubMed]
  15. Cui, Y.; Cui, X.; Ye, Z.; Ding, C.X.; Liu, H.C.; Wang, H.B.; Xiong, J. Information transmission through light-induced scattering in photorefractive crystals. Opt. Lasers Eng. 2026, 196, 109387. [Google Scholar]
  16. Forbes, A.; De Oliveira, M.; Dennis, M.R. Structured light. Nat. Photonics 2021, 15, 253–262. [Google Scholar]
  17. Chen, Y.; Wang, F.; Cai, Y. Partially coherent light beam shaping via complex spatial coherence structure engineering. Adv. Phys. X 2022, 7, 2009742. [Google Scholar] [CrossRef]
  18. Brügger, G.; Froufe-Pérez, L.S.; Scheffold, F.; Jose Saenz, J. Controlling dispersion forces between small particles with artificially created random light fields. Nat. Commun. 2015, 6, 7460. [Google Scholar] [CrossRef] [PubMed]
  19. Bender, N.; Yılmaz, H.; Bromberg, Y.; Cao, H. Customizing speckle intensity statistics. Optica 2018, 5, 595–600. [Google Scholar] [CrossRef]
  20. Ye, Z.; Hou, W.; Ding, C.X.; Men, X.J.; He, R.J.; Zhao, J.; Wang, H.B.; Xiong, J.; Wang, K. Random Holography: Generating EPR-Like Correlation with Thermal Photons. Laser Photonics Rev. 2025, 19, 2401610. [Google Scholar] [CrossRef]
  21. Yoshimura, T. Statistical properties of dynamic speckles. J. Opt. Soc. Am. A 1986, 3, 1032–1054. [Google Scholar] [CrossRef]
  22. RV, V.; Chen, Z.; Pu, J. Speckle-correlation holographic imaging: Advances, techniques, and current challenges. Photonics 2025, 12, 776. [Google Scholar] [CrossRef]
  23. Gateau, J.; Chaigne, T.; Katz, O.; Gigan, S.; Bossy, E. Improving visibility in photoacoustic imaging using dynamic speckle illumination. Opt. Lett. 2013, 38, 5188–5191. [Google Scholar] [CrossRef]
  24. Liu, Y.; Chen, Y.; Wang, F.; Cai, Y.; Liang, C.; Korotkova, O. Robust far-field imaging by spatial coherence engineering. Opto-Electron. Adv. 2021, 4, 210027-1. [Google Scholar] [CrossRef]
  25. Kuplicki, K.; Chan, K.W.C. High-order ghost imaging using non-Rayleigh speckle sources. Opt. Express 2016, 24, 26766–26776. [Google Scholar] [CrossRef]
  26. Li, P.; Chen, X.; Qiu, X.; Chen, B.; Chen, L.; Sun, B. Ghost imaging, development, and recent advances. Chin. Opt. Lett. 2024, 22, 112701. [Google Scholar] [CrossRef]
  27. Liu, R.; Qing, B.; Zhao, S.; Zhang, P.; Gao, H.; Chen, S.; Li, F. Generation of non-Rayleigh nondiffracting speckles. Phys. Rev. Lett. 2021, 127, 180601. [Google Scholar] [CrossRef]
  28. Chen, Q.; Tan, Z.; Yu, H.; Han, S. Fourier-transform ghost imaging with super-Rayleigh speckles. Opt. Express 2023, 31, 25165–25176. [Google Scholar] [CrossRef]
  29. Naik, D.N.; Singh, R.K.; Ezawa, T.; Miyamoto, Y.; Takeda, M. Photon correlation holography. Opt. Express 2011, 19, 1408–1421. [Google Scholar] [CrossRef]
  30. Aime, S.; Sabato, M.; Xiao, L.; Weitz, D. Dynamic speckle holography. Phys. Rev. Lett. 2021, 127, 088003. [Google Scholar] [CrossRef]
  31. Vinu, R.; Chen, Z.; Singh, R.K.; Pu, J. Ghost diffraction holographic microscopy. Optica 2020, 7, 1697–1704. [Google Scholar] [CrossRef]
  32. Wang, X.; Wang, W.; Wei, H.; Xu, B.; Dai, C. Holographic and speckle encryption using deep learning. Opt. Lett. 2021, 46, 5794–5797. [Google Scholar] [CrossRef]
  33. Ye, Z.; Ding, C.X.; Men, X.J.; Wang, H.B.; Xiong, J. Hanbury Brown and Twiss-type optical secret sharing. Opt. Express 2024, 32, 45142–45157. [Google Scholar] [CrossRef]
  34. Lin, S.; Zhu, X.; Shen, Y.; Wang, F.; Chen, X.; Gbur, G.; Cai, Y.; Yu, J. Statistically stationary random light for high-security encryption. Optica 2025, 12, 1261–1268. [Google Scholar] [CrossRef]
  35. Ye, Z.; Hou, W.; Zhao, J.; Wang, H.B.; Xiong, J. Vortex speckles with customized symmetry and spatial correlations. Phys. Rev. Appl. 2022, 18, 064060. [Google Scholar] [CrossRef]
  36. Zeng, J.; Li, R.; Zhang, Z.; Xu, D.; Hoenders, B.J.; Wang, F.; Wang, H.; Cai, Y.; Zhang, H. Partially coherent persistent hollow beams enabled by cross-phase modulation. Opt. Express 2025, 33, 41156–41168. [Google Scholar] [CrossRef]
  37. Zhu, X.; Ni, F.; Liu, H.; Yu, J.; Wang, F.; Cheng, Y.; Chen, X.; Cai, Y. High-speed optical coherence manipulation based on lithium niobate films modulator. PhotoniX 2025, 6, 17. [Google Scholar] [CrossRef]
  38. Gerhberg, R.; Saxton, W. A practical algorithm for the determination of phase from image and diffraction plane picture. Optik 1972, 35, 237–246. [Google Scholar]
  39. Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef]
Figure 1. Schematic illustration of the RPA and its far-field speckle generation. (a) Construction of the RPA by periodically arranging identical unit cells, where an independent random global phase is assigned to each unit cell. (b) Far-field speckle pattern generated by the RPA under coherent illumination. The white arrows indicate the direction of light propagation.
Figure 1. Schematic illustration of the RPA and its far-field speckle generation. (a) Construction of the RPA by periodically arranging identical unit cells, where an independent random global phase is assigned to each unit cell. (b) Far-field speckle pattern generated by the RPA under coherent illumination. The white arrows indicate the direction of light propagation.
Photonics 13 00342 g001
Figure 2. Design scheme for customized speckle generation using the RPA. (a) Iterative phase-retrieval process, analogous to the Gerchberg–Saxton algorithm, used to optimize the unit-cell phase profile for generating a prescribed speckle. (b) Schematic representation of speckle formation: a designed phase profile serves as the unit cell to construct the RPA, which produces a far-field speckle pattern under coherent illumination.
Figure 2. Design scheme for customized speckle generation using the RPA. (a) Iterative phase-retrieval process, analogous to the Gerchberg–Saxton algorithm, used to optimize the unit-cell phase profile for generating a prescribed speckle. (b) Schematic representation of speckle formation: a designed phase profile serves as the unit cell to construct the RPA, which produces a far-field speckle pattern under coherent illumination.
Photonics 13 00342 g002
Figure 3. Influence of illumination beam size on the far-field speckle pattern. (a1a5) Illumination beams with different diameters. (b1b5) Corresponding far-field speckle patterns generated by the RPA. (c) Extracted speckle grain size as a function of the illumination beam diameter. Solid line: theoretical curve; dots: simulation.
Figure 3. Influence of illumination beam size on the far-field speckle pattern. (a1a5) Illumination beams with different diameters. (b1b5) Corresponding far-field speckle patterns generated by the RPA. (c) Extracted speckle grain size as a function of the illumination beam diameter. Solid line: theoretical curve; dots: simulation.
Photonics 13 00342 g003
Figure 4. Numerical simulation results illustrating the influence of unit-cell size on the RPA-generated random light field. (a) Phase profile employed as the unit cell. (b1e1) Single-shot reshaped speckles for unit-cell sizes of 20 × 20 , 30 × 30 , 40 × 40 , and 60 × 60 pixels, respectively. (b2e2) Corresponding statistical envelopes of random light field obtained by averaging over 100 independent reshaped speckles.
Figure 4. Numerical simulation results illustrating the influence of unit-cell size on the RPA-generated random light field. (a) Phase profile employed as the unit cell. (b1e1) Single-shot reshaped speckles for unit-cell sizes of 20 × 20 , 30 × 30 , 40 × 40 , and 60 × 60 pixels, respectively. (b2e2) Corresponding statistical envelopes of random light field obtained by averaging over 100 independent reshaped speckles.
Photonics 13 00342 g004
Figure 5. Influence of random phase modulation size on the random light field generated by the RPA. (a) Phase profile of the 40 × 40 pixels unit cell. (b1) Far-field diffraction pattern of the periodically replicated structure without random phase modulation, showing discrete diffraction orders. (b2) Magnified view of the central region of (b1). (c1c5) Random phase modulation patterns with random phase block sizes of 10 × 10 , 20 × 20 , 30 × 30 , 40 × 40 , and 60 × 60 pixels, respectively. (d1d5) Single-shot reshaped speckles corresponding to different random phase sizes. (e1e5) Corresponding statistical envelopes of random light field obtained by averaging over 100 independent reshaped speckles.
Figure 5. Influence of random phase modulation size on the random light field generated by the RPA. (a) Phase profile of the 40 × 40 pixels unit cell. (b1) Far-field diffraction pattern of the periodically replicated structure without random phase modulation, showing discrete diffraction orders. (b2) Magnified view of the central region of (b1). (c1c5) Random phase modulation patterns with random phase block sizes of 10 × 10 , 20 × 20 , 30 × 30 , 40 × 40 , and 60 × 60 pixels, respectively. (d1d5) Single-shot reshaped speckles corresponding to different random phase sizes. (e1e5) Corresponding statistical envelopes of random light field obtained by averaging over 100 independent reshaped speckles.
Photonics 13 00342 g005
Figure 6. Experimental observation of reshaped speckle patterns and random light fields generated by the RPA using different unit-cell designs. (a1a5) Unit-cell of different phase profile. (b1b5) Corresponding numerical simulations of the statistical envelopes of random light field obtained by averaging over 100 independent reshaped speckles. (c1c5) Single-shot reshaped speckles of experimental results. (d1d5) Corresponding experimental results of the statistical envelopes of random light field obtained by averaging over 100 independent reshaped speckles.
Figure 6. Experimental observation of reshaped speckle patterns and random light fields generated by the RPA using different unit-cell designs. (a1a5) Unit-cell of different phase profile. (b1b5) Corresponding numerical simulations of the statistical envelopes of random light field obtained by averaging over 100 independent reshaped speckles. (c1c5) Single-shot reshaped speckles of experimental results. (d1d5) Corresponding experimental results of the statistical envelopes of random light field obtained by averaging over 100 independent reshaped speckles.
Photonics 13 00342 g006
Figure 7. Experimental observation of customized speckle patterns and random light fields generated by the RPA through tailored unit-cell designs. (a1a7) Target geometrical structures of the speckle patterns. (b1b7) Phase profiles obtained via the iterative phase-retrieval procedure and employed as the unit cell of the RPA. (c1c7) Corresponding numerical simulations of the ensemble-averaged random light fields obtained by averaging over 100 independent reshaped speckles. (d1d7) Single-shot reshaped speckles in experiment. (e1e7) Experimentally measured ensemble-averaged random light fields obtained by averaging over 100 independent reshaped speckles.
Figure 7. Experimental observation of customized speckle patterns and random light fields generated by the RPA through tailored unit-cell designs. (a1a7) Target geometrical structures of the speckle patterns. (b1b7) Phase profiles obtained via the iterative phase-retrieval procedure and employed as the unit cell of the RPA. (c1c7) Corresponding numerical simulations of the ensemble-averaged random light fields obtained by averaging over 100 independent reshaped speckles. (d1d7) Single-shot reshaped speckles in experiment. (e1e7) Experimentally measured ensemble-averaged random light fields obtained by averaging over 100 independent reshaped speckles.
Photonics 13 00342 g007
Table 1. Speckle contrast for Figure 5(d1–d5).
Table 1. Speckle contrast for Figure 5(d1–d5).
Figure 5d(1)d(2)d(3)d(4)d(5)
C global 1.25731.75372.09942.81523.8756
C local 0.98721.00671.00601.02571.1844
Table 2. Quantitative comparison of reconstructed speckle patterns using SSIM and PSNR.
Table 2. Quantitative comparison of reconstructed speckle patterns using SSIM and PSNR.
LOVEBNUAverage
SSIM (Simulation)0.780.880.920.900.750.890.890.86
SSIM (Experiment)0.860.820.840.830.830.840.830.84
PSNR (Simulation)20.2417.6218.8316.8016.3015.9516.7217.49
PSNR (Experiment)19.4417.7018.7817.1916.9015.8617.2517.59
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Cui, Y.; Xiong, J. Reshaping Optical Speckles and Random Light Beam. Photonics 2026, 13, 342. https://doi.org/10.3390/photonics13040342

AMA Style

Cui Y, Xiong J. Reshaping Optical Speckles and Random Light Beam. Photonics. 2026; 13(4):342. https://doi.org/10.3390/photonics13040342

Chicago/Turabian Style

Cui, Yi, and Jun Xiong. 2026. "Reshaping Optical Speckles and Random Light Beam" Photonics 13, no. 4: 342. https://doi.org/10.3390/photonics13040342

APA Style

Cui, Y., & Xiong, J. (2026). Reshaping Optical Speckles and Random Light Beam. Photonics, 13(4), 342. https://doi.org/10.3390/photonics13040342

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