Stability results for the reconstruction of binary pictures from