The fidelity of compressed and interpolated medical images