Converting a fisheye image into a panoramic, spherical or perspective projection
paulbourke.net
paulbourke.net
I was charged once, with transforming images for projection onto a sphere through special lenses. I didn't know the lens transform, the manufacturer kept that secret. I did know that the intensity across the spherical surface was of uniform brightness - the manufacturer boasted about this. With that bound I could guess the transform, as each pixel of the source image would have to illuminate an equal surface area of sphere once projected.
The manufacturer advertised a service to do this transform on your image, but they wanted $10K for each run! Once I presented my insights and a little math, they capitulated and did it at cost. I never got to write my projection software in the end.
Could you give me some pointers on where I could start studying about the math involved? Are those topics usually covered by good books on computer graphics?
Schneider, P.J., Eberly, D.H., 2003. Geometric tools for computer graphics, Morgan Kaufmann Publishers
indispensable
Also, shout out to the European Space Agency for releasing high quality Planetarium documentaries under the CC license [2].
[1] http://paulbourke.net/dome/ [2] https://www.eso.org/public/videos/archive/category/fulldome/...
no connection to him other than as a customer.
By the way, printing on aluminum seems like a really nice way to mount art on the wall
He showed me some photogramatery work he was working on, I was amazed at how smooth everything was running given the precision and having worked with highly detailed tins and pointclouds myself on that days high end hardware. I asked him what kernel/engine he was using. He casually said it was his own. Which (having done toy ray tracing in C and dabling in openGL) blew my mind but also made me realise it would be absolutely necessary in order to do this kind of work with the type of control he needed. Everything from the ground up.
One of the few academics/researchers I've met who is 100% legit.
Is it possible to make the computer guess the correct value with AI? I guess a method is to identify the artificial objects like walls and doors, and assume they have straight lines. The nice curved tops of the windows may be a problem. And probably there must be a special case for circles like the clock.
You could fix bad profile photos and such without the need to upgrade to more expensive optics.
Something i am currently working on is using fisheye images of the sky to predict cloud motion and to then estimate solar PV power output in the short term i.e. one to five minutes out.
It sounds simple but it isn’t yet even a child can observe cloud motion and predict to some degree when the disc of the sun will be obscured. Part of the inaccuracy is in the distortion caused by the fisheye lens.
I would be interested in seeing how well this works for subjects at infinity i.e. a fisheye lens pointed at the sky.
For simpler fisheye and defisheye effects, I wrote this web based tool a few years ago which some may find useful!