fast Cartesian to Polar to Cartesian in Python

前端 未结 3 1885
余生分开走
余生分开走 2020-12-28 23:44

I want to transform in Python 2d arrays/images to polar, process then, and subsequently transform them back to cartesian. The following is the result from ImajeJ Polar Trans

3条回答
  •  鱼传尺愫
    2020-12-29 00:21

    Here's an example of the log-polar transform implemented using SciPy:

    https://github.com/stefanv/supreme/blob/master/supreme/transform/transform.py#L51

    Given that this is only a coordinate transformation, it should be easier to adapt to your problem than the OpenCV version.

提交回复
热议问题