Structure matters
Point clouds become more compressible when their physical or acquisition structure is made visible to the codec.
I investigated preconditioning techniques for 3D point clouds to improve their compressibility—starting with image-based representations and progressing to structure-aware ZFP experiments.
This clean reproduction uses the 35,947-vertex Stanford Bunny. The original float32 XYZ payload is reshaped into an image-compatible byte layout, encoded, decoded, and rebuilt as a point cloud. Rotate the result to see how lossy image compression can leave shadows or aliases of the geometry.
Interactive representation experiment
Rotate the Stanford Bunny, compare the original XYZ cloud with the JPEG-decoded payload, and overlay both shapes to inspect geometric shadows and aliases.
PNG reconstructed this payload bit-for-bit. JPEG quality 100 changed 42.4% of payload bytes; its median XYZ error was 0.0617 in the source coordinate units.
A point cloud is often stored as an unordered list of XYZ values. Generic compressors see neighbouring rows in memory, not neighbouring points in space. My work tests whether image layouts, ordering, spherical coordinates, compact indices, and controlled precision can expose enough structure for numerical compressors to become effective.
LiDAR produces large spatial datasets for autonomous driving, mapping, digital twins, and robotics. Compression can reduce storage and network demand, but file size alone is an incomplete metric. A fair experiment must also measure geometric fidelity, attribute recovery, ordering requirements, decoder completeness, and runtime.
Point clouds become more compressible when their physical or acquisition structure is made visible to the codec.
Each experiment isolates image layout, ordering, score, index coding, quantization, or numerical compression.
Payload, framing, permutations, precision, reconstruction error, and decoder requirements are evaluated together.
If XYZ bytes are reshaped into an image carrier, PNG or JPEG may exploit local patterns even without understanding geometry.
The binary XYZ payload is reshaped into an image-compatible byte layout. PNG is tested losslessly; JPEG quality 100 is tested as an explicitly lossy control.
Image wrapping reduced the stored payload by 10.71% with PNG and 3.93% with JPEG q100. The clean Bunny reproduction then exposes the reconstruction consequences.
What this shows. PNG found more byte-level redundancy than JPEG q100, while the interactive Bunny makes the geometric cost of the lossy path visible.
Sorting by radial distance or a structural score should make neighbouring numerical values easier for compression codecs to encode.
Original-order, distance-sorted, and score-sorted XYZ streams are compared. Sorted variants also store the permutation needed to restore point order.
Sorting reduced the encoded range component by 18.22%, but complete order-recoverable controls became 28–38% larger.
Points ordered by a recovered log-cardinality score may reveal regions that a numerical codec encodes more efficiently.
All points, the lower-score half, and the higher-score half are evaluated along a controlled removal sequence with signed byte changes.
The higher-score half began at 1.02378 compressed/raw versus 1.04550 for the lower-score half, but neither stream became smaller than raw.
What this shows. The score separated easier and harder subsets, but both compressed-to-raw ratios remained above the 1.00 raw-size line.
The one-by-one recompression is a diagnostic probe rather than a practical codec because its cost grows roughly quadratically.
Quantized spherical angles repeat. Replacing them with indices should expose smaller, more regular values.
Phi and theta indices are repeatedly centred, converted to absolute deltas, and paired with explicit sign bits until four-bit magnitudes remain.
The 447,784-byte result was 37.91% below the raw angle-mapping reference and the smallest of six self-contained angle encodings.
What this shows. The midpoint-delta and explicit-sign representation produced the lowest self-contained bytes per point among the six exact encodings.
Each iteration must preserve its centre and sign stream, so the comparison includes the representation metadata.
Distances, angle dictionaries, index deltas, and signs have different statistical structure and can use different encoders.
XYZ is quantized in spherical form; repeated distances are run-length coded; angle indices use the midpoint-delta transform; numerical and byte streams are encoded separately.
The order-free quantized set reached 479,569 bytes. Quantization contributed the larger first reduction; the custom coding stage added a second measurable reduction.
What this shows. The move to controlled precision supplied the larger first reduction, and the stream-specific custom coding stage added a second measurable reduction.
The experiment reports the order-free quantized set so the effect of quantization and coding can be separated.
If a raw XYZ matrix already contains sufficient numerical correlation, reversible ZFP should reduce it without a representation change.
The 179,170 × 3 float64 coordinate matrix is compressed directly using reversible ZFP and decoded exactly.
The 4.300 MB numerical payload became 5.229 MB. A rectangular array in memory was not equivalent to a smooth spatial field.
What this shows. The exact ZFP stream was 21.60% larger than the original numerical payload.
The result motivates the representation study: list order does not expose the smooth spatial neighbourhoods expected by a structured-array codec.
Useful for fast byte and index streams, but raw binary PCD showed no meaningful gain.
A strong point-cloud-specific baseline that remained better in the aligned whole-cloud comparison.
Mapped X, Y, and Z into image channels; achieved large stored-size reductions with reconstruction caveats.
Produced compact geometry payloads and supplied a useful point-cloud-specific reference alongside the custom experiments.
An exploratory branch combining spherical dictionaries with frequency filtering; end-to-end fidelity remained unresolved.
Tested structure-aware lossy reductions, including local standard-deviation filtering and PMLS-like smoothing.
Investigated ordering through iterative swaps; partial logs showed small gains but not a complete reproducible codec.
Compared uint16, 10-bit, 20-bit-pair, normalized residual, and occurrence-list encodings against the custom transform.
Grouped points by local information content to test whether entropy-homogeneous subsets exposed more regular, compressible structure.
Explored attraction-inspired reordering to bring spatially related points into a more regular sequence before coding.
Large 3D streams affect logging, mapping, remote robotics, simulation, and continuous model development. Current reference directions solve different parts of the problem rather than producing one universal winner.
Directly codes sparse 3D geometry and attributes. Its generality brings configuration, complexity, and rate–distortion choices.
Uses the video ecosystem for dynamic volumetric content, but projection and patch processing add artifacts and overhead.
Efficiently transports meshes and point clouds, while quantization and graphics-oriented assumptions must match the downstream task.
Exploit acquisition order and temporal range-image structure, which is powerful but sensor- and representation-dependent.
Uses spherical LiDAR structure with learned compression; model cost, deployment complexity, and domain transfer remain practical considerations.
Excels on structured numerical fields, but unordered particle lists do not naturally supply the smooth neighbourhoods it expects.
No single method simultaneously optimizes sparse and dense geometry, attributes, temporal prediction, exact order, random access, streaming latency, bounded error, and downstream perception quality. The central engineering task is to match representation, fidelity budget, and access pattern to the application—and measure the complete recoverable system.