Image blur attribute was measured by the Bayes-spectral-entropy camera focus measure For more details, please see this paper: M. Kristan, J. Perš, M. Perše, S. Kovacic. "A Bayes-Spectral-Entropy-Based Measure of Camera Focus Using a Discrete Cosine Transform". Pattern Recognition Letters,
Input:
Output:
mean_val : mean value of blur for the sequence
val_val : variance of blur for the sequence
frames : image blure for each frame