Resizing a polar coordinate image

2019-06-08 05:50发布

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: nexrad

Polar Cordinates Contour based:

contour

resized the array (and plotted using imshow) imshow

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

1条回答
Explosion°爆炸
2楼-- · 2019-06-08 06:24

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

查看更多
登录 后发表回答