Converting an image from Cartesian to Polar - Limb Darkening

前端 未结 3 1673
迷失自我
迷失自我 2021-02-08 01:49
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)         


        
3条回答
  •  无人共我
    2021-02-08 02:00

    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.

提交回复
热议问题