liveBook · Manning

Spatio-temporal volume

As explained in Math and Architectures of Deep Learning

A three-dimensional tensor representing video data across space and time.

A spatio-temporal volume is a three-dimensional tensor representing video across two spatial dimensions and time. Each cross-section is a frame: a discrete height-by-width pixel array sampled at one point in the evolving scene. Visualize the video as a cuboid whose axes are time, height, and width. section 10.4

The volume matters because:

  • Analyzing frames independently discards motion information; successive frames reveal changes that a single image cannot determine, such as whether a half-open door is opening or closing. section 10.4
  • Three-dimensional convolution extracts local patterns across space and time. A kernel acts like a small brick sliding through the input volume, producing one output value at each slide stop and an output spatio-temporal volume overall. section 10.4

Detecting motion with a 3D kernel

A 2 × 3 × 3 kernel compares two successive frames by averaging each 3 × 3 spatial neighborhood and subtracting one average from the other. The response is high where motion changes pixel colors and low where the scene is static. For a uniformly colored moving ball, the detector responds mainly at the boundary, not the indistinguishable center. section 10.4.1

How Math and Architectures of Deep Learning covers it

How deep it goes
Defines the cuboid representation and explains sliding-kernel computation, stopping short of implementation details beyond a motion-detection kernel.
Examples
Uses a half-open door, a sliding kernel brick, and a synthetic moving ball with boundary-focused motion outputs.
What it assumes
Builds from zero around video frames, pixels, spatial neighborhoods, and sampled time rather than assuming a prior volume formalism.
What you can do after
Apply 3D convolution to video volumes and interpret responses as spatially localized motion evidence.
How it connects
Connects video, pixels, frames, three-dimensional convolution, kernels, motion detection, and output volumes.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Math and Architectures of Deep Learning. The section links point to the parts of the book it draws on.