No-reference image-quality metric based on blur radius and visual blockiness