Resizing a polar coordinate image

2019-06-08 06:09发布

问题:

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.