dispense_mass_from_video — DRIVE granular op

• Data kinds: any × scalar × scalar × signal → table

• Call: import fullseye as fs; fs.ledger.dispense_mass_from_video(frames, pitch: 'float', bulk_density: 'float', times, ground=None) -> 'dict' (to call the implementation directly, import granular; granular.dispense_mass_from_video(frames, pitch: 'float', bulk_density: 'float', times, ground=None) -> 'dict'; from the registry, opsdrive.get("dispense_mass_from_video"))

Usage

Dispensed mass and discharge rate from a sequence of heightmaps — heap volume of each frame × ρ_b, and a linear fit against time (least squares).

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

返り: masses [kg]、rate(傾き [kg/s])、total(最後 − 最初)、rms(直線残差 [kg])。Raises ValueError: コマが 2 未満 / 時刻の数が合わない / 時刻が単調でない。画像の体積分解能は pitch³ ρ_b の桁(1 mm・1500 kg/m³ で 1.5 mg/画素³ だが、縁の 1 画素の不確かさが面積 × pitch で乗るので実際は g 級)。mg 級は秤に譲る。

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)

• poc_granular_heap_repose — py -3.11 examples/poc_granular_heap_repose.py

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

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

Same category (granular)

heap_volume_cone · heap_mass · heap_volume_heightmap · beverloo_rate · beverloo_fit · discharge_synth · hopper_discharge_rate · spoon_tilt_critical


*Provenance: granular.py — DRIVE 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.