- EXPRESS PAPER
- Open Access
- Published:

# Recovering temporal PSF using ToF camera with delayed light emission

*IPSJ Transactions on Computer Vision and Applications*
**volume 9**, Article number: 15 (2017)

## Abstract

Recovering temporal point spread functions (PSFs) is important for various applications, especially analyzing light transport. Some methods that use amplitude-modulated continuous wave time-of-flight (ToF) cameras are proposed to recover temporal PSFs, where the resolution is several nanoseconds. Contrarily, we show in this paper that sub-nanosecond resolution can be achieved using pulsed ToF cameras and an additional circuit. A circuit is inserted before the illumination so that the emission delay can be controlled by sub-nanoseconds. From the observations of various delay settings, we recover temporal PSFs of the sub-nanosecond resolution. We confirm the effectiveness of our method via real-world experiments.

## Introduction

When an image is recorded by a general camera, various optical phenomena are collectively recorded. Light rays leaving from the light source change in intensity by repeating reflection and scattering, and the final intensity is recorded by the camera.

In recent years, temporal point spread function (PSF) of a scene, which is a response to the impulsive light, is attracting attention because it can be used for analysis of interreflection and scattering. By analyzing temporal PSFs, how the light transports in the scene can be analyzed in detail.

Temporal PSF of the scene can be obtained using an interferometer [1], holography [2], and femtosecond-pulsed laser [3], which requires complex optics and expensive devices. Heide et al. [4] firstly recover a temporal PSF in an inexpensive way using an amplitude-modulated continuous wave ToF camera. Using a continuous wave ToF camera, the propagation of light in units of nanoseconds can be visualized [5–7].

In this paper, we propose a method for estimating the temporal PSF using a *pulsed* ToF camera. Using pulsed ToF cameras, low-resolution temporal PSFs can be straightforwardly obtained, e.g., tens of nanoseconds, which is insufficient for analyzing scattering that is finished within 1 ns. To achieve sub-nanosecond resolution, we introduce an additional circuit for delaying the light emission. By delaying the light emission in sub-nanoseconds, we recover temporal PSFs via computation and achieve sub-nanosecond resolution.

Our contributions are twofold. Firstly, the impulse response of the scene can be estimated even with the pulsed ToF camera. Secondly, we achieve sub-nanosecond resolution. We show a simple PSF recovery by delaying the light emission and computation.

## PSF estimation using ToF camera

In this section, we explain the method that estimates temporal PSF using pulsed ToF camera. Before explaining the method, we start from the basic theory of the pulsed ToF camera.

### Principle of ToF camera operation

A ToF camera is originally a device for distance measurement by measuring the time between the light emission and reflecting back to the camera. The distance to the object *d* is obtained as

where *τ* is the measured round trip time of light and *c* is the speed of light. Because the observation of the ToF camera is independent for each pixel, the camera pixel *p* is omitted for simplicity. In this paper, we assume a pulsed ToF camera, which emits a square pulsed light for a few tens of nanoseconds as shown in Fig. 1. Synchronizing with the light emission, two images *I*
_{1} and *I*
_{2} exposed at the same time as the light emission width are obtained. From these two images, the round trip time *τ* can be obtained as

where *T* is the width of light emission and exposure. Moreover, because the observable range of the depth is limited to the width of the square wave, the start of the exposure is shifted to change the region of interest. In such a case, Eq. (2) can be written as

where *t*
_{offset} is the shift of the exposure.

### Distortion of reflected light due to PSF

The reflected light is assumed to be an ideal square wave in principle. However, in practice, the waveform of the reflection light is distorted according to the geometrical and optical characteristics of the scene as shown in Fig. 2. For example, if the scene includes subsurface scattering or inter-reflection, the temporal PSF *r*(*t*) of the scene is spread along with the time domain; therefore, the waveform of the reflected light is no longer the square wave.

The reflection waveform reaching the ToF camera can be represented by the convolution of the emission wave *l*(*t*) and the temporal PSF *r*(*t*). Observation *i* of the ToF camera is then represented as

