Coherence measurements of scattered incoherent light for lensless identification of an object's location and size

In absence of a lens to form an image, incoherent or partially coherent light scattering off an obstructive or reflective object forms a broad intensity distribution in the far field with only feeble spatial features. We show here that measuring the complex spatial coherence function can help in the identification of the size and location of a one-dimensional object placed in the path of a partially coherent light source. The complex coherence function is measured in the far field through wavefront sampling, which is performed via dynamically reconfigurable slits implemented on a digital micromirror device (DMD). The impact of an object -- parameterized by size and location -- that either intercepts or reflects incoherent light is studied. The experimental results show that measuring the spatial coherence function as a function of the separation between two slits located symmetrically around the optical axis can identify the object transverse location and angle subtended from the detection plane (the ratio of the object width to the axial distance from the detector). The measurements are in good agreement with numerical simulations of a forward model based on Fresnel propagators. The rapid refresh rate of DMDs may enable real-time operation of such a lensless coherency imaging scheme.


I. INTRODUCTION
When incoherent or partially coherent light scatters off an obstructive object, the shadow formed in the vicinity of the object gradually blurs at larger distances until the scattered field ultimately exhibits a smooth distribution with only feeble local intensity variations. In absence of a lens to form an image, it is difficult to reconstruct the scattering object from a measurement of the far-field intensity alone. Although image processing can help improve the quality of a recorded image by removing blur resulting from motion or poor focusing [1][2][3], it remains a notoriously difficult task to undo the blurring from diffractive spreading after free propagation. Although the transfer function for free propagation of incoherent light does not include zeros (for an infinitely sized detector), the decay of the transfer function with spatial frequency is nevertheless extremely sharp [4], which makes the inversion sensitive to noise. In other words, the remnant spatial variations in the lensless far-field intensity distribution are too small to allow for object reconstruction. Other approaches to reconstruct a scattering object make use of phase retrieval [5] with the measured intensity distributions in two planes [6], or the amplitude [7] or phase [8,9] of the Fourier transform of the field -with the phase information typically yielding better reconstructions [10][11][12]. These approaches are usually more successful in object reconstruction when coherent light is used [13][14][15][16].
We consider here an alternative for far-field lensless identification of an object illuminated with incoherent or partially coherent light: instead of measuring the far-field intensity profile, we measure the spatial coherence function representing the correlation between pairs of points in the field. The problem is characterized fundamentally by two spatial scales: the transverse extent of the scattered-field intensity distribution and the width of the spatial coherence function associated with the field. In a lensless configuration, diffractive spreading can render the extent of the former quite large and devoid of distinctive features. The width of the spatial coherence function, however, may be considerably smaller and retain sufficient information to identify a scattering object. We consider thin planar one-dimensional (1D) objects whether obstructive or reflective -with the other transverse dimension assumed uniform. * raddy@creol.ucf.edu Such an object is parametrized by three quantities: size, transverse position with respect to the optical axis, and longitudinal position with respect to the detection plane. In such a scenario, we find that measuring the complex spatial coherence (both magnitude and phase) enables object identification. Furthermore, even though the field is spread spatially over a large area, we need to sample only a limited spatial extent of the scattered field -on the order of the transverse coherence length of the field at the detection plane. Surprisingly, the spatial extent of the required measurement in some situations may be smaller than the physical size of the object itself, which could be located a large distance away from the detection plane.
There are many approaches for assessing the spatial coherence of an optical field. It was recognized long ago by Zernike that the visibility of Young's double slit interference [17] reveals the spatial cross-coherence between the fields at the two locations of the slits [18]. Despite initial realizations of such measurements [19] (see Ref. [20] for a review of early efforts), the tediousness involved in mapping out the coherence function by varying the double-slit separation has led to the development of a host of alternative approaches. For example, a lateral-shearing Sagnac interferometer can measure the spatial coherence function [21,22]. Alternatively, a fixed double-slit separation can be exploited by laterally shifting the slits across the input field along with a reversed copy of the field created by a cube beam splitter that is also shifted laterally, a so-called 'reversed-wavefront' Young interferometer [23]. Other approaches make use of non-redundant arrays of apertures to multiplex interferograms [24,25], a pair of non-parallel slits for multiplexing one-dimensional interferograms [26,27], or exploit wavefront sensors [28]. Another strategy for acquiring the spatial coherence function relies on phase-space methods that exploit the connection between spatial coherence and the Wigner distribution associated with the field [29][30][31].
The time-consuming aspect of direct wavefront sampling to map the spatial coherence function has been recently obviated with the emergence of digital micromirror devices (DMD), also known as digital light processors (DLP) [32]. These devices are formed of a two-dimensional arrays of micromirrors that can be individually addressed to direct light into one of two directions, and thus can be used as a pixellated on/off modulator for the optical wavefront. Such devices operate at considerably higher rates than liquid-crystal-based spatial light modulators [33], and have been used in introducing photonic time delays [34], beam profiling [35],  ) is incident on a 1D object and the scattered light impinges on computer-controlled double slits realized via a digital micromirror device (DMD). We depict the object obstructing the field (we also perform the experiment with only the reflected light reaching the detector). A spatial Fourier transform is implemented between the double slits and the CCD camera. In the experiment, the slits are realized in reflection mode, and is followed by a pair of lenses for optical relay and a cylindrical lens that produces the Fourier transform (omitted from the schematic for simplicity). The inset depicts the effect of the phase ϕ = Arg{G(x 1 −x 2 )} on the interference pattern. When ϕ = π, the intensity at the center of the interferogram is a minimum. (b) Interference patterns produced at the CCD while increasing the slit separation. The period of the interferogram decreases with increased separation, and the visibility drops with potential revivals at larger separations. When only one slit is activated, a diffraction pattern with no interference is registered (top panel). (c) 1D sections I(x) through interferograms (vertically displaced for clarity) with decreasing period as the slit separation is increased. The phase Arg{G(x 1 −x 2 )} is measured relative to the dotted vertical reference. The shifts between the dotted and dashed lines corresponds to a π-phase. (d) From each interferogram in (c) we obtain the visibility V as a function of slit separation (each colored circle is extracted from one interferogram). The visibility is related to the amplitude of the degree of coherence |g(x 1 −x 2 )| = V(I 1 +I 2 )/(2 √ I 1 I 2 ). (e) The phases Arg{G(x 1 −x 2 )} are extracted from the displacement of the local maxima and minima around the center fringe, with phase 0 assigned to the first interferogram.
synthesizing special optical beams [36], and wavefront-splitting interferometry [37]. Most recently, these devices have been utilized in mapping out the coherence function by implementing dynamically reconfigurable pairs of amplitude slits for measurements using coherent [38] and incoherent [39] light.
We measure the complex coherence function here via dynamically configured double slits implemented with a DMD. The amplitude and phase of the coherence function at any pair of points (x 1 , x 2 ) are assessed from the fringe visibility and fringe shift, respectively, observed in the interferogram produced by two slits placed at positions x 1 and x 2 . The high refresh rate of the DMD allows slit patterns to be quickly cycled. Our work aims at recovering characteristic features of an object in a lensless configuration through an examination of the coherence function produced by scattered partially coherent quasi-monochromatic light over a small area in the far field. The source in our experiments is an extended-area LED whose partial coherence is represented by a truncated Gauss-Schell model [40]. Whereas measurements of the coherence function of various light sources are well-documented [19,27,39,41], here we focus on the deviations in the measured coherence with respect to that of the source as introduced by an object lying in the field's path. We consider both intercepting (obstructing) objects placed in front of a light source to block part of the beam, as well as reflecting objects placed such that they reflect light toward the detector. In all cases, we compare the measurements to theoretical predictions obtained using Fresnel propagators.
The paper is organized as follows. We present the theoretical framework in Section II, where we also describe the measurement setup and the algorithm used for extracting the coherence magnitude and phase. In Section III, we discuss the experimental results for obstructive and reflective objects and compare them with theoretical predictions. In the conclusions we consider prospects for extending this methodology to more complex 'scenes' comprising multiple objects at different locations.

