Equirec2Perspec icon indicating copy to clipboard operation
Equirec2Perspec copied to clipboard

How can i get cordinates?

Open eunseoshin opened this issue 5 years ago • 4 comments

I split the 360-degree image into 18 conventional images. I want to get coordinates of each image. Is it possible?

eunseoshin avatar Jun 08 '20 06:06 eunseoshin

You mean coordinate on equirectangular? https://github.com/fuenwang/Equirec2Perspec/blob/master/Equirec2Perspec.py#L71 The lon and lat is the coordinate.

fuenwang avatar Jun 08 '20 14:06 fuenwang

I want to know corners' cordinates on equirectangular. When i get the lon and lat lots of numbers appear.

eunseoshin avatar Jun 08 '20 14:06 eunseoshin

The lon and lat is the coordinate of h x w which is consistent with the perspective images. So you can just use lon[0, 0] and lat[0, 0] ...... to get the coordinate of corners.

fuenwang avatar Jun 09 '20 04:06 fuenwang

Thanks! I solved it :)

eunseoshin avatar Jun 10 '20 04:06 eunseoshin