Stability of Image-Reconstruction Algorithms