My Autopano Pro forum

Sharing knowledge around Autopano

You are not logged in.

Announcement

The documentation of AutoPano Pro can be found online at our Wiki. Before posting a question, please check with the manual!

#1 2007-06-25 15:29:07

Dave_Banaszek
Member
Registered: 2006-01-24
Posts: 20

[1.4 A1 Win] Results with Sigma 8mm f/3.5

I've tried assembling a few spherical panos taken with a 350D+Sigma 8mm, but all of them seem to have quite bad ghosting and misaligned regions. Here is a screenshot of one example with problem areas highlighted:

http://users.aber.ac.uk/dab98/temp/app/screen1.jpg

Detection settings were set to maximum and the control points seem to be evenly distributed across the extent of the seam. Adding extra control points on the misaligned areas doesn't solve the problem - there still seems to be some residual distortion which APP is not removing. I'm fairly sure I have the NPP accurately set on the panohead, since I can attain results with no visible flaws in PTGui without resorting to smartblend.

Another point: in the render dialogue box, when set to 100% the dimensions of the image are only 4616x2308px, whereas panoramas with the same equipment using PTGui are 7258x3629px, or thereabouts. Quite a significant difference there.

http://users.aber.ac.uk/dab98/temp/app/screen2.jpg

For comparison, here are the rendered output from APP 1.4 A1 and PTGui of the pano above:

1. APP: Bicubic, multiband, detection=maximum, 100%
2. PTGui: PTGui internal blending (i.e. the least sophisticated option), minimal user input other than deleting bad CPs, resized to match APP output.

I've uploaded the images above in davebanaszek_sigma8mm.zip to the panoramas-tests folder in case they might of some use for fine-tuning the lens distortion model.

Last edited by Dave_Banaszek (2007-06-25 15:41:40)

Offline

 

#2 2007-06-25 17:18:03

AlexandreJ
Absolute beginner
From: Challes les eaux, France
Registered: 2005-11-14
Posts: 3750
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

The max size is a confirmed bug. I just forgot to adapt this code to fisheye lenses.

Offline

 

#3 2007-06-25 18:07:56

AlexandreJ
Absolute beginner
From: Challes les eaux, France
Registered: 2005-11-14
Posts: 3750
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

Doesn't seem to be good in ptgui either. Seems that pictures have a head issue.


Uploaded Images

Offline

 

#4 2007-06-25 19:24:57

Dave_Banaszek
Member
Registered: 2006-01-24
Posts: 20

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

AlexandreJ wrote:

Doesn't seem to be good in ptgui either. Seems that pictures have a head issue.

Hmm, your ptgui preview window doesn't look too good at all. I deliberately left out the nadir, since it was handheld and doesn't align with the other images too well. I can't remember exactly what else I did in ptgui - I usually optimize afterwards for the parameters D and E which seems to have a significant effect on the alignment accuracy and delete some poorly placed control points. The point is that I could get a good stitch in ptgui, but not in APP. Perhaps it is user error... big_smile

I'm going to stand by my assertion that the panohead is set up correctly though - because I can get a good quality stitch from that image set (without handheld nadir) without using smartblend or retouching in photoshop, aswell as the hundreds of other panoramas I've managed to stitch successfully since acquiring my fisheye lens using the same head settings.  I also seem to have arrived at the same settings as several other panoguide forums users with the same 350d-sigma8-nodal ninja setup smile

Edit: N.B. I tilted the head up 5 degrees or so to avoid taking a zenith. Perhaps this is affecting the results?

Last edited by Dave_Banaszek (2007-06-25 19:23:44)

Offline

 

#5 2007-06-26 14:26:47

AlexandreJ
Absolute beginner
From: Challes les eaux, France
Registered: 2005-11-14
Posts: 3750
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

I'll check without the nadir. My first opinion is that D, E are helping to get a better match because those two parameters can correct a wrong head setup.

Offline

 

#6 2007-06-26 14:54:03

hankkarl
Member
From: Connecticut, USA
Registered: 2006-02-21
Posts: 1171
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

Dave_Banaszek wrote:

I'm going to stand by my assertion that the panohead is set up correctly though - because I can get a good quality stitch from that image set (without handheld nadir) without using smartblend or retouching in photoshop, aswell as the hundreds of other panoramas I've managed to stitch successfully since acquiring my fisheye lens using the same head settings.  I also seem to have arrived at the same settings as several other panoguide forums users with the same 350d-sigma8-nodal ninja setup smile

Hi Dave,

One way to prove that two of the three settings are correct is to insure the upright part of the Panohead is straight up and down, and the camera is pointing straight down (ie use a hotshoe level).  Take a nadir shot.  Rotate the head 180 degrees.  Take another shot.  Bring both images into photoshop and put one of them as a layer on the other.  Set the transparancy for the top one to 50%, and post the result.

Offline

 

#7 2007-06-26 16:31:15

Dave_Banaszek
Member
Registered: 2006-01-24
Posts: 20

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

