Text this: Progressive pixel-to-pixel evaluation to obtain the hard and smooth region for image compression