where ⊗ is the convolution operator and *g*(*t*) is the exposure function of the ToF camera representing the exposure sensitivity at a certain time *t*. We assume that *g*(*t*) is a binary function, whether the exposure is performed or not, but in general, it can take a continuous value.

### PSF estimation with delayed light emission

Temporal PSF varies depending on the surface shape and translucency of the object; it has important information about the material and structure of the object. In order to analyze the properties of the object in detail, we are interested in recovering the temporal PSF with high resolution.

If the emission and exposure of the ToF camera can be freely controllable, the temporal PSF of the scene could be easily obtained. Shortening the light emission and exposure widths to the infinitesimal time, the impulsive light emission *l*(*t*) and the exposure *g*(*t*) can be regarded as the delta function *δ*(*t*). Appropriately shifting the start of the exposure, the temporal PSF can be directly obtained as

where *s* is the variable of integration on the time domain and *t* corresponds to the shift of exposure. However, it is difficult to shorten the emission and exposure width to the infinitesimal time because of the limitation of the logical gates. Using the typical ToF cameras, only tens of nanoseconds resolution can be achieved.

Even if the light emission and exposure width can not be shortened, the PSF can be recovered from observations with shifting the exposure. Shifting the exposure finely, a *blurred* PSF \(\bar {r}(t)\) can be observed as

where *g*
^{∗} is a exposure function whose time axis is inverted. Because \(\bar {r}(t)\) is convoluted by illumination and exposure, the original PSF *r*(*t*) can be estimated by deconvolution.

To realize the fine shift of the exposure, we adopt to delay the light emission by inserting an existing delay circuit as shown in Fig. 3. Delaying the light emission is equivalent to reversely shifting the exposure; hence, the shift of the exposure is easily controlled. The circuit delays the synchronization signal in sub-nanosecond; hence, we can recover high-resolution PSF by a deconvolution approach.

### Numerical implementation

The observation *i*
_{
j
} at *j*-th delay setting is given by

where *g*
_{
j
} is the *j*-th exposure function corresponding to the *j*-th delay of light emission. Descretizing Eq. (7),

where **g**
_{
j
} is a vector representing *j*-th exposure, **L** is a convolution matrix of emitted wave, and **r** is a vector of discretized temporal PSF, whose resolution is the same as the width of the delay. Superposing all the observations **i**

where

and *m* is the number of observations.

Since both the exposure setting and the emission waveform are known, the matrix **G**
**L** is a known matrix. Therefore, if the number of the observation is sufficiently large, the temporal PSF **r** can be estimated by the least squares method as

where (**G**
**L**)^{+} is the pseudo-inverse matrix.

In practice, matrix **G**
**L** is ill-conditioned hence the calculation as shown in Eq. (11) is unstable. However, using the property that the intensity of light does not have a negative value, it is expected to estimate robustly against the instability of calculation. Estimation of temporal PSF can be estimated by the least square method with the non-negative constraint as

Since Eq. (12) is a convex optimization problem, the optimal solution can be obtained in a polynomial time.

## Experiments

We confirm the effectiveness of our method via real-world experiments. We build a measurement system as shown in Fig. 4. A delay circuit as shown in (c), where DS1023 IC (Maxim Integrated) and Arduino micro-controller are equipped, is inserted between a ToF camera S11963-01CR (Hamamatsu Photonics) as shown in (a), and the light source as shown in (b). The delay circuit can control the delay of the synchronization signal in steps of 0.25 nanoseconds from the computer. Using this system, we obtain 256 images by changing the delay from 0 to 64 nanoseconds by 0.25 nanosecond.

We measure a scene including wood, wax, soap, and books as shown in Fig. 5 a, which cause subsurface scattering and inter-reflection. Firstly, we confirm the effectiveness of the non-negative constraint. Figure 5 b shows raw observation corresponding to the low-resolution PSF, estimated PSF by pseudo-inverse, and estimated PSF by non-negative least squares of the wood region. The observation is quite blurred due to the convolution effect of the width of light pulse and exposure time. While pseudo-inverse estimation is suffered from over-fitting, estimated result with the non-negative constraint is much stable, and the effectiveness of non-negative constraint is confirmed. We plot the PSFs of different translucent objects in the detailed scale in Fig. 5 c. Different shapes of PSFs are estimated, especially for wood and the others. The temporal spread of light inside translucent objects is finished within 1 ns; hence, our sub-nanosecond estimation has an advantage. Secondly, we recover the temporal PSFs for all pixels as shown in Fig. 5 d. This is so called “light-in-flight” images and shows how the light propagates in the scene.

