Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opencv C - Cartesian to Polar image transformation

Hi i want to transform a image like this (right to left image ): enter image description here

I have searching about functions like cvCartToPolar but i dont know how to use it..

Can someone help me? :)

like image 861
Luis Carlos Avatar asked Dec 29 '25 01:12

Luis Carlos


1 Answers

nowadays, there is cv::warpPolar and if you can't achieve what you want (because for example your input image is only part of a disk, you might be interessed in cv::remap (the former uses the later internally). In the later case, you have to build the mapping table yourself with some math.

like image 56
antoine Avatar answered Dec 30 '25 16:12

antoine



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!