Files
NODEDC_MISSION_CORE/simulation/urban-plan-research/families_pass/README.rst
T
DCCONSTRUCTIONS 69dc566665 feat(research): preserve urban geometry pipelines and qualification suites
Preserve offline geometry, marking, replay and evaluation pipelines with source manifests and synthetic tests. Research qualification does not activate these methods as production navigation.
2026-10-29 09:10:00 +03:00

108 lines
6.2 KiB
ReStructuredText

Gaussian-only crosswalk and short-dash families
=============================================
Status
------
Research increment families-pass-20261012, source 482ae9e8118b3145a6c2.
Same code and metric policy on Maroseyka, Pokrovka and Smolensk. No manual
geometry, processing ROIs, scene-specific thresholds or point-cloud inputs.
This is downstream paint reconstruction over the accepted continuation-pass
candidate. It is not a complete new end-to-end run or production deployment.
Inputs and outputs
------------------
/fullplan/full-map.json is the immutable continuation-pass baseline, not the
older full-plan map. /evidence_plan contains cached semantic fields and depth;
/ortho, /survey and /input supply native detailed Gaussian ground RGB, vehicle
masks and calibrated transforms. Upstream semantic models are not rerun.
/out/full-map.json preserves all untouched features, including roads,
pedestrian polygons, facades and symbol templates. Reports distinguish image
observations, retained seed observations and inferred internal dash slots.
Crosswalk replacement removes the previous stripe objects as a group, so old
and new rectangles are not stacked on top of one another.
Method
------
1. Group seeded crossing stripes by direction, relative size and proximity.
Fit shared orientation and robust linear end envelopes using SciPy
least_squares. Adapt the existing recover_stripes brightness-profile idea
from parametric-fit-20261010/fit_scene.py to the current whole-map output.
2. Sample Gaussian RGB at 0.025 m transverse spacing over the middle 60 percent
of stripe length with OpenCV remap. Mask vehicles. Within confirmed crossing
extent, a semantic road-mask hole does not erase image paint evidence.
Unknown samples may interpolate the analysis signal but never count as a
new observation.
3. SciPy find_peaks and peak_widths recover observed stripes. Locate centers
between both half-prominence edges rather than at the brightest pixel.
Use white/yellow color profiles where both colors have repeated support.
Limit exterior search to 2 m and require observed, compatible evidence.
Weak peaks are suppressed; unseen periodic slots do not generate crosswalks.
4. Fit shared rectangular stripe geometry, retaining parent IDs and marking
seed centers without fresh image matches. Width is a shared median bounded
to avoid overlaps. Shared ends and width are still approximate, not measured
independently for each stripe.
5. For short dashed lines, reuse robust OpenCV Huber fitting. Require at least
three observed intervals, consistent lengths, period and phase. Only fill
internal slots within the observed range; veto crosswalk overlap and
incompatible road domain. Repeated dashes never become a solid line.
Results
-------
Maroseyka: 16 crossing families, 111 -> 120 stripes, 1 internal dash added.
Pokrovka: 19 crossing families, 136 -> 144 stripes, 2 internal dashes added.
Smolensk: 2 crossing families, 18 -> 19 stripes, no dash added.
Total: 37 crossing families, 18 additional stripe objects, 3 inferred dash slots.
Numbers describe output objects, not measured recall or accuracy.
All 11 controlled checks passed, including rotation/translation invariance,
vehicle exclusion, missing observations, color alternation, center stability,
nonoverlap and dash/crosswalk exclusion. Real-scene audit checks untouched
features, valid XYZ, provenance, observed recovery centers and nonoverlap.
All 37 crossing comparisons and 8 dash-family comparisons were visually read.
Known limitations and next work
------------------------------
Seeded families are required: completely undetected crossings are not found.
Some inferred shared ends remain too long or short; some widths are visibly
narrower than paint. Maroseyka crossing 15 still misses exterior stripes.
Smolensk's white/yellow family remains incomplete and retains uncertain seed
centers. New observed centers are not equivalent to verified entire polygons.
No independent metric ground truth or blind new-scene qualification is claimed.
Curbs, pedestrian silhouettes, facades and symbols are unchanged by this pass;
their previously recorded gaps and offsets remain. Next tests should improve
shared-end/width estimation and crossing discovery, then the planned joint
road/pedestrian boundary reconstruction. Review IDs are diagnostics only and
must not enter geometry settings or scene-specific exception tables.
Reproduction and ownership
--------------------------
Canonical source: simulation/urban-plan-research/families_pass/bundle.json.
Resolve each files entry relative to simulation/urban-plan-research and stage
as a flat directory, checking the SHA-256 entries. The output source ZIP is
already flat. It has ten Python files, README and bundle manifest.
review-font.ttf is a rendering-only external font, not bundled in the source
ZIP. The exact qualified copy and SHA are retained in qualification source and
source-sha256.json; computation and audit do not depend on this font.
Qualification: .runtime/simulation-qualifications/families-pass-20261012/operator.
Worker: C:/NDC_MISSIONCORE_CACHE/urban-mapping/qualifications/families-pass-20261012.
The replay folder preserves runner, collector, verifier, scene registry and
source identity. This operator replay requires the existing Mission Core
checkout, queue API, SSH alias mission-gpu, pinned baseline maps, private survey
caches, config-v8.json and workspace layout. It is not a standalone public CLI.
Runner stages: refine_paint, test_families, audit_families, render_families,
render_plan. Set URBAN_SOURCE_BUNDLE to the immutable qualified flat directory.
Run refine before audit/render and collect after completion. Accepted baseline
SHA comes from urban-plan-refinement-20261012/verification.json.
All numerical work, tests and rendering run on Worker006. Local operations
only orchestrate, verify hashes, copy artifacts and review images.
Pinned worker image:
sha256:925b093545e15c270d95d4076139ad8ed48e790eccd9434a58495d58c97671d0
Bounded stage: 4 CPU, 20 GiB RAM, read-only root, network none, 1 GiB tmpfs,
1800 s timeout. Queue reservation precedes execution; cleanup removes only the
owned ndc-families container and releases ownership after confirmation.
No runtime installation, live-map publication, source commit or Ops write.