Trying to normalize subimage