360 view

offonoll's picture

Hi! I found interesting to map a 360 picture made with this lents to a sphere and reproduce a QTvr ( here there is a software from the lens company : http://www.0-360.com/software.asp

Here I upload a file to start up.

Any thoughts??

PreviewAttachmentSize
360 View.qtz955.48 KB

dust's picture
Re: 360 view

i like these 360 view cameras, particularly spherical video. here is a cool pano i made a while back when there was some pano discussion on kineme. im actually using optical flow as a sort of trackball with this so you don't have to touch the computer to track. i guess motion tracking of sorts. this actually looks very cool with the ladybug camera but... do to file size restrictions i am un able to upload a spherical video patch. although you can go to ptgrey and download a demo video and attach it to the sphere.

PreviewAttachmentSize
panoFlow.qtz9.8 MB

offonoll's picture
Re: 360 view

Nice sample! Good! but as you've seen my picture looks a donut and I need to transform from that to a rectangle wide pic. I am asking to the company if they have a peace of code does that. Or it could be another idea out there I am missing.

gtoledo3's picture
Re: 360 view

My thought is "I love panorama!"

Thanks for the head's up on this software.

dust's picture
Re: 360 view

cs4 does this kind of stuff now, well not with video but with photos. if you go to automate then to photo merge it will give you an option to seem together photos in various perspectives. its still kind of the old school way but you can stand in the middle of a room and snap a bunch of photos from all the angles you can and photoshop will put them all together for you. someone told me about that feature the other day. i have done a few tests and it seems the bigger over lap the better.

smokris's picture
Re: 360 view

Here's a quick attempt at mapping a donut to an equirectangular image.

PreviewAttachmentSize
mapDonutToEquirectangular.qtz951.07 KB
mapDonutToEquirectangular.png
mapDonutToEquirectangular.png710.74 KB

cwright's picture
Re: 360 view

Here's an alternative kernel (does the same thing, just a tiny bit more compactly)

kernel vec4 mapDonutToEquirectangular(sampler image, float imageWidth)
{
   vec2 v = destCoord();
 
   float theta = 3.14159265358 * v.x/imageWidth;
   float r = v.y/imageWidth/2.;
 
   v = imageWidth*r*cossin(theta) + imageWidth/2.;
 
   return sample(image, v);
}

I post mostly because I finally found a working cossin/sincos implementation /and/ a place to use it (I normally find places where it'd be handy, and no implementation/a very slow implementation). :)

offonoll's picture
Re: 360 view

Thank you kineme team! I just want to buy that lens to do some experiments. If I come with something good I will let you know.

Thank you guys!

smokris's picture
Re: 360 view

Oh, very cool. I didn't know cossin/sincos existed. Thanks.