fullseye

exponential_background — VIDEOSTREAM recursive op

使い方

Recursive background bg ← (1−α)·bg + α·frame per frame → (T, H, W) (video).

最初のフレームで bg を初期化し、以後 bg += α (frame - bg) を画素ごとに 繰り返す指数移動平均。状態は背景 1 枚だけ(窓を持たない)。フレーム t の 出力はその時点の bg の写しで、t = 0 は入力の先頭フレームそのもの。

前景マスクまで欲しいなら同じモデルの exponential_foreground。画素ごとの 雑音に閾値を合わせたいなら running_gaussian_background

詳しい使い方ガイド

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

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

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

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

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

同カテゴリ(recursive)

frame_difference_causal · exponential_foreground · 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.