Skip to main content

Module stream

Module stream 

Source
Expand description

cumulus3d stream: feed the positions of the input folder one by one into the Session reducer (Pipeline), and the default output hooks (crate::sinks) produce timeline.txt, run.log, point clouds and snapshot files. The computation (features -> pair matching -> first model / continued registration -> per-zone preview and refinement) lives in crate::session. run_stream converts the settings into a plan (crate::declare::Plan) and runs it through the declarative layer (crate::declare).

Structs§

Layout
Position <-> image name. Position = index in the selected frame list (not file number / stride).
StreamConfig
Stream settings. Defaults = script behavior.

Constants§

CAMS
Camera folders (script order).

Functions§

frame_set
Frame bundle of position p (camera order camF, camR, camL).
frame_set_of
Frame bundle of position p (camera order = cams).
pairs_for_position
Same pairing rule as the script: same camera gaps 1..5, 8, 16 / different cameras at position difference 0..4. Sorted name pairs.
regions
Zones: start = 0, SPAN, …; [start-OVL, start+SPAN+OVL) intersect [0, NPOS). Completion position = hi-1.
run_stream
Run the stream: convert the settings into a plan (Plan::from_stream) and validate and run it through the declarative layer (Recon). Recreates the output folder. The output is the same as when the session reducer + pipeline + default output hooks are assembled directly.
session_config
Stream settings -> session settings. gps = GPS records of the selected images (file order), dense = None skips densification.