Converting an image from Cartesian to Polar - Limb Darkening

前端 未结 3 1674
迷失自我
迷失自我 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:17

    You can do polar-cartesian distortion just on the command line with ImageMagick in the Terminal - it is installed on most Linux distros and is available for macOS and Windows:

    convert sun.jpg +distort DePolar 0 result.jpg
    

    There are some excellent hints and tips from Anthony Thyssen here.

提交回复
热议问题