Image restoration for a class of linear spatially-variant degradations