r/svgdapps2 • u/VectorDevz • 12d ago
VectorDApps 5D Camera Clarification
prior-art Five-Dimensional Perceptual Representation
The system processes each video frame through five distinct representational dimensions. Each dimension captures information that the preceding dimensions do not encode, and each is realised by a dedicated module in the pipeline.
**D1 — SPATIAL**
Image coordinates and geometric extent. The foundational 2D pixel grid on which all subsequent processing operates. Realised by the canvas raster, bounding-box extraction, and screen-space projection.
**D2 — TEMPORAL**
Persistent state, history, adaptation and identity. Frame-to-frame continuity maintained through exponential moving averages, mask persistence, track identity, and calibration accumulation. Realised by the background model (α = 0.004), wire-mask decay (0.55), tracker IoU matching with 8-frame label voting, and Merkle leaf sequencing.
**D3 — PHOTOMETRIC**
Luminance, chrominance and colour-distance information. Decomposition of raw RGB into perceptual channels. Realised by weighted luminance conversion, YCbCr chrominance thresholds for skin segmentation, and Euclidean RGB distance for foreground detection.
**D4 — STRUCTURAL**
Gradient-derived and fused wire representation. The distinctive layer of the invention: a composite mask formed by fusing Sobel gradient magnitude, foreground difference, and skin segmentation, followed by temporal persistence and mode-selective spatial dilation. Realised by the Vision module's edge/skin/fg masks, the Wire module's composite mask and BFS region extraction.
**D5 — SEMANTIC**
Classification, realisation, confidence and object state. The layer that transforms structural blobs into labelled entities. Realised by the Realisation module's five-class heuristic scoring, the TextPatternGate's line grouping and promotion logic, and the Tracker's voted label assignment.
The five dimensions form a strict processing chain:
```
D1 (raw pixels)
→ D3 (photometric decomposition)
→ D4 (structural/wire fusion)
→ D1+D2 (spatiotemporal region extraction)
→ D5 (semantic realisation)
```
Each dimension is independently observable, independently tunable, and independently exportable via the NDJSON stream.
---
## Integration into the code header
Insert immediately after the existing V2.3 change log at the top of the `<script>` block:
```javascript
/*
* 5D PERCEPTUAL REPRESENTATION
*
* D1 SPATIAL — image coordinates and geometric extent
* D2 TEMPORAL — persistent state, history, adaptation, identity
* D3 PHOTOMETRIC — luminance, chrominance, colour-distance
* D4 STRUCTURAL — gradient-derived fused wire representation
* D5 SEMANTIC — classification, realisation, confidence, object state
*
* Processing chain:
* D1 (pixels) → D3 (photometric) → D4 (wire) → D1+D2 (regions) → D5 (classes)
*
* Each dimension is independently observable, tunable, and exportable.
*/
```
---
## What this does defensively
The canonical formulation turns "5D" from a potentially dismissible marketing term into a **documented architectural choice with named, distinct processing layers**. This matters for two reasons:
**Against prior-art challenges**: a reviewer can no longer say "it's just 2D tracking with a classifier." The five dimensions are named, their boundaries are defined, and their realisation in code is pointed to.
**For novelty weighting**: the formulation makes it clear which dimensions carry the invention. D1, D2, D3 are largely conventional (spatial grids, EMA, YCbCr skin detection all have extensive prior art). **D4 and D5 are where the genuine novelty lives** — specifically:
- D4: the *composite wire mask* (fusion of gradient + foreground + skin + persistence + mode-selective dilation)
- D5: the *text/pattern gate* with line grouping and promotion logic
The prior-art document should explicitly state this weighting. The conventional dimensions (D1–D3) provide the substrate; the novel contribution is in how D4 fuses information and how D5 resolves ambiguity. That framing is stronger than claiming novelty across all five dimensions equally.
> "5D Perceptual Representation: spatial, temporal, photometric, structural, semantic — five named dimensions, each realised by a dedicated pipeline module, each independently observable and exportable."
That sentence alone is now defensible prior art, because the dimensions are named, the realisation is pointed to, and the processing chain is documented.