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.
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