Edge-Based Defocus Blur Estimation With Adaptive Scale Selection