Preserve offline geometry, marking, replay and evaluation pipelines with source manifests and synthetic tests. Research qualification does not activate these methods as production navigation.
109 lines
6.6 KiB
ReStructuredText
109 lines
6.6 KiB
ReStructuredText
Urban infrastructure continuation pass — offline research
|
|
=========================================================
|
|
|
|
This increment consumes the Gaussian-only v8 seed stage and the four-layer
|
|
Gaussian evidence bundle. It is a reusable downstream stage; it does not replace
|
|
or re-train the upstream Gaussian renderer, SAM3 paint proposals, Mapillary class
|
|
fusion or covariance-based first-floor facade observations.
|
|
|
|
Uniform pipeline
|
|
----------------
|
|
|
|
1. Retain v8 object chains. Propose bounded line/arc simplification with a 0.45 m
|
|
maximum change from the seed, not a ground-truth accuracy claim.
|
|
2. Generate endpoint and trimmed-terminal alternatives. SciPy Hermite splines
|
|
interpolate candidate curves; HiGHS selects mutually exclusive continuations.
|
|
Explicit survey exits and known openings remain open. Scan support, road caps,
|
|
opposite surface sides, intersections and inferred loops are guarded.
|
|
A locally visible, unoccluded transport corridor vetoes a proposed cap even
|
|
when it occupies a small fraction of a long connection. Vehicle occlusion
|
|
is treated separately from observed open road. A 0.7 m morphological closing
|
|
removes sub-metre semantic pinholes for this veto only; it never draws curves.
|
|
3. Re-anchor the neighborhoods of selected connections. The existing normal-strip
|
|
dynamic program and weighted minimum-curvature fit use Gaussian appearance,
|
|
height, opacity, vehicle occlusion and sidewalk-side context. Missing evidence
|
|
receives zero observation weight. Other chain sections and scan terminals
|
|
remain fixed before the bounded final primitive fit.
|
|
Exterior road support is required for new curb anchors; a sidewalk/building
|
|
interface cannot attract a road curb.
|
|
Each automatic gap neighbourhood is admitted independently, even where
|
|
neighbourhoods overlap. A correction must improve its own evidence. Under
|
|
substantial vehicle occlusion it must not introduce extra curb turning.
|
|
Rejected corrections retain the joined parent geometry. Accepted corrections
|
|
fade over 3 m at their boundaries to avoid a seam with unchanged neighbours.
|
|
4. Diagnostic experiment only (not included in the selected result): propose
|
|
missing interfaces from one-sided observed sidewalk support. Exclude
|
|
measured facades, terrain, existing edges and crossing geometry. These carry
|
|
inferred-road-adjacency status and are not ground-truth road classifications. Cross-scene review found false plaza edges;
|
|
the same global decision excludes this addition on every scene.
|
|
5. Join measured frontage planes using OpenCV Huber fits, bounded gap/offset and
|
|
a veto for connecting through observed road surfaces. Short vertical planes
|
|
substantially supported by vehicle masks are rejected with their source IDs.
|
|
Hidden backs remain
|
|
unknown; the result is frontage lines, not closed building footprints.
|
|
6. Extract appearance components from native Gaussian ground renders. Semantic
|
|
proposals nominate objects, then whole components are tested. Counter topology
|
|
distinguishes A from arrows; arrow direction is conditioned on nearby road
|
|
orientation. OpenCV/SciPy fit reusable attributed SVG arrow presets and an
|
|
original parametric A. Unsupported candidates stay in a rejection record.
|
|
Object NMS after fitting removes duplicate glyphs from overlapping fragments;
|
|
nearby distinct glyphs remain separate.
|
|
7. Fit collinear paint as continuous or periodic families with common width and
|
|
period. Only bounded interior gaps are filled. Crosswalks and road-domain
|
|
checks constrain reconstruction. Previous admitted paint is retained unless
|
|
replaced. The pedestrian coverage layer is retained with refreshed curb IDs.
|
|
|
|
Run contract
|
|
------------
|
|
|
|
All geometry/rendering/tests run in a reserved Worker006 container. Read-only
|
|
mounts: /base, /fullplan, /ortho, /survey, /multiview, /input; writable: /out.
|
|
The selected road variant is reanchored; recovered.json is rejected diagnostic
|
|
output. Run test_refine.py, refine_scene.py, assemble_plan.py, render_scene.py,
|
|
render_plan.py and audit_scene.py. The operator qualification harness records
|
|
an immutable source snapshot, image digest, timestamps, hashes and cleanup.
|
|
There are no scene-specific parameters, processing ROIs, station coordinates or
|
|
manual vector patches. Scene names only label the review images.
|
|
|
|
The flat replay bundle is described by bundle.json. Review-font.ttf is a separate
|
|
optional Cyrillic-capable font used only by image rendering. Private scans and
|
|
renders are not included in source. No point cloud or collider is used.
|
|
|
|
Evidence and limits
|
|
-------------------
|
|
|
|
The independent audit checks finite valid XYZ, unique IDs, simple road chains,
|
|
road-chain crossings, new inferred intervals on the final geometry, protected open
|
|
ends, retained sidewalk coverage, curb references and accounting for every retained/rejected facade parent.
|
|
New inferred_spans describe this pass only. Inherited v8 inference and uncertainty
|
|
remain in the referenced source IDs and immutable seed/full-plan bundles; the
|
|
rest of a line is not certified as wholly observed.
|
|
|
|
Controlled tests include known occlusions, real openings, sharp/rounded shapes,
|
|
rigid-coordinate transfer, repeated paint, symbol ambiguity and physical-edge
|
|
re-anchoring. These checks do not establish survey accuracy or detection recall.
|
|
|
|
Whole-scene before/after images, all surveyed tiles, automatically chosen details,
|
|
every accepted road interpolation and every accepted glyph are retained for
|
|
visual review. Successful geometry checks alone are not visual acceptance.
|
|
The three existing development scenes are regression tests, not a new blind
|
|
holdout. A single common policy is an implementation property, not proof of
|
|
universal quality on arbitrary future scans.
|
|
|
|
Known omissions: closed hidden building footprints; complete bicycle/parking
|
|
symbol vocabulary; guaranteed recovery of every line or crossing; independent
|
|
position-accuracy measurements. Retained pedestrian coverage silhouettes are
|
|
not resnapped to the engineering curves. Gaussian covariance candidates may also
|
|
include walls/fences rather than independently verified building identities.
|
|
No navigation permission or product/live-map publication is assigned.
|
|
|
|
Artwork attribution
|
|
-------------------
|
|
|
|
road_glyph_presets.py contains adapted arrow artwork by Major Alexey, 2015:
|
|
https://commons.wikimedia.org/wiki/File:1.18_Russian_road_marking.svg
|
|
License: CC BY-SA 4.0, https://creativecommons.org/licenses/by-sa/4.0/
|
|
Changes: SVG curve sampling, coordinate normalization, metric scaling and stroke
|
|
fitting. The attribution and share-alike license apply to this arrow artwork;
|
|
the normalized geometry and source strings are kept together in that module.
|