Resizing a polar coordinate image

大兔子大兔子 提交于 2019-12-23 03:49:05

问题


I have an image from weather radar which is in polar coordinates (azimuth, range). Normal resizing functions are not working as they presume the image in Cartesian coordinate I guess. From scikit-image etc.

How can I resize the image effectively having same ratio and characteristics maintained as we get in Cartesian. Or the only way is to convert to Cartesian and then back ?

Original (masked array) displayed using weather lib:

Polar Cordinates Contour based:

resized the array (and plotted using imshow)

Resizing the third graph works well but I need resized version of the first polar coordinates.


回答1:


Ended up saving it as a plot and resizing using skimage with usual functions. Not so perfect but works.



来源:https://stackoverflow.com/questions/35259051/resizing-a-polar-coordinate-image

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!