Skip to content

Brightness Consistency

This metric quantifies the temporal consistency of brightness distribution between each frame and the initial frame in video sequences, addressing insufficient visual stability caused by inter-frame brightness shifts and abrupt changes. Unlike scalar metrics that compare only global mean luminance, Brightness Consistency preserves dark/mid/bright pixel ratios and is therefore more sensitive to changes in exposure distribution shape.

WorldAtlas uses this algorithm as the official metric brightness_distribution_consistency. The legacy scalar alias brightness_consistency is documented for compatibility; use the configured canonical metric to avoid double counting.

Three-Level Brightness Distribution Vector

Section titled “Three-Level Brightness Distribution Vector”

Pixel grayscales are categorized into dark, mid, and bright levels to construct a 3-D brightness distribution vector:

vt=(pdarkpmidpbright)\mathbf{v}_t = \begin{pmatrix} p_{\mathrm{dark}} \\ p_{\mathrm{mid}} \\ p_{\mathrm{bright}} \end{pmatrix}

where pdarkp_{\mathrm{dark}} and pbrightp_{\mathrm{bright}} are the fractions of pixels below the dark threshold and at or above the bright threshold, respectively, and pmid=1−pdark−pbrightp_{\mathrm{mid}} = 1 - p_{\mathrm{dark}} - p_{\mathrm{bright}}. WorldAtlas defaults: dark_threshold=85, bright_threshold=170 (OpenCV gray scale [0,255][0,255]).

The distribution similarity of frame tt (t≥2t \geq 2) relative to the initial frame v1\mathbf{v}_1 uses the cosine inner product:

S(a,b)=a⋅b∥a∥ ∥b∥=∑i=1naibi∑i=1nai2 ∑i=1nbi2(3)S(a, b) = \frac{a \cdot b}{\|a\|\,\|b\|} = \frac{\sum_{i=1}^{n} a_i b_i}{ \sqrt{\sum_{i=1}^{n} a_i^2}\,\sqrt{\sum_{i=1}^{n} b_i^2} } \tag{3}

A modified Softmax transform enhances high-score segments for single-sample scores x∈[0,1]x \in [0,1] (λ>0\lambda > 0):

T(x)=eλx−1eλ−1(4)T(x) = \frac{e^{\lambda x} - 1}{e^{\lambda} - 1} \tag{4}

Default λ=4.0\lambda = 4.0 (softmax_lambda).

For frame distance d∈[1,T−1]d \in [1, T-1] (d=1d=1 for the second frame), normalized exponentially decaying weights (α>0\alpha > 0) are:

w(d)=e−α⋅d,w^(d)=w(d)∑k=1T−1w(k)(5)w(d) = e^{-\alpha \cdot d}, \qquad \hat{w}(d) = \frac{w(d)}{\sum_{k=1}^{T-1} w(k)} \tag{5}

Default α=0.05\alpha = 0.05 (temporal_decay). The comprehensive brightness consistency score is:

SBrightness=∑d=1T−1w^(d)⋅T ⁣(S(vd+1,v1))(6)S_{\mathrm{Brightness}} = \sum_{d=1}^{T-1} \hat{w}(d) \cdot T\!\left(S(\mathbf{v}_{d+1}, \mathbf{v}_1)\right) \tag{6}

Audit manifest: docs/assets/metric_examples/curated_same_case_manifest.json.

Input image: image_static_stylized_living_spaces_0031
Input image
Input verified · same benchmark case · gap 0.3876

image_static_stylized_living_spaces_0031

Suite: image_staticScene: stylized / indoor / living_spaces
Benchmark prompt target

Camera move right. A cozy living room with fireplace, Christmas tree, and armchair.

prompt source: prompt_target

Both first frames passed geometric matching against the displayed input; labels compare this metric only.

Model result videos will be available with the ModelScope release. / 模型推理视频将在 ModelScope 方案上线后提供。

Higher metric scoreScore 0.9936

Model result videos will be available with the ModelScope release. / 模型推理视频将在 ModelScope 方案上线后提供。

Lower metric scoreScore 0.6060
Input image: image_static_stylized_suburb_0081
Input image
Input verified · same benchmark case · gap 0.5377

image_static_stylized_suburb_0081

Suite: image_staticScene: stylized / outdoor / suburb
Benchmark prompt target

Camera pan right. A stone house with red roof, vintage car, and wooden fence.

prompt source: prompt_target

Both first frames passed geometric matching against the displayed input; labels compare this metric only.

Model result videos will be available with the ModelScope release. / 模型推理视频将在 ModelScope 方案上线后提供。

Higher metric scoreScore 0.9969

Model result videos will be available with the ModelScope release. / 模型推理视频将在 ModelScope 方案上线后提供。

Lower metric scoreScore 0.4591
Input image: image_static_stylized_passageways_0084
Input image
Input verified · same benchmark case · gap 0.3634

image_static_stylized_passageways_0084

Suite: image_staticScene: stylized / indoor / passageways
Benchmark prompt target

Camera pan right. A stylized hallway with ornate wallpaper, ceiling lights, and framed pictures.

prompt source: prompt_target

Both first frames passed geometric matching against the displayed input; labels compare this metric only.

Model result videos will be available with the ModelScope release. / 模型推理视频将在 ModelScope 方案上线后提供。

Higher metric scoreScore 0.9934

Model result videos will be available with the ModelScope release. / 模型推理视频将在 ModelScope 方案上线后提供。

Lower metric scoreScore 0.6300