Maximum likelihood difference scaling of image quality in compression-degraded images