简体   繁体   中英

Resizing a polar coordinate image

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM