# Time Surface

Defined in (NO_ITEM_DATA:lagorce_hots_2017)

Say we have a stream of visual events:

$$e v_{i}=\left[\mathbf{x}_{\mathbf{i}}, t_{i}, p_{i}\right]^{T}, \quad i \in \mathbb{N}$$

where $$ev_{i}$$ is the ith event, and consists of a location $$\mathbf{x}_{\mathbf{i}}$$, time $$t_{i}$$ and polarity $$p_{i} \in \{-1, 1\}$$.

Time surface $$S_{i}$$ of event $$ev_{i}$$ keeps track of the activity surrounding the spatial location $$\mathbf{x}_{\mathbf{i}}$$.

We define the time-context \mathcal{T}i(\mathbf{u}, p) around an incoming event $$ev_{i}$$ as the array of most recent event times at $$t_{i}$$ for the pixels in the $$(2R+1) \times (2R+1)$$ square neighbourhood centered at $$\mathbf{x}_{\mathbf{i}}$$ as:

$$\mathcal{T}_{i}(\mathbf{u}, p)=\max _{i \leq i}\left\{t_{j} \mid \mathbf{x}_{\mathbf{j}}=\left(\mathbf{x}_{\mathbf{i}}+\mathbf{u}\right), p_{j}=p\right\}$$

where $$u_{x,y} \in \{-R, \dots, R\}$$. Then $$S_{i}(\mathbf{u}, p)$$ is the obtained by applying an exponential decay kernel with time constant $$\tau$$ on $$\mathcal{T}$$:

$$\mathcal{S}_{i}(\mathbf{u}, p)=e^{-\left(t_{i}-\mathcal{T}_{i}(\mathbf{u}, p)\right) / \tau}$$

The time surface provides dynamic spatiotemporal context around an event, and the exponential decay expands the activity of passed events and provides information about the history of the activity in the neighbourhood.

## Bibliography

NO_ITEM_DATA:lagorce_hots_2017