fuenwang / Equirec2Perspec

A tool to project equirectangular panorama into perspective images
MIT License
276 stars 55 forks source link

Some questions about the formula of your paper #4

Open HLH13297997663 opened 4 years ago

HLH13297997663 commented 4 years ago

In Section 3.2, I can't understand the formula: GR = E(0, 0.5π, 0) · G, How does this formula relate to the following formula (1) and (2)? How theta and phi in the code work in this formula?

fuenwang commented 4 years ago

Maybe you can follow my another repo for cubemap convertion: https://github.com/fuenwang/PanoramaUtility/blob/master/Utils/Equirec2Cube.py#L29

In line 16 - 29,I define the rotation for different cube faces and this is related to E(?, ?, ?) in the paper. If you are still confused about it, feel free to ask me.

HLH13297997663 commented 4 years ago

您好,我还有些疑惑,在你的论文里,通过 spherical projection将 equirectangular image转换为cube face。那么也就是将equirectangular image上的像素坐标(X,Y)转换为cube face上的像素坐标(x,y,z)。问题是你论文和代码是通过(x,y,z)求得(X,Y),这不是反过来了吗?

------------------ 原始邮件 ------------------ 发件人: "Fu-En.Wang"<notifications@github.com>; 发送时间: 2020年6月24日(星期三) 下午3:40 收件人: "fuenwang/Equirec2Perspec"<Equirec2Perspec@noreply.github.com>; 抄送: "恆。ヤ"<986108079@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [fuenwang/Equirec2Perspec] Some questions about the formula of your paper (#4)

Maybe you can follow my another repo for cubemap convertion: https://github.com/fuenwang/PanoramaUtility/blob/master/Utils/Equirec2Cube.py#L29

In line 16 - 29,I define the rotation for different cube faces and this is related to E(?, ?, ?) in the paper. If you are still confused about it, feel free to ask me.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

fuenwang commented 4 years ago

Yes, because if we directly derive xyz of cubemap from equirectangular, we cannot obtain one-to-one mapping pixel on cubemap. This means we will get a cubemap with black hole in certain area. So in here we have to use the inverse mapping to solve it and find the inverse relation.

KOuldamer commented 2 years ago

Hello, Could you send me the paper of this work?

diarmaidocualain commented 1 year ago

Hello, Could you send me the paper of this work?

https://arxiv.org/pdf/1811.05304.pdf