I'm having difficulties producing a useable example for you here, but my best effort is shown below.  If I set the focus to the usual value I use for outdoor panos (halfway between 1 and infinity), the nadir image is out of focus so that it's hard to see in the photo whether the centre of the panohead shifts when moved through 180 degrees. However, changing the focus so that the image is sharp results in the centrepoint of the panohead moving in the viewfinder as the focussing ring is turned, so this wouldn't result in an accurate setting for the horizontal rail. I've tried the same experiment with my 17-40mm and the position in the viewfinder stays constant as the focus is changed. Perhaps this is the problem - my lens seems to be off-centre. sad I've noticed when setting the yellow crop circle that the image circle of the lens is offset slightly to the right. While this doesn't appear to affect the sharpness, due to the extensive depth of field, it does seem to cause problems correcting the distortion in APP.


Uploaded Images

Offline

 

#8 2007-06-26 17:00:09

AlexandreJ
Absolute beginner
From: Challes les eaux, France
Registered: 2005-11-14
Posts: 3750
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

We allow the crop circle to be not centered. Of course, distortion is calculated relatively to this center, so if the crop is not centered, distortion is not centered. Perhaps, there's something to study in this area.

Offline

 

#9 2007-06-26 18:09:11

AlexandreJ
Absolute beginner
From: Challes les eaux, France
Registered: 2005-11-14
Posts: 3750
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

Effectively, if we add the d/e parameters, it improves the result. In fact, it corresponds to a 27 pixels shift ( d ) and 8 pixels shift ( e ).
So we'll add those parameters in the lens distortion model too.


Uploaded Images

Offline

 

#10 2007-06-26 21:54:32

hankkarl
Member
From: Connecticut, USA
Registered: 2006-02-21
Posts: 1171
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

Dave_Banaszek wrote:

I'm having difficulties producing a useable example for you here, but my best effort is shown below.  If I set the focus to the usual value I use for outdoor panos (halfway between 1 and infinity), the nadir image is out of focus so that it's hard to see in the photo whether the centre of the panohead shifts when moved through 180 degrees. However, changing the focus so that the image is sharp results in the centrepoint of the panohead moving in the viewfinder as the focussing ring is turned, so this wouldn't result in an accurate setting for the horizontal rail. I've tried the same experiment with my 17-40mm and the position in the viewfinder stays constant as the focus is changed. Perhaps this is the problem - my lens seems to be off-centre. sad I've noticed when setting the yellow crop circle that the image circle of the lens is offset slightly to the right. While this doesn't appear to affect the sharpness, due to the extensive depth of field, it does seem to cause problems correcting the distortion in APP.

OK, before you blame the lens, lets try a couple of things....

Nodal Ninja seems to have two adjustments, call them "fore and aft" and "up and down".  Fore and aft is the adjustment controlled by the screw that fits into the tripod mount on your camera, up and down is the other one.  (left and right are not needed because your tripod mount is centered with the lens).  These directions (up/down, left/right) are with respect to the camera sensor.

insure that the arm is straight up and down.  you could get a "z" type of pattern where the camera is level but offset in the left/right direction (does ptgui tell you if this is the case?)

Some lenses change the position of the NPP with focus changes, so your fore/aft setting may be off for panos, but not for this test. (because this test does not care about the fore/aft setting).

Set your aperture very small -- f/16 or even f/32 or however small the lens goes -- whatever gives you the best image.  Try several shots at different focus settings.   This will tell you if some element inside the lens is off center, but it won't prove that the lens is good.

Last edited by hankkarl (2007-06-26 21:58:17)

Offline

 

#11 2007-06-27 11:53:45

AlexandreJ
Absolute beginner
From: Challes les eaux, France
Registered: 2005-11-14
Posts: 3750
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

I'm studying this case a lot to understand everything behind.
So I added to autopano quite the same kind of parameters d and e. RMS are dropping a lot : from 2.97 to 2.20. That's a lot. It improves this case a lot.
I get quite the same value as in panotools : 25 pixels and 4 pixels. This is a huge shift for a fisheye. You can even see it if you put one source picture in photoshop and the same one 180° rotated on itself with some transparency. The shift in the fisheye center is visible this way.

I will study other panorama to see influence of using a lens shift.

The screenshot shows with advanced lens distortion and without.


Uploaded Images

Offline

 

#12 2007-06-27 13:15:35

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 2000
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

Dave_Banaszek wrote:

However, changing the focus so that the image is sharp results in the centrepoint of the panohead moving in the viewfinder as the focussing ring is turned, so this wouldn't result in an accurate setting for the horizontal rail.

For the following (1) and (2) adjustments I changed the focus to get a crisp image because I doubt focus moves the point where the lens axis cross the camera sensor. I will try to test that...


hankkarl   wrote:

Nodal Ninja seems to have two adjustments, call them "fore and aft" and "up and down". (left and right are not needed because your tripod mount is centered with the lens).  These directions (up/down, left/right) are with respect to the camera sensor.

http://en.wiki.autopano.net/images-en/0/0d/10-web-tete.jpg

