flow_magnitude — REPRCONV flow op

Data kinds: flow_densevoxel

Call: import reprconv; reprconv.flow_magnitude(flow) (or opsreprconv.get("flow_magnitude"))

Usage

Dense scene flow `(3,D,H,W) → a speed volume voxel (D,H,W). The exit from flow`.

> The detailed description below is the original text — the summary and the headings are translated.

`sqrt(dz^2 + dy^2 + dx^2)`。一方向(向きを捨てるので戻せない)。

捨てた量は明示できる: 3 成分のうち 2 自由度ぶんの方向が消え、残るのは

大きさだけ。方向まで見たいときは :func:flow_to_rgbimage

Args:

flow: (3, D, H, W)。成分順は (dz, dy, dx)(`scene_flow_lk` の約束)。

Returns:

(D, H, W) float64。

Raises:

ValueError: 密フローでない / 非有限。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

perception_on_videopy -3.11 examples/perception_on_video.py

representation_roundtrippy -3.11 examples/representation_roundtrip.py

Ops the type connects to (they accept voxel as input)

correlation_score

Same category (flow)

flow_to_rgbimage · flow_speed · flow_apply


*Provenance: reprconv.py — REPRCONV operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.