3

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? :)

1
  • That function isn't what you need see the documentation: docs.opencv.org/modules/core/doc/… cartToPolar(InputArray x, InputArray y, OutputArray magnitude, OutputArray angle, bool angleInDegrees) It transforms the coordinates form cartesian to polar or spherical in 3D. Commented Oct 3, 2013 at 21:04

1 Answer 1

4

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.