The forward/backward is the third and last adjustment among three necessary adjustments.

The above image is an attempt to show the first two ones which, in my opinion, should be done before the third  "fore and aft" one.

The first one (1) is quite evident.
The second one (2) is less evident but useful to insure the lens axis  and the rotation vertical axis are exactly at the same place when the "Align" white arrow in the figure points on the 90 or on the 0 mark.

That you have to use the same (2) knob to deal with the third "fore and aft" adjustment when using a NN3 is an inconvenient the Panosurus avoids...

Note: both spirit levels being centered helps but using spirit levels is not mandatory.

Offline

 

#13 2007-06-27 13:18:30

AlexandreJ
Absolute beginner
From: Challes les eaux, France
Registered: 2005-11-14
Posts: 3750
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

To panotools user : for fisheye fullspherical panorama, is it common to optimize d and e ?

Offline

 

#14 2007-06-27 13:50:37

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 2000
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

I use initial value I established using a messy room for FOV a, b, d, e. I optimize for yaw, pitch and roll first. Then I optimize FOV. When I optimize a, b, d and e the changes are very low in most occasions, I sometimes skip this last optimization step.

Whether this is a common method or not, I don't know but doubt this is widespread (how to use optimizer is hard to explain, and, besides Johnh tutorial readers, not a very well known technique...)

Offline

 

#15 2007-06-27 14:29:00

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 2000
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

Bon ma description ci-dessus est un peu ydilique en ce sens que j'ai fait une série de tests et que ne suis plus trop sur de quelle est la bonne...

"Vertical 8 mm fisheye (3 shots test)" 96.757502 3 -0.006440 -0.019195 0.000000 10.195575 -6.730724 0.000000 0.000000
"Vertical 8 mm fisheye (test)---------" 96.772643 3 -0.006575 -0.019155 0.000000   8.872396 -6.720455 0.000000 0.000000
"Vertical 8 mm (yet another)---------" 96.776805 3 -0.006639 -0.018951 0.000000   7.500249 -6.834267 0.000000 0.000000
"Vertical 8 mm (yet another again)--" 96.762886 3 -0.007405 -0.018041 0.000000   8.616941 -7.552283 0.000000 0.000000

C'est la cohérence des valeurs trouvée (peut être illusoire...) en utilisant différentes séries de photo qui m'a convaincu que c'était utile d'importer des valeurs de coefficients.

roll DxO, y vendent des profils individualisés pour clients riches et pointilleux?

Last edited by GURL (2007-06-27 14:27:17)

Offline

 

#16 2007-06-27 14:54:47

AlexandreJ
Absolute beginner
From: Challes les eaux, France
Registered: 2005-11-14
Posts: 3750
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

Here's a sum up of improvement done by this adding ( and the fact that APP used a 2nd type of distortion, thing that no panotool tool can correct ).

These panoramas come from 8 to 10 picture shoot with a sigma 8mm / on canon 20D.

Code:

       |  std corr. | d/e/2nd type | clean CP>5.0 |    k1    |    k2    |  offx |  offy
       |            |              | + reoptimize |    k1    |    k2    |       |
----------------------------------------------------------------------------------------
pano 1 |       3.45 |         2.74 |        2.63  |  6.10^-3 | -4.10^-2 |  12.4 |    0
pano 2 |       3.37 |         2.61 |        2.58  |  9.10^-3 | -4.10^-2 |  13.1 |  3.9
pano 3 |       3.50 |         3.30 |        2.73  | -1.10^-2 | -4.10^-2 |   6.5 | -2.3
pano 4 |       3.49 |         2.74 |        2.60  |  8.10^-3 | -5.10^-2 |  14.3 | -7.74
pano 5 |       3.45 |         2.83 |        2.69  | -3.10^-2 | -3.10^-2 |   6.7 | -7.5

It always improves the result. That's a good thing smile
Notice : even if it's the same camera/lens, model of the lens varies a lot ... That's not good.

Offline

 

#17 2007-06-29 14:23:16

AlexandreJ
Absolute beginner
From: Challes les eaux, France
Registered: 2005-11-14
Posts: 3750
Website

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

To Dave_Banaszek : Can I use this sample set to create a documentation in the wiki part about fisheye advanced lens model ?

Offline

 

#18 2007-06-29 22:23:59

Dave_Banaszek
Member
Registered: 2006-01-24
Posts: 20

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

AlexandreJ wrote:

To Dave_Banaszek : Can I use this sample set to create a documentation in the wiki part about fisheye advanced lens model ?

Yes, certainly. big_smile

Offline

 

#19 2007-06-29 22:39:53

Dave_Banaszek
Member
Registered: 2006-01-24
Posts: 20

Re: [1.4 A1 Win] Results with Sigma 8mm f/3.5

The advanced lens distortion in alpha 2 really does make a difference - the output from my fisheye images is at least as good as with PTGui now and with less effort on the part of the photographer.  Took me a while to realize that it wasn't turned on by default though lol
Excellent work, bravo! smile

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson