Encoding Skeleton Sequences as Spatiotemporal Images

87 concepts65 papers1 proposal

Human motion analysis—whether for action recognition, gait analysis, or sign language translation—frequently relies on skeletal data. This data is typically captured as a time series of 2D or 3D coordinates representing key anatomical joints. Historically, researchers modeled these sequences using Recurrent Neural Networks (RNNs) to capture temporal dynamics, or Graph Convolutional Networks (GCNs) to preserve the spatial topology of the human body.

However, RNNs suffer from limited parallelization and struggle with long-term dependencies, while GCNs require specialized, computationally heavy architectures.

To bypass these limitations, a powerful paradigm shift emerged: skeleton-to-image encoding. By mapping sparse, irregular spatiotemporal coordinate sequences into dense, grid-like 2D "pseudo-images," researchers can unlock the massive feature-extraction power, translation invariance, and parallel processing capabilities of standard Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs).

The Core Intuition: Mapping Coordinates to Pixels

To understand why this approach works, consider how a standard 2D convolutional kernel operates. It slides across an image grid, aggregating local spatial patterns. To make skeletal sequences digestible for a 2D CNN, we must structure time and space into a regular grid where spatial and temporal relationships map directly to horizontal and vertical pixel adjacencies.

In the most straightforward formulation, a skeleton sequence is converted into a 2D matrix where:

  • One axis (e.g., rows) represents individual joint indices (e.g., head, wrist, knee).
  • The other axis (e.g., columns) represents successive time frames.
  • The color channels (R, G, B) store the raw spatial attributes, such as the $X, Y,$ and $Z$ coordinates of each joint.
   Time Frames (t=1, t=2, t=3, ...)
J  [ X1, Y1, Z1 ] [ X2, Y2, Z2 ] ...  <- Channel 1: X
o  [ X1, Y1, Z1 ] [ X2, Y2, Z2 ] ...  <- Channel 2: Y
i  [ X1, Y1, Z1 ] [ X2, Y2, Z2 ] ...  <- Channel 3: Z
n  ...
ts

As demonstrated by Chao Li et al. in Skeleton-based Action Recognition with Convolutional Neural Networks and Chuankun Li et al. in Joint Distance Maps Based Action Recognition With Convolutional Neural Networks, this transformation redefines motion analysis. When a 2D convolutional kernel slides horizontally, it acts as a temporal filter, capturing how a specific joint moves over time. When it slides vertically, it acts as a spatial filter, aggregating the relative positions of different joints within a single frame.

Preserving Structural Locality via Tree-Traversal Encodings

A naive mapping of joints to rows presents a significant flaw: if joints are ordered arbitrarily (e.g., alphabetically or by sensor ID), physically disconnected joints (like the left hand and right foot) might end up in adjacent rows. A convolutional kernel sliding vertically would then mistakenly conflate their features, treating them as a localized spatial unit.

To preserve the true physical topology of the human body, researchers restructure the joint axis using a tree-structure traversal (such as a depth-first search along the skeletal bones). This ensures that physically connected joints remain adjacent in the pseudo-image grid.

Physical Skeleton:          Tree-Traversal Order (Rows):
    (Head)                      1. Head
      |                         2. Neck
    (Neck)                      3. Left Shoulder
    /    \                      4. Left Hand
(L-Sh)  (R-Sh)                  5. Right Shoulder
  |       |                     ...
(L-Hd)  (R-Hd)

Carlos Caetano et al. validated this intuition in Skeleton Image Representation for 3D Action Recognition based on Tree Structure and Reference Joints, demonstrating that ordering joints by body segments drastically improves the discriminative power of the resulting texture patterns. Similarly, David Laines leveraged tree-structured skeleton images in Isolated Sign Language Recognition based on Tree Structure Skeleton Images to capture the fluid, interconnected movements of hands and arms.

By organizing the grid this way, the structural constraints of the human body are naturally embedded into the image layout, allowing standard architectures—like the Residual Networks explored by Hieu Pham et al. in Exploiting deep residual networks for human action recognition from skeletal data—to extract meaningful spatial hierarchies without needing custom graph operators.

Alternative Encodings: Trajectories and Dense Heatmaps

Beyond the coordinate-matrix approach, researchers have developed alternative mapping strategies to emphasize different kinematic properties:

1. Dense Skeleton Maps and Heatmaps

Instead of treating joint indices as abstract rows, some methods render the skeleton directly onto a 2D spatial canvas across time, creating a video-like representation. Joints are rendered as continuous Gaussian blobs, and limbs are drawn as connecting lines.

In SkeletonGait: Gait Recognition Using Skeleton Maps, Chao Fan et al. demonstrated that converting sparse coordinate points into dense, multi-channel representations of joints and limbs bridges the gap between structural data and high-performance vision models. This strategy is highly effective for multi-modal fusion; for instance, Fanxu Min et al. showed in GaitMA: Pose-guided Multi-modal Feature Fusion for Gait Recognition that heatmap encodings allow skeletal data to be seamlessly combined with silhouette images using standard cross-attention mechanisms.

2. Trajectory and Kinematic Projection

Another approach projects the continuous path of joints directly onto a 2D canvas, using color channels to encode non-spatial kinematic properties like velocity, acceleration, or motion magnitude.

Yemin Shi et al. utilized this concept in Sequential Deep Trajectory Descriptor for Action Recognition With Three-Stream CNN, mapping 3D motion trajectories onto a 2D canvas where the channels represent directional displacements and motion magnitude. This turns complex temporal motion patterns into static spatial textures. Similarly, Victor Skobov in Making Body Movement in Sign Language Corpus Accessible for Linguists and Machines with Three-Dimensional Normalization of MediaPipe mapped 3D limb angles directly to RGB channels, creating a human-interpretable visualization of gesture rhythms and repetitions over time.

Why It Works: Unlocking Pre-trained Vision Priors

The ultimate power of skeleton-to-image encoding lies in its compatibility with transfer learning. Training a complex graph neural network or a custom sequence model from scratch requires massive amounts of labeled motion data. By converting motion into an image format, researchers can immediately deploy high-capacity models pre-trained on millions of natural images (like ImageNet).

This advantage spans several downstream applications:

By transforming abstract, sparse coordinate streams into structured visual textures, skeleton-to-image encoding effectively reconfigures a specialized geometric problem into a standard image-processing task, leveraging the full maturity of modern computer vision.

Key Foundational Work

Sequential Deep Trajectory Descriptor for Action Recognition with Three-stream CNN (2017) — contributed 2 concept elements to this direction.
Investigation of different skeleton features for CNN-based 3D action recognition (2017) — contributed 2 concept elements to this direction.
SkeletonNet: Mining Deep Part Features for 3-D Action Recognition (2017) — contributed 1 concept elements to this direction.
History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 59 papers
  2. Version 1 · 2026-10-04 · 88 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_skeleton_to_image_encoding_bbce3cae,
  title = {skeleton-to-image encoding},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/skeleton-to-image-encoding/rdr_bbce3caec4194d6f9c2b416bb40f8328},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 2, frozen text):

@misc{lacuna_skeleton_to_image_encoding_bbce3cae_v2,
  title = {skeleton-to-image encoding},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/skeleton-to-image-encoding/rdr_bbce3caec4194d6f9c2b416bb40f8328/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-25},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake