An adaptive norm algorithm for image restoration