Function attribute_scene_complexity

Computes the scene complexity attribute in the given seqeunce

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: