So I'm trying to transform an image coordinate which is the ordinary square x,y coordinate to a circular coordinate as shown below.
In order to do so, the center of the square image must be the origin which is 0 in the circular coordinate system.
In Matlab they have a function called 'cart2pol' where:
cart2pol(x,y)
However, the x,y argument are the circular coordinates hence before using cart2pol, how do i convert the ordinary square coordinate system to a circular one?