uniformisation of image