import numpy as np import cv2 from matplotlib import pyplot as plt img = cv2.imread(\'C:\\\\Users\\\\not my user name\\\\Desktop\\\\20140505_124500_4096_HMIIC.jpg\', 0)
scikit-image also offers a transformation along these lines. See skimage.transform.warp_polar.
Note, this does introduce an interpolation of pixel intensities.
See also polar demo for usage examples.