Firstly, I am new to Image processing.
I have a image of size 166*166. I need the matrix coordinates to be converted to different aspect ratio coordinates without disturbing the image.
The max and min value of new x and y coordinates are -0.072 and 0.072. Basically this image is to be converted to sphere coordinates. From these x & y, I can get z coordinate with radius.
But how do I convert the raw 166*166 to the mentioned coordinates. I tried to use linear fit using basic equation as new_x = a(old_x)+b. This might work, but I am not understanding how to get the parameters of a and b of the entire image in the equation.
Any leads will be appreciated. Thanks.
1.4m articles
1.4m replys
5 comments
57.0k users