transfer contrast profile from one image to another