Re:Spherical Panoramas
by jokoon on Sunday August 29, 2021 @06:25PM
(#28351050)
I saw a website of someone who either painted or gave printable file of photos so that you can put them on an actual sphere. Was quite amazed by the result.
Re:Spherical Panoramas
by ktpsns on Sunday August 29, 2021 @03:30PM
(#28349709)
Wow, I haven't used/seen panorama stitching with Hugin for over a decade. I got the impression that ultra-wide angle cameras/lenses are quite widespread nowadays, especially with smartphones. Furthermore, they do "online" live-stitching while doing panoramas, instead of stitching them manually "offline" in the postprocessing. (Of course the quality of the manual stiches are way better)
Re:Spherical Panoramas
by app4soft on Sunday August 29, 2021 @05:59PM
(#28350864)
> Furthermore, they do "online" live-stitching while doing panoramas
This way it may be used for even creating video "on-the-go" with standalone camera position (with low FPS it may be useful for landscape timelaps video capture or panoramic webcam) - and as a result it could be cheaper alternative to such things as Facebook's Surround 360[0,1] DIY 3D-360 video capture system.
Just as addition to software part it would require to design some sort of automatically rotated "panoramic tripod head" hardware synchronized with camera photo capture control (to take photos).
Re:Spherical Panoramas
by folli on Sunday August 29, 2021 @03:38PM
(#28349777)
I was actually looking for a way on how to generate such panoramas in Android using the accelerometer and magnetic sensor as support. Essentially what Google does with PhotoSphere.
Does anyone know of any libraries or implementations of such a project?
Re:Spherical Panoramas
by bmh on Sunday August 29, 2021 @04:15PM
(#28350077)
I'm actually about to embark on exactly such a project. My plan is to use OpenCV's "stitching_detailed.cpp" example, and improve it from there. OpenCV's stitching is quite good out of the box, but I think I can improve it by adding knowledge from the phone's IMU. What do you need this for?
Re:Spherical Panoramas
by zimpenfish on Sunday August 29, 2021 @04:05PM
(#28349998)
I don't know specifically about Android but Dermandar[1] have an SDK which claims Android compatibility (I use their iOS app which takes horizontal panoramas as the phone rotates.)
Re:Spherical Panoramas
by tobr on Sunday August 29, 2021 @03:53PM
(#28349901)
Are spherical panoramas usually stored as a single rectangular bitmap? Are there any compressed image formats that account for the distortion and optimize for the final projected output?
Re:Spherical Panoramas
by xscott on Monday August 30, 2021 @12:37AM
(#28352847)
Just as a point of interest: If you're willing to pay the cost for a really good resampling algorithm, you can use a Gall-Peters projection. It's equal area instead of equal angle, so each pixel holds the same amount of surface area from the spherical image. Doing this, you could get a 2/Pi savings from the uncompressed image.
Re:Spherical Panoramas
by bigiain on Monday August 30, 2021 @12:12AM
(#28352749)
Nah, for photos/video it just halfasses it.
It splits your single 360 pano into 2 images, one for each eye, but it doesn't do any stereo depth stuff. It's like being in the middle of a sphere with everything painter on it all the same distance away.
When there's something 3d rendering the scene it can too stereoscopy, but if there's actual cameras trying to create stereo images in 360 - you always end up with the "what does it do when you're looking directly at the other eye's camera?" paradox.
Re:Spherical Panoramas
by jobigoud on Monday August 30, 2021 @02:39AM
(#28353270)
It does stereo. You have to hold the device at arm's length and it reconstructs each eye by picking different rays from the side of the image. i.e. the left eye pano is made of rays looking to the right in the original frames.
I played a lot with it a few years back, even wrote a library to read the files in C#.
https://www.reddit.com/r/interestingasfuck/comments/heke2b/a...
https://www.snapspheres.com/
This way it may be used for even creating video "on-the-go" with standalone camera position (with low FPS it may be useful for landscape timelaps video capture or panoramic webcam) - and as a result it could be cheaper alternative to such things as Facebook's Surround 360[0,1] DIY 3D-360 video capture system.
Just as addition to software part it would require to design some sort of automatically rotated "panoramic tripod head" hardware synchronized with camera photo capture control (to take photos).
[0] https://github.com/facebook/Surround360
[1] https://engineering.fb.com/2016/07/26/video-engineering/surr...
Does anyone know of any libraries or implementations of such a project?
Has you seen next project?[0]
[0] https://github.com/acodexm/Panorama360
Also have a 360 solution SDK[2].
[1] http://www.dermandar.com [2] https://thevrkit.com/sdk/
What about Sprayscape?[0]
https://github.com/googlecreativelab/sprayscape
[0] https://twitter.com/sastuvel/status/1431936427252662276
[0] http://web.archive.org/web/20210829110828/https://stuvel.eu/...
[1] http://web.archive.org/web/20210829220747/https://stuvel.eu/...
https://en.wikipedia.org/wiki/Gall%E2%80%93Peters_projection
However, it's easier to get good results with the equirectangular projection.
It splits your single 360 pano into 2 images, one for each eye, but it doesn't do any stereo depth stuff. It's like being in the middle of a sphere with everything painter on it all the same distance away.
When there's something 3d rendering the scene it can too stereoscopy, but if there's actual cameras trying to create stereo images in 360 - you always end up with the "what does it do when you're looking directly at the other eye's camera?" paradox.
I played a lot with it a few years back, even wrote a library to read the files in C#.