Abstract
I present a visual tokenization pipeline that converts hydrographic XTF packets into rasterized frames, enabling image-native compressors to index sonar surveys with deterministic fidelity. By aligning sonar amplitudes with lightweight descriptors, the method preserves geophysical detail while unlocking GPU-friendly streaming for downstream analytics.
The current prototype reduces ingest latency enough to run hazard detection aboard survey vessels, laying groundwork for future work on cross-domain tokenizers for marine sensing.
Visual rasterization
Maps raw side-scan channels into calibrated grayscale frames — 512×512 per ping — without losing amplitude context.
Token descriptors
Deterministic histogram + Sobel tile signatures that work with compressors and CLIP-like encoders alike.
Streaming QA
Real-time reconstruction checks flag amplitude drift above 0.9% before data leaves the vessel.
Gain-aware metadata
Gain and slant-range normalization travel with each frame, so tokens can be decoded back to source values.
The field problem
Survey vessels log terabytes of XTF every week. Traditional readers march through each packet linearly, so analytics crews wait for data to “land” before QA, mosaicking or ML-based hazard calls can begin. I want a tokenizer that behaves more like an image workflow: streaming-friendly, chunkable, and compatible with modern compressors.
- Raw inputs: dual-channel side-scan pings (512 samples each) plus metadata blocks for gain, slant range, layback and GPS fixes.
- Constraints: runs on a laptop GPU offshore, keeps packets deterministic, and avoids rewriting the downstream toolchain.
- Opportunity: visual compressors already know how to tokenize textures. If each ping becomes a grayscale micro-frame, delta encoding and dedupe come for free.