added conveft an image to polar coordinates function