Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for p2e conversion #5

Open
cybersupernova opened this issue Nov 25, 2019 · 3 comments
Open

Support for p2e conversion #5

cybersupernova opened this issue Nov 25, 2019 · 3 comments

Comments

@cybersupernova
Copy link

cybersupernova commented Nov 25, 2019

I am trying to create a photosphere using a combination of a few normal camera images.
I know the fov, u, v and also the height and width of the input image.

My initial image (equirectangular)
grey

My input image (planer or perspective view [fov=75, u=0, v=0, img_w=640, img_h=480])
1

I was able to get the (x,y) position using your e2p function and fit those images in the sample equirectangular image near the equator(mid of the image). But as I go near the edges, the images start to overlap since I am missing the pixel manipulation to form curves.
out

Can you please provide some reading material, since your code has no documentation or, if you got time, can you please help me out.

@BrianPugh
Copy link
Collaborator

closing purely due to age; we can re-open if we find it still relevant.

@ivantishchenko
Copy link

@BrianPugh

Now I'm also in a situation where I would love to project an image onto a sphere and convert it into a partial equirectangular map.

Would it be possible to reopen this issue? I would be interested to help with the implementation.

@BrianPugh
Copy link
Collaborator

@ivantishchenko I would be open to a PR! If you can get it initially working, i can add in unit-tests and other finishing touches.

@BrianPugh BrianPugh reopened this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants