コンテンツにスキップ

Temporal Filter#

Temporal Filter機能を使用すると、blazeカメラの時間的ノイズをフィルタリングできます。

このフィルターは、異なる時点での同じピクセルの値を使用して、画像内の一時的なノイズをフィルターで除去します。このための基礎は、深度マップデータです。ターゲットシーンのモーションを考慮することで、モーションアーティファクトを減らすのに役立ちます。

時間フィルターの強度を定義するには、Temporal Filter Strengthパラメーターを使用します。

仕組み#

This is a recursive filter. The filter is initialized with the depth data measured for the first frame. This initial depth value is updated with the depth value of the subsequent frame by adding the old value weighted by (k / 255) and the new value weighted by (k - 1 / 255). "k" is the value specified by the TemporalFilterStrength parameter. If motion is detected in the image, i.e., if the depth value for a certain pixel changes drastically to the previous value, the values of the corresponding pixels are reset and reinitialized to avoid motion artifacts.

次の数式は、フィルターの機能を示しています。

OUT = (k / 255) * STATE + (1 – k / 255) * IN

ここで、

OUT = result
IN = new frame
STATE = old frame
k = filter strength (value of the TemporalFilterStrength parameter)

Temporal Filter Strength#

The value you enter for the TemporalFilterStrength parameter is used as the weight factor k in the formula for calculating the strength of the temporal filter. You can set a value between 50 to 255.