Forum: Q & A

Thread: view point correction

back to threads list | this thread is closed
Search the forums:
Author  Message 
vrthree

Posts: 31
Location: Leeds, United Kingdom
Registered: 17 Aug 2005
view point correction
Posted: 14 Mar 2008 at 10:07 GMT
updated: 14 Mar 2008 at 10:36 GMT
I have done a tutorial which worked perfectly, I have now done it using my own images and it is a complate mess. The nadir image has stairs on it, I dont know if that makes a difference as I have just read that it has to be a flat plane!

How dod I do this? I realy need to put a nadir into a qtvr.
alert moderator
John Houghton

Posts: 2130
Location: Hitchin, United Kingdom
Registered: 17 Jan 2005
Re: view point correction
Posted: 14 Mar 2008 at 10:49 GMT
updated: 14 Mar 2008 at 10:51 GMT
"complete mess" sounds like you haven't exercised enough control. First optimize your horizontal images (and zenith, if you have one). When that is satisfactory, optimize only the y,p,r of the nadir image to get it approximately into position. Then additionally check viewpoint for the nadir and optimize again. Nothing can happen to the images other than the nadir to give you a complete mess. The nadir might not align well but that is the worst that can happen. Check that you only have control points on the flat ground/floor. Anything rising above floor level (like your stairs) needs to be masked with an alpha channel so that the blender will ignore it.

I haven't used viewpoint much myself as yet, but it has worked well for every pano I tried it on - eventually. I does seem sometimes to be reluctant to align properly. I'm not sure why, but it's probably sensitive to the spread of the control points. Sometimes, dragging the image into position before optimizing helps. I must do some tests to establish what needs doing to guarantee that it works first time every time.

John
alert moderator
Hans Nyberg

Posts: 713
Location: Denmark
Registered: 28 Aug 2005
Re: view point correction
Posted: 14 Mar 2008 at 11:50 GMT
Viewpoint needs some very well spread manual controlpoints on the flat area which you have have to mask as John says.
I am not sure it is worth the work as you have to do several preview tests first to make sure it blends ok.
And you can not use panoramatools optimizer which I have found is much better than PTGuis own.

If you have parts of the panohead/rotator visible at the bottom of your panorama you may even need to mask them on your horizontal shots.

Converting the pano to cubefaces and edit it may be faster some times.

Hans
alert moderator
vrthree

Posts: 31
Location: Leeds, United Kingdom
Registered: 17 Aug 2005
Re: view point correction
Posted: 14 Mar 2008 at 11:56 GMT
What is your workflow for doing it with at the cubeface stage?

At the minute I am making panos contrained so the user cannot look all the way down and would realy like to find a way of putting a nadir image in.
alert moderator
Hans Nyberg

Posts: 713
Location: Denmark
Registered: 28 Aug 2005
Re: view point correction
Posted: 14 Mar 2008 at 12:37 GMT
I use CubicConverter and I suppose you have it also as you use CubicConnector.

I just import the panorama in CC and convert to cubefaces with default size.
In the Cubefaces just click on the bottom face and export it as tif.
Keep CC open and open the exported cubeface in Photoshop, insert your nadir which you have prepared in advance and when you done that just save it and go back to CC and Choose the image. Go back to Conversion and choose Equirectangular.
Convert and save.

You should prepare your nadir image first so that it is converted to rectilinear if it is fisheye.

Erik at fromParis.com has a nice video tutorial
Looks that the site is down right now but it should be here.
fromparis.com/html/technical.php

Hans
alert moderator
Hans Nyberg

Posts: 713
Location: Denmark
Registered: 28 Aug 2005
Re: view point correction
Posted: 14 Mar 2008 at 12:55 GMT
Found Erik's movie here.
www.360precision.com/360/quicktime/make_a_quickti...

He is using Nikon Capture to defish the nadir but you can do that very easy directly in PTGui also if you do not have NC:

Hans
alert moderator
John Houghton

Posts: 2130
Location: Hitchin, United Kingdom
Registered: 17 Jan 2005
Re: view point correction
Posted: 14 Mar 2008 at 13:25 GMT

Hans Nyberg said:

Converting the pano to cubefaces and edit it may be faster some times.

I go along with that, though I think it's still worthwhile optimizing the nadir into place. I generate two equirectangulars: one from the main images and one from the nadir. Then extract nadir views with PTEditor for merging. That way little or no distortion of the nadir image is needed to make it align perfectly.

John
alert moderator
vrthree

Posts: 31
Location: Leeds, United Kingdom
Registered: 17 Aug 2005
Re: view point correction
Posted: 14 Mar 2008 at 14:07 GMT
Next question!

How do you defish an image in PTGui? my lens in 10.5mm for a nikon slr.
alert moderator
Hans Nyberg

Posts: 713
Location: Denmark
Registered: 28 Aug 2005
Re: view point correction
Posted: 14 Mar 2008 at 15:32 GMT
updated: 14 Mar 2008 at 15:33 GMT
So I assume you do not have the Nikon Capture. Stupid idea that you have to pay for it.

For simple defishing to ad the Nadir you just do this.
1. drop your image on PTgui
2. Set Cropcircle to the corners.
3. Lens setting circular and 180 degree, zero a b c d
4. In Panorama settings select Rectilinear and 90x90 degrees.

Thats it, you now just have to go to Create panorama and set image to max size and export as Tif

For doing more accurate architectural images from a fisheye you have to do some optimizing to correct it for perfect straight lines but for a Nadir you probably do not need that.

You can save the project as a template so that you can do it all very fast.

Hans
alert moderator