A restoration–segmentation algorithm based on flexible Arnoldi–Tikhonov method and Curvelet denoising