A no-reference image blur metric based on the cumulative probability of blur detection (CPBD)