News for hackers. Stuff that matters.
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 carrozo on Sunday August 29, 2021 @07:16PM (#28351374)
Re:Spherical Panoramas by carrozo on Sunday August 29, 2021 @07:19PM (#28351390)
Ooh, re-reading comments there and apparently you can order a spherical print of a panorama here:

https://www.snapspheres.com/

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).

[0] https://github.com/facebook/Surround360

[1] https://engineering.fb.com/2016/07/26/video-engineering/surr...

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 app4soft on Sunday August 29, 2021 @04:36PM (#28350232)
> My plan is to use OpenCV's "stitching_detailed.cpp" example

Has you seen next project?[0]

[0] https://github.com/acodexm/Panorama360

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.)

Also have a 360 solution SDK[2].

[1] http://www.dermandar.com [2] https://thevrkit.com/sdk/

Re:Spherical Panoramas by folli on Tuesday August 31, 2021 @04:00PM (#28372797)
Oh wow, that's an expensive option.
Re:Spherical Panoramas by app4soft on Sunday August 29, 2021 @04:28PM (#28350182)
> Google does with PhotoSphere

What about Sprayscape?[0]

https://github.com/googlecreativelab/sprayscape

Re:Spherical Panoramas by folli on Tuesday August 31, 2021 @03:57PM (#28372752)
That looks decent. However it seems abandoned and some of the dependencies also seem to have fallen to link rot.
Re:Spherical Panoramas by app4soft on Sunday August 29, 2021 @02:33PM (#28349253)
Re:Spherical Panoramas by app4soft on Sunday August 29, 2021 @06:10PM (#28350946)
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 corysama on Sunday August 29, 2021 @04:00PM (#28349962)
A KTX file containing a cubemap compressed with Binomial would do the trick https://www.khronos.org/ktx/
Re:Spherical Panoramas by MrLeap on Sunday August 29, 2021 @04:32PM (#28350201)
equirectangular .EXR is a relatively common format I've seen in gamedev.
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.

https://en.wikipedia.org/wiki/Gall%E2%80%93Peters_projection

However, it's easier to get good results with the equirectangular projection.

Re:Spherical Panoramas by fsiefken on Sunday August 29, 2021 @06:17PM (#28350989)
It would be nice if there would be a relatively simple method to create stereoscopic spherical panoramas so one would feel even more immersed in VR
Re:Spherical Panoramas by moultano on Sunday August 29, 2021 @06:42PM (#28351138)
You can't do that due to the hairy ball theorem. https://web.archive.org/web/20190603140245/elevr.com/elevran...
Re:Spherical Panoramas by greeneggs on Sunday August 29, 2021 @07:46PM (#28351547)
The Google Cardboard app does this. (Did this? I haven't used the app in a long time.)
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#.