Ask Your Question

HW's profile - activity

2018-01-23 05:03:17 -0600 received badge  Popular Question (source)
2015-12-27 12:16:59 -0600 received badge  Student (source)
2013-01-22 01:13:17 -0600 asked a question Question about polar or radial angle calculation in the image coordinate system

Hi,

I have general questions, not explicitly about OpenCV, but related to image processing: The image coordinate system normally has the x-axis pointing from left to right, and the y-axis pointing DOWNWARDS. However, in math, normally, the y-axis points upwards.

  1. Therefore, is a correction needed to account for the orientation of the y-axis, say, while doing tangentInverse(y, x) to get the radial angle of the pixel location?

  2. Will doing y' = height - 1- y, and calling tangentInverse(y', x), solve the problem? (height = image height)

  3. The confusion began after I had tried to relate to the formula for the principal value on the "Polar coordinate system" page of wikipedia (specifically, the one that deals with x and y being in different quadrants). I will appreciate, if any expert could clarify. Thank you.

2013-01-15 23:18:38 -0600 asked a question Question about cvLine()

Hi,

I have a question about the function cvLine. Is there a notion of a specific direction, i.e., the first point is always the "from" point, and the second point is always the "to" point in the argument list of the function? Thanks.