A. Theoretical method
Our overall strategy is depicted in Fig. 1(a). In these experiments, we measure the degree of spatial coherence g(x 1 , x 2 ; λ) (also known as the spectral degree of coherence) at two points with coordinates x 1 and x 2 in a quasi-monochromatic scalar field, where λ is the wavelength. Here g(x 1 , is a realization of the electric field, I(x 1 ) = G(x 1 , x 1 ), · denotes statistical averaging over an ensemble, and we drop the wavelength dependence henceforth for simplicity. We restrict ourselves to field variations along a single transverse coordinate x (assuming all fields are uniform along the y coordinate).
The field propagating from the source plane to the detection plane (a total distance of d) undergoes a mapping through a linear system represented by an impulse response function h(x 1 , x ), where x 1 is a point in the detection plane and x is a point in the source plane. In our experimental arrangement, this system consists of a succession of three linear sub-systems: (1) free-space propagation a distance d 1 from the source plane x to the object planex; (2) transmission or reflection from an object located at the planex; and (3) free-space propagation a distance d 2 from the object planex to the detection plane x 1 . Free propagation a distance d in the Fresnel regime is described by the impulse response function where k = 2π/λ is the wavenumber [42]. The object is assumed to be thin and described by a real-valued transmittance function t(x) -although this model readily accommodates a complex-valued transmittance. Both intercepting (obstructing) and reflecting objects are modeled -for simplicityas indicator functions; that is, light at any point in the object plane either passes unobstructed, or is blocked completely. For an intercepting object, , where x 0 and w are the object center position with respect to the optical axis and its width, respectively, and rect(x) = 1 when −0.5 ≤ x ≤ 0.5 and is zero otherwise. The reflective object is assumed to be specular, and so is modeled as an aperture with transmission function t(x) = rect x−x 0 w . Objects with transmittance of values other than 0 or 1 can also be accommodated within this framework. The object is thus identified by three parameters: its width w; its transverse position x 0 ; and its axial distance from the detection plane d 2 (for fixed total distance from source to detector d).
The impulse response function h(x 1 , x ) of the entire system from the source to detector is therefore given by The coherence function at a pair of points x and x in the source plane of G s (x , x ) is mapped to a pair of points x 1 and x 2 in the detection plane of G(x 1 , x 2 ) via the transformation Using this forward model, the coherence at the detector plane can be evaluated once the source is known, which requires a reference measurement. Finally, the calculation results are integrated over the source spectral bandwidth (1 nm in our experiments) [43].
Although we are considering 1D fields (one transverse coordinate x 1 ), the associated coherence function G(x 1 , x 2 ) is a 2D distribution. From G(x 1 , x 2 ) we measure only its anti-diagonal, i.e., as a function of the separation x 1 −x 2 between pairs of points located symmetrically around the optical axis x 1 = 0; the intensity is the diagonal I(x 1 ) = G(x 1 , x 2 ). Hereafter, we adopt the notation G(x 1 −x 2 ) to emphasize that the measured data is a 1D function.

B. Measurement system
We measure g(x 1 −x 2 ) using the system illustrated in Fig. 1(a), which involves implementing parallel double slits via a DMD (Texas Instruments DLP6500, 1920×1080 pixels with a pitch of ≈ 7.56 µm). The width of each slit is 3 pixels, ≈ 22.7 µm. The source is a spatially extended LED (Thorlabs, M625L3) with a peak wavelength of ≈ 633 nm and a FWHM-bandwidth of ≈ 18 nm that is spectrally filtered by a ≈ 1.3-nm-FWHM band-pass filter centered at 632.8 nm (Thorlabs, FL632.8-1). Partially coherent light reflected from the double slits on the DMD creates an interference pattern whose fringe period decreases with increasing slit separation [ Fig. 1(b,c)], which we vary in the range 0 to 1 mm while remaining centered at the optical axis. Light reflected from the DMD is first relayed by an imaging system formed of two lenses of focal lengths 10 and 20 cm providing 2× magnification, followed by a cylindrical lens of focal length f = 20 cm in a 2 f configuration that produces the interference fringes, which are recorded by a CCD camera (The ImagingSource, DFK 31BU03). The system is fully automated: the refresh rate for displaying the double slits on the DMD with different separations x 1 −x 2 is synchronized with the exposure and acquisition time of the CCD.

C. Extracting the coherence function magnitude and phase
The interference patterns recorded by the CCD take the form where ϕ = Arg{G(x 1 −x 2 )}, ≈ 22.7 µm is the slit width, and I 1 and I 2 are the peak values of the diffraction patterns from each slit, which can be obtained by activating one slit at a time, sinc(x) = sin (πx) πx , and M = 2 is the magnification of the optical relay preceding the 2 f Fourier transform system comprising a lens of focal length f = 20 cm. We obtain |g(x 1 −x 2 )| from the visibility V of the recorded interferograms [ Fig. 1(d)] along with intensity measurements from individual slits, whereas the phase Arg{g(x 1 −x 2 )} from the displacement of the central fringe with respect to a reference [ Fig. 1(e)].
The visibility V = (I max − I min )/(I max + I min ) is obtained from the measured interferogram, where I max and I min are the maximum and minimum values of I(x), respectively, from which we obtain |g(x 1 −x 2 )| = I 1 +I 2 Fig. 1(b-d)]. To extract the phase Arg{g(x 1 −x 2 )}, we estimate the displacement of the interference patterns at different separations x 1 − x 2 with respect to a fixed fringe location. The shift in the location of the central fringe with respect to the reference gives the phase Arg{g(x 1 −x 2 } once the shift is normalized with respect to the fringe period [ Fig. 1(e)].
Care must be taken with respect to the maximum coherence width (slit separation) at the detection plane that can be measured by this system. When individual pixels of the DMD are activated, they tilt approximately 12.5 • away from the normal to the DMD plane, thus creating an angle ψ ≈ 25 o between the incident and reflected fields. This feature of the DMD pixel architecture introduces a longitudinal path length difference of ∆z = (x 1 −x 2 ) sin 2ψ between light reflected from positions x 1 and x 2 . This extra path length of course increases with increased slit separation. The finite bandwidth of the radiation therefore results in a gradual loss of coherence between the fields at x 1 and x 2 with increased separation x 1 −x 2 even if the fields are spatially coherent. We compensate for this artifact of the measurement scheme by introducing a premultiplier to the measured g(x 1 −x 2 ). Assuming a Gaussian spectral profile, this premuliplier takes the form of an inverted Gaussian of 627-µm-FWHM. We found that reducing this value by 15% to 533 µm offers an excellent match between the theoretical predictions based on the model presented in the previous subsection and all the measurements. We attribute this discrepancy to the deviation of the actual spectral linewidth of the radiation from the presumed Gaussian form.

A. Source Characterization
We first carry out a reference measurement -in absence of any object -to characterize the light source. To capture the characteristics of the partial coherence of the source, we make use of a Gauss-Schell model [40,44,45] in which a jointly Gaussian coherence function (along the x +x and x −x directions) has its intensity profile truncated. The intensity of the source is taken to be Gaussian but is spatially limited by a width equal to the size of the LED (≈ 2 mm). The Gauss-Schell model is parameterized by the beam width α, the spatial coherence width σ, and aperture width L. The source is quasi-monochromatic modeled with a uniform spectral profile having a center wavelength λ 0 = 633 nm and bandwidth ∆λ = 1.3 nm. Therefore, the full coherence function of the source is given by We plot in Fig. 2(a) the measured magnitude |g(x 1 −x 2 )|. We fit the measurements to theoretical predictions based on propagating the source Gauss-Schell model in Eq. 5 to the detector plane unimpeded (no obstructing object) via Eq. 3 after setting h(x 1 , x) = h F (x 1 , x; d) with d = 125 cm. From the fitting procedure, we estimate the remaining parameters α and σ of the source to be α = 1/ √ 2 ln 2 mm and σ = 75/ √ 2 ln 2 µm, which yield a FWHM beam width of 1 mm and a FWHM coherence width of 75 µm. The model for the source coherence function utilizing these parameters is given in Fig. 2(b). This reference measurement that enabled us to reconstruct the source coherence function G s (x , x ) is used subsequently in Eq. 3 once an object is placed in the field's path.

B. Coherence function due to intercepting objects
We first consider an intercepting object in the form of a thin metal wire of diameter w = 0.5 mm or 1 mm placed between the light source and the detector such that it partially blocks light from reaching the detector. We consider locating the object at different axial distances from the source (d 1 = 0.5, 24, and 72 cm) and at various positions along the transverse plane (x 0 = 0, ±50, and ±100 µm with respect to the optical axis). In each experiment we hold two of these parameters fixed while varying the third. Because of the small size of the object (≤ 1 mm) placed in an incoherent field and the large distance to the detection plane (∼ 1 m), the intensity distribution at the detection plane (DMD) does not display a clear shadow or directly indicate the existence of an object. Instead, a flat intensity profile is observed over the DMD Figure 3 | Impact of the object size w on the degree of spatial coherence g(x 1 −x 2 ) when the object location (x 0 , d 1 ) is held fixed. (a) The measured magnitude of the degree of coherence |g(x 1 −x 2 )| in three cases: unimpeded propagation from the source to the detection plane (no object, w → 0), w = 0.5 mm, and w = 1 mm. In all cases x 0 = 0, d 1 = 0.5 cm, and d = 125 cm. The schematic above the panel depicts the measurement geometry (the gray circle is the object). The data points are plotted as diamonds, and the solid lines are theoretical predictions based on Eqs. 2, 3, and 5. (b) The measured phases Arg{g(x 1 −x 2 )} corresponding to the three cases plotted in (a). The diamonds are data points and the solid lines are theoretical predictions. (c-d) Same as (a-b) except that d 1 = 24 cm; that is, the object is placed farther away from the source and closer to the detection plane (the total distance from source to the DMD is held fixed at d = 125 cm).
(∼ 1-mm width under consideration). We proceed to show that measuring the two-point field correlations -encoded in g(x 1 −x 2 ) -over this same spatial extent can help identify the object. Note that g(x 1 −x 2 ) = g * (x 2 −x 1 ), so we plot g(x 1 −x 2 ) for x 1 −x 2 ≥ 0 only.

Impact of the object size
We first examine the effect of the object size w -when its location (x 0 , d 1 ) is fixed -on the coherence function g(x 1 −x 2 ) in Fig. 3. The presence of the object reduces the width of the main lobe of |g(x 1 −x 2 )| and introduces a significant side lobe, features that did not exist in the source coherence function measured at the detection plane in absence of an object [ Fig. 2(a)]. Increasing the object width increases the side-lobe peak amplitude and reduces the width of the lobes [ Fig. 3(a)]. This can be understood by realizing that the obstructing object modulates the field intensity at the object planex, which now represents a secondary source. In the far-field, the van Cittert-Zernike theorem indicates that the distribution of spatial coherence is related to the Fourier transform of this secondary source intensity distribution when the field is incoherent [42]. The general trends dictated by the van Cittert-Zernike therorem still apply when the field is partially coherent, as is our case here. The nulls of |g(x 1 −x 2 )| remain associated with abrupt jumps in phase by π [ Fig. 3(b)]. Similar results are observed when the object approaches the detection plane [ Fig. 3(c-d)], with the nulls in |g(x 1 −x 2 )| occurring at smaller values of x 1 −x 2 . Figure 4 shows the impact of changing the transverse position x 0 of an object of fixed size (w = 0.5 mm) moving in a plane at a fixed distance from the detector. When the object is located on the optical axis, a zero is observed in the coherence function g(x 1 − x 2 ) = 0 for some value of x 1 −x 2 set by the object size [ Fig. 4(a)]. At this null, the phase Arg{g(x 1 −x 2 )} undergoes an abrupt jump of π. As the object moves away from the optical axis, the coherence function does not reach zero at the first minimum. Additionally, in lieu of the abrupt π-phase jump, a gradual transition in phase takes place [ Fig. 4(b)]. As the object moves further away from the optical axis, the drop in |g(x 1 −x 2 )| at the first minimum is further diminished and the associated phase change becomes even more gradual.

Impact of the object transverse location
A measurement of |g(x 1 −x 2 )| alone results in an inherent ambiguity with respect to the direction of displacement of the object with respect to the optical axis. Therefore the measurements and theoretical predictions for |g(x 1 −x 2 )| coincide for displacements of ±x 0 . This ambiguity is lifted by observing the phase Arg{g(x 1 −x 2 )}. The gradual phase change at the first minimum of |g(x 1 −x 2 )| is in opposite directions for the positive and negative values of x 0 , thus helping to identify the object location. Furthermore, both effects that result from a transverse displacement -lifting of the zeros of g(x 1 −x 2 ) and gradual change in Arg{g(x 1 −x 2 )} -are further enhanced as the object approaches the detection plane [ Fig. 4(c,d)].

Impact of the object longitudinal location
Finally, we show the effect of moving a w = 0.5-mm-wide object along the longitudinal axis z in Fig. 5. We hold the total distance between the source and detection plane d fixed and increase d 1 . As the object approaches the detection plane (descreasing d 2 ) while remaining on the optical axis (x 0 = 0), the nulls in |g(x 1 − x 2 )| move to smaller values x 1 −x 2 . In other words, the effect of reducing d 2 for fixed w is similar to that of increasing w for fixed  Indeed, from the van Cittert-Zernike theorem, we expect the width of the coherence function to be related to w/d 2 ; that is, the angle subtended by the object at the detection plane. Once again, although the van Cittert-Zernike theorem is usually applied to cases where the source is completely incoherent, it is still expected that the general features will apply to a partially coherent field.

C. Coherence function due to a reflecting object
We now consider reconfiguring the optical arrangement to accommodate the object in reflection mode. Only light reflecting from the object reaches the detection plane [ Fig. 6]. We collect light that is scattered from the object. The reflective objects were rectangular sections of mirrors of varying widths w. Because light is obliquely incident on the object, the effective size is reduced by the cosine of the incidence angle (the angle between incident and reflected light is ≈ 16 • ). We expect that if the reflective object size is very large, then light from the source reaches the detection plane with little modification, so that the measured coherence function approaches that of the source [ Fig. 2(a)]. Reducing the reflective object size, on the other hand, is expected to affect the measured coherence by increasing the width of the coherence function (which is in inverse proportion to the size of the secondary source).
The measurement results are presented in Fig. 6. We measured the coherence function while varying the width w of the reflective objects from 0.5 mm to 1 mm. The object is placed on the optical axis of the source and its axial distance from the source and detection plane are held fixed. The measured coherence function does not display nulls or a significant side lobe in contrast to the case of intercepting objects. Indeed, the measured |g(x 1 − x 2 )| from the secondary source resembles that of the primary source except from the increased coherence width as the size of the object is reduced. The phase Arg{g(x 1 − x 2 )} is flat throughout. We expect that reducing the size of the object further will ultimately introduce nulls in the coherence function and π-phase jumps in its phase distribution.

IV. DISCUSSION AND CONCLUSION
The far-field intensity distribution of incoherent or partially coherent light scattering from an object -in absence of a lensdiffractively spreads and no longer displays sufficient information to reconstruct the object. Nevertheless, the complex spatial coherence function retains information that reveals the size and location of a thin obstructing or reflective object. Despite the large extent of the intensity distribution in the far field, only a limited area of the field need be examined -on the order of the width of the spatial coherence at the detector plane. The findings reported here are highlighted by the example shown in Fig. 7, where a metal wire of width w = 0.5 mm is scanned in front of the source (d 1 = 0.5 cm). In the immediate vicinity of the object, a geometric shadow is cast (d 2 = 0). At a larger distance (d 2 = 12 cm), the shadow is blurred. At an even larger distance (d 2 = 100 cm), the shadow is no longer discernible. Despite the almost constant far-field intensity profile, measuring g(x 1 −x 2 ) reveals a clear signature for detecting the change in the transverse position of the object. Note that a moving object, is not required for the procedure to work and the position of a stationary object can also be identified. The availability of high-speed DMDs and sensors can help make this strategy a real-time detection scheme. This scenario is characterized by significant priors: it is known that there is only one object in the path of the field, which is characterized by only its size and location. In this case, only the anti-diagonal G(x 1 −x 2 ) of the full coherence function G(x 1 , x 2 ) is needed. However, if such a prior is not available -for example, multiple objects may lie in the path of the field, then it becomes necessary to measure G(x 1 , x 2 ). For 'sparse' scenes formed of wellseparated objects, back-propagation of the coherence function with the Hermitian conjugate of the Fresnel diffraction operator may help reconstruct the full scene. We will present our results on that scheme elsewhere [46]. Finally, we have considered only scalar fields here, but this coherence-measurement scheme may be extended to vector fields by adopting a more general description of vector coherence [47][48][49].
In this paper, we examined the effect of parameters of a 1D object placed in the path of a partially coherent field -whether obstructing or reflecting it -on the spatial coherence function measured in the far field without a lens. Although the information in the intensity profile is blurred by diffraction, the coherence function retains useful information. In addition, the coherence function remains relatively localized, thus necessitating measurements over only a small area in the far field -potentially smaller than the physical size of the object itself. Certain features of the coherence function can be exploited to track objects. The size and the location of the object can be retrieved from the coherence function measured rapidly by wavefront sampling via dynamically reconfigurable double slits implemented by a DMD. The rapid refresh rate of such devices may allow for real-time lensless tracking of a moving object in the far field.