API Reference >> skvideo.measure.viideo_score
Fork me on GitHub

skvideo.measure.viideo_score

skvideo.measure.viideo_score(videoData, blocksize=(18, 18), blockoverlap=(8, 8), filterlength=7)[source]

Computes VIIDEO score. [1] [2]

Since this is a referenceless quality algorithm, only 1 video is needed. This function provides the score computed by the algorithm. Higher score = lower quality.

This implementation is a faithful port of the LIVE reference computeVIIDEOscore.m (verified to match it to ~1e-5 on the release demo clips). It does NOT reuse skvideo’s shared aggd_features (which carries NIQE’s shape grid); VIIDEO requires its own grid and special-value handling.

Parameters:
videoDatandarray

Video, ndarray of dimension (T, M, N, C), (T, M, N), (M, N, C), or (M, N).

blocksizetuple (2,)

Spatial block size. NOTE: the defaults (18, 18)/(8, 8) are the QCIF demo configuration shipped in the LIVE release (testscript.m). The block size used to produce the paper’s LIVE VQA results (Table II) was 72; the spatial overlap at that block size is not stated in the paper or release (the demo ratio 8/18 implies ~32, but ~32 vs 36 is not separable within sampling noise). Choose block/overlap to match your intended reference.

blockoverlap: tuple (2,)
Returns:
scorefloat

The video quality score.

References