track_moving_particles — PHARMA track op

• 資料種類:video → table

• 呼叫: import fullseye as fs; fs.ledger.track_moving_particles(frames, *, threshold=0.045, max_displacement_px=10.0, min_area_px=2, static_threshold=0.055)(要直接呼叫實作,import vialops; vialops.track_moving_particles(frames, *, threshold=0.045, max_displacement_px=10.0, min_area_px=2, static_threshold=0.055);從台帳取用則 opspharma.get("track_moving_particles"))

• GPU:無(僅 CPU 參考實作)

用法

在影像序列中分離運動物體與靜止玻璃刮痕,並回傳軌跡表。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

Each frame is compared with the temporal median, so stationary scratches are reported from the median image and moving objects from residual components. Consecutive moving detections are linked greedily only within max_displacement_px; ambiguous or too-large jumps start a new track rather than being silently joined. Every moving track is deliberately labelled "moving": the frame-only API has neither a calibrated lighting polarity nor enough 3-D trajectory context to identify a particle versus a bubble. In particular, residual swirl can make a settling particle have a negative image-row velocity. This is a conservative 2-D projection tracker, not an identity-preserving multi-object tracker through overlap/occlusion.

動く軌跡は常に保守的に "moving" とし、速度符号だけで粒子/気泡を推定しない。残留旋回では沈降粒子も画像上向きに見えるためである。

Returns a table with one row per detection: frame, track_id, object_class, centroid, area, and row velocity. Input must be a finite non-constant (T,H,W) sequence with at least three frames. A sequence that is constant over both time and space is rejected; call it only for images with a motion or spatial cue, and record no detected motion directly when the intended interpretation is no motion.

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• poc_vial_particle_pod — py -3.11 examples/poc_vial_particle_pod.py

型別可銜接的下一個運算子(可接受 table 作為輸入)

—

同類別(track)

—


*Provenance: vialops.py — PHARMA 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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