fullseye

exponential_foreground — VIDEOSTREAM recursive op

使い方

Foreground masks |frame − exponential background| > threshold → 0/1 (T, H, W) (video).

exponential_background と同じ指数移動平均 bg += α (frame - bg) を回し、 各フレームで 更新後の bg との差 |frame - bg| > threshold を 1 にする。 先頭フレームは bg の初期化に使われ差が 0 なので、t = 0 は全画素 0。

画素ごとの分散で閾を決めたいなら running_gaussian_foreground。ゴーストの 無い動き検出なら three_frame_difference

詳しい使い方ガイド

背景知識ガイド(この op の手前にある物理・規約)

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(video を入力に取れる)

temporal_median_window · moving_average_window · background_subtraction_window · frame_difference_causal · exponential_background · running_mean_std · optical_flow_magnitude_stream · motion_history_image

同カテゴリ(recursive)

frame_difference_causal · exponential_background · running_mean_std


Provenance: videostream.py — VIDEOSTREAM operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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