Ask Your Question
0

Transformation from log-polar to Cartesian

asked 2013-04-10 15:07:42 -0600

luksdoc gravatar image

updated 2013-04-10 15:15:55 -0600

I have one simple (and perhaps stupid) question. I am using OpenCV 2.1.

  • I transform the original image (320 x 240) to a log-polar image of resolution (200 x 200) by using CvLogPolar function with the magnitude parameter 40, and center of the image set as the center of transformation.
  • I perform some processing, and obtain a single point (centroid of the blob) in the log polar coordinates.

-My question: How to transform coordinate values of the point from log-polar to Cartesian frame, i.e. to the coordinates of the original image? (I just need to transform the computed values, not the whole image)?

Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2013-04-11 06:07:42 -0600

I think you could have found this yourself using google, but here is the transformation for going back to carthesian coördinates once you have a point in log polar coördinates.

image description

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-10 15:07:42 -0600

Seen: 2,172 times

Last updated: Apr 11 '13