---
id: "self-organizing-gaussians-compression"
title: "Self-Organizing Gaussians (SOG) 2D Codebook Image Compression"
aliases: [SOG, Self-Organizing Gaussian Grids, SOGS]
domain: "capture"
stage: "capture"
realtime: "realtime"
platforms: [webgpu, webgl2, desktop-gpu, cuda, python]
year_introduced: 2024
inputs: [gaussians]
outputs: [texture, gaussians]
style: "photoreal"
dynamic: "static"
cost: "cheap"
authority: "Morgenstern et al., 2024"
url: "https://texelatlas.vercel.app/t/self-organizing-gaussians-compression/"
sources_verified_at: "2026-11-30"
---
# Self-Organizing Gaussians (SOG) 2D Codebook Image Compression (Morgenstern et al., 2024)

> Arranges unstructured 3D Gaussian attributes onto locally smooth 2D grids via spatial sorting and k-means codebooks, compressing splat scenes by over an order of magnitude with standard PNG or WebP image codecs.

## Reach for it when

- 3d gaussian splat ply files are too huge to stream over the web
- compress splat attributes into standard image formats like png or webp
- exploit spatial coherence among neighboring gaussians for 10x smaller files
- pack 3dgs positions scales and colors into smooth 2d texture atlases
- reduce gaussian splatting vram footprint without slow runtime neural decoding

## How it works

Uncompressed 3D Gaussian Splatting PLY files store floating-point positions, rotations, scales, opacities, and spherical-harmonic coefficients in arbitrary order, routinely reaching hundreds of megabytes. Self-Organizing Gaussians (SOG) turns this irregular point set into smooth **2D attribute images** that conventional image compressors handle efficiently.

First, Gaussians are mapped onto a 2D pixel grid using a **parallel linear assignment / Morton-to-grid sorting** pass (such as PLAS) that places spatially and attribute-similar splats at neighboring texels. Continuous attributes—scales, base colors, quaternion rotations, and higher-order spherical harmonics—are quantized via **1D or vector k-means codebooks** stored as compact lookup tables, while positions are split across low- and high-byte log-encoded channels to retain precision.

Because adjacent pixels now share strongly correlated indices and values, lossless WebP or PNG compression shrinks the packed attribute textures by roughly 15×–40× with minimal PSNR loss. At load time, browsers decode the images natively with hardware or OS image decoders and reconstruct splats directly from textures and tiny JSON codebook metadata on the GPU.

## When to use it

Choose it when shipping 3D Gaussian splats over the web or storing large libraries of static captures where download size, native browser decoding speed, and low GPU memory footprint matter.

Prefer [gaussian-splatting-3dgs](gaussian-splatting-3dgs) raw PLY/SPZ storage during active training or iterative editing before final export. Prefer [basis-universal-ktx2](basis-universal-ktx2) when compressing conventional PBR surface textures rather than unstructured splat attributes. Prefer [draco-mesh-compression](draco-mesh-compression) for indexed triangle meshes.

## Cost

cheap — Decoding uses native browser PNG/WebP decoders plus simple texel/codebook lookups on the GPU; offline grid sorting and k-means clustering take seconds to minutes depending on splat count.

## Failure modes

- Over-aggressive codebook quantization can band smooth specular highlights or flatten subtle spherical-harmonic color shifts
- Lossy image compression applied to position or index textures corrupts splat coordinates catastrophically; index/position maps must stay lossless
- Spatial grid sorting is offline and breaks incremental insertion or deletion of individual splats
- Very large scenes can exceed GPU maximum 2D texture dimensions unless split into tiled regions or LOD chunks

## Dataflow

- Inputs: gaussians
- Outputs: texture, gaussians
- Platforms: webgpu, webgl2, desktop-gpu, cuda, python

## Lineage

- extends [3D Gaussian Splatting](https://texelatlas.vercel.app/t/gaussian-splatting-3dgs.md)

## Combines with

- [Hierarchical Binary-Tree 3DGS LOD & Paged Streaming](https://texelatlas.vercel.app/t/hierarchical-binary-tree-3dgs-lod.md): Packs each streamed spatial LOD node into compact lossless WebP codebook textures for low-latency web streaming.
- [Web Gaussian Splat Renderers (three.js)](https://texelatlas.vercel.app/t/web-gaussian-splat-viewers.md): Lets browser viewers decode and render compressed splats directly from image textures without shipping huge PLY files.

## Sources

1. [primary] Wieland Morgenstern, Florian Barthel, Anna Hilsmann, Peter Eisert (2024) Compact 3D Scene Representation via Self-Organizing Gaussian Grids. Lecture Notes in Computer Science. https://doi.org/10.1007/978-3-031-73013-9_2 (verified via crossref on 2026-11-30)
2. [implementation] fraunhoferhhi (2023) fraunhoferhhi/Self-Organizing-Gaussians. https://github.com/fraunhoferhhi/Self-Organizing-Gaussians License: NOASSERTION. (verified via github on 2026-11-30)
3. [implementation] WilliamLiu-1997 (2026) WilliamLiu-1997/Gaussian-Splat-Lite. https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite License: Apache-2.0. (verified via github on 2026-11-30)
4. [implementation] playcanvas (2024) playcanvas/splat-transform. https://github.com/playcanvas/splat-transform License: MIT. (verified via github on 2026-11-30)

## Cite this entry

Texel. "Self-Organizing Gaussians (SOG) 2D Codebook Image Compression." https://texelatlas.vercel.app/t/self-organizing-gaussians-compression/ (accessed 2026-12-01).
