1. A method comprising restoring iteratively at least one color component in an input image with a deblur parameter, increasing said deblur parameter at each iteration, stopping the iteration when an overshooting in the final image exceeds a predetermined value, defining the number of iterations and determining quality of an image is determined according to the number of iterations.