We have also measured another scene as shown in Fig. 6 a, which consists of a screen and a mannequin. Figure 6 b shows a captured image with a long exposure, where the reflection on the screen and the mannequin are superposed. Recovered PSF is shown in Fig. 6 c, where two peaks are confirmed. Separating two peaks of the estimated PSF, reflections on the screen and mannequin can be separated as shown in Fig. 6 d, e. Two layers are clearly separated, and the sharpened image of the mannequin is obtained.

## Conclusion

In this paper, we propose a method to estimate temporal PSF with high temporal resolution by combining a pulsed ToF camera and a simple delay circuit. We use the delay circuit to control the light emission timing in units of sub-nanoseconds and recover the temporal PSF by a least square method with the non-negative constraint. We have conducted some real-world experiments and confirm the effectiveness of our method. We are interested in improving more higher temporal resolution in the future research so that the subsurface scattering can be fully analyzed.

## References

- 1
Gkioulekas I, Levin A, Durand F, Zickler T (2015) Micron-scale light transport decomposition using interferometry. ACM Trans Graph (ToG) 34(4): 37–13714.

- 2
Kakue T, Tosa K, Yuasa J, Tahara T, Awatsuji Y, Nishio K, Ura S, Kubota T (2012) Digital light-in-flight recording by holography by use of a femtosecond pulsed laser. IEEE J Sel Top Quantum Electron 18(1): 479–485.

- 3
Velten A, Raskar R, Wu D, Jarabo A, Masia B, Barsi C, Joshi C, Lawson E, Bawendi M, Gutierrez D (2013) Femto-photography: capturing and visualizing the propagation of light. ACM Trans Graph (ToG) 32(4): 44–1448.

- 4
Heide F, Hullin MB, Gregson J, Heidrich W (2013) Low-budget transient imaging using photonic mixer devices. ACM Trans Graph (ToG) 32(4): 45–14510.

- 5
Peters C, Klein J, Hullin MB, Klein R (2015) Solving trigonometric moment problems for fast transient imaging. Proc ACM SIGGRAPH Asia 34(6): 220–122011.

- 6
Kadambi A, Whyte R, Bhandari A, Streeter L, Barsi C, Dorrington A, Raskar R (2013) Coded time of flight cameras: sparse deconvolution to address multipath interference and recover time profiles. ACM Trans Graph (ToG) 32(6): 167–116710.

- 7
O’Toole M, Heide F, Xiao L, Hullin MB, Heidrich W, Kutulakos KN (2014) Temporal frequency probing for 5D transient analysis of global light transport. ACM Trans Graph (ToG) 33(4): 87–18711.

## Acknowledgments

A part of this work was supported by JSPS KAKENHI Grant Number JP15H05918.

### Authors’ contributions

KK planned and executed experiments and wrote the manuscript. TO executed preliminary experiments. KT advised, helped experiment, and wrote the manuscript. TA created the supplemental and helped to write the manuscript. HK and TF are co-supervisors and edited the manuscript. YM is a supervisor and edited the manuscript. All authors reviewed and approved the final manuscript.

### Competing interests

The authors declare that they have no competing interests.

### Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Author information

### Affiliations

### Corresponding author

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## About this article

### Cite this article

Kitano, K., Okamoto, T., Tanaka, K. *et al.* Recovering temporal PSF using ToF camera with delayed light emission.
*IPSJ T Comput Vis Appl* **9, **15 (2017). https://doi.org/10.1186/s41074-017-0026-3

Received:

Accepted:

Published:

### Keywords

- Time-of-flight
- Temporal point spread functions
- Light transport