Geometrical transformation of image