Scene complexity represents the level of randomness (entropy) in the frames and it was calculated as $e = \sum_{i = 0}^{255}b_i\log b_i$, where $b_i$ is the number of pixels with value equal to $i$.
Input:
Output:
mean_val : mean value of scene complexity for the sequence
val_val : variance of scene complexity for the sequence
frames : scene complexity for each frame