You are not logged in.



#1 2009-08-05 12:02:08

Corvus
New member
Registered: 2008-03-31
Posts: 8

APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

AutoPano Giga 2.0.X fails to optimise the X and Y offset of the fisheye lens relative to the sensor correctly. This is a vital adjustment for fisheye panoramas - without it the distortion is adjusted incorrectly and it's impossible to get a good stitch.

I had almost given up on version 2 until I noticed that it wasn't adjusting the offset correctly during optimisation. By looking back at my old .pano files from version 1.4.2 in a text editor, I was able to calculate an average value and input this manually. Suddenly, panoramas that stubbornly refused to stitch well in v2 just fell into place.

Here are the offset values as calculated by v2's optimiser:

    <FisheyeCoffX> 0.00778917 </FisheyeCoffX>
    <FisheyeCoffY> -0.00324429 </FisheyeCoffY>

And here they are as adjusted by the optimiser from my manually set values (-22 and 20):

    <FisheyeCoffX> -21.9961 </FisheyeCoffX>
    <FisheyeCoffY> 19.9995 </FisheyeCoffY>

Strangely, the difference it makes in the RMS is pretty small - 2.7 - 4 without setting a value manually, 2.0 - 2.3 if it is set. But the visual difference is striking. See the attached images for an example.

If I hadn't previously owned v1.4.2, I wouldn't have been able to work out why there was a problem and work around it. The quality of the stitch was so disappointing I'd just have abandoned v2 altogether. I hope this can be fixed.


Uploaded Images

Last edited by Corvus (2009-08-05 16:38:57)

Offline

 

#2 2009-08-05 13:26:15

Paul
Member
From: Bonn, Germany
Registered: 2008-08-30
Posts: 846

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

Corvus wrote:

See the attached images for an example.

please resize it a lil bit to more than 1x1 pixel winkwink


Paul

close, but no cigar ... ... ...

Offline

 

#3 2009-08-05 23:41:43

GURL
Member
From: Grenoble
Registered: 2005-12-06
Posts: 3501

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

Corvus wrote:

Strangely, the difference it makes in the RMS is pretty small - 2.7 - 4 without setting a value manually, 2.0 - 2.3 if it is set. But the visual difference is striking. See the attached images for an example.

The RMS of the link corresponding to the attached example seems larger than 10. A different placement of control points by the new version could be enough to cause such a bad link.

Does the project produced using version 2.0 results in a bad RMS when it is optimized (again) using version 2.3?


Georges

Offline

 

#4 2009-08-12 22:31:13

Corvus
New member
Registered: 2008-03-31
Posts: 8

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

GURL wrote:

Corvus wrote:

Strangely, the difference it makes in the RMS is pretty small - 2.7 - 4 without setting a value manually, 2.0 - 2.3 if it is set. But the visual difference is striking. See the attached images for an example.

The RMS of the link corresponding to the attached example seems larger than 10. A different placement of control points by the new version could be enough to cause such a bad link.

Does the project produced using version 2.0 results in a bad RMS when it is optimized (again) using version 2.3?

Sorry, I think I may not have expressed myself clearly enough. The range of RMS values I get without manually setting the offsets is between about 2.7 and 4. The range of RMS values if I do set the offset is between 2.0 and 2.3. However, the remaining distortion in the images is enough to leave large stitching errors like the one in the sample image.

Offline

 

#5 2009-08-24 18:17:54

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

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

Seems you found a real confirmed issue => I'm studying this right now.

Offline

 

#6 2009-08-25 10:08:03

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

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

Confirmed issue => solved. The quality is not a bit better with camera/lens which are strongly off centered.

Offline

 

#7 2009-08-25 19:54:10

BrianLR
Member
From: New Jersey, USA
Registered: 2008-09-07
Posts: 94
Website

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

AlexandreJ wrote:

Confirmed issue => solved. The quality is not a bit better with camera/lens which are strongly off centered.

I am not clear what you mean, Alexandre,  when you say solved.

Will this be in the next bug fix release?

I have experienced similar problem with fisheye stitching in AGP and would like to see this resolved.

Thanks

Brian

Last edited by BrianLR (2009-08-27 02:34:31)


Brian  - http://PhotoWebLab.zenfolio.com
Nikon D300, Nikkor 10.5mm, Sigma 10-20mm, Nikkor 18-70mm, Nikkor 50mm f/1.8,
Nikkor 55-200mm VR, Tokina 80-400mm, AutoMate, Nodal Ninja 3 Mk II with RD-16
Cyber-PC Intel Core i7-2600K, 32GB RAM, GeForce GTX 560 Ti 1GB DDR5, 2 x 60GB SSD RAID 0, 2 x 450Gb VelociRaptor RAID 0, 2 x2 TB HDD RAID 0

Offline

 

#8 2009-08-26 09:14:28

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

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

Yes, when I say fixed, means that I found the reason here and that I fixed the bug in our codebase.
So the next release will have this issue resolved ( in v2.0.4 which is of course not yet available ).

Offline

 

#9 2009-08-26 18:51:43

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

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

Hi Alexandre,

Will this fix also apply to rectilinear lenses?  I'm thinking of my 12mm on FF -- would it have similar centering issues? 

Yes, it should be rectilinear, but it does have distortion.  And APG "distorts" images into almost a circle to fit them into the pano, so centering may matter here.

the more common 16mm (eg 10mm on 1.6 crop) may have the same issue to a lesser degree.

Offline

 

#10 2009-08-27 02:26:03

BrianLR
Member
From: New Jersey, USA
Registered: 2008-09-07
Posts: 94
Website

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

AlexandreJ wrote:

Yes, when I say fixed, means that I found the reason here and that I fixed the bug in our codebase.
So the next release will have this issue resolved ( in v2.0.4 which is of course not yet available ).

Can you give any indication of how long before v2.0.4 will be released, is it days, weeks or months?


Brian  - http://PhotoWebLab.zenfolio.com
Nikon D300, Nikkor 10.5mm, Sigma 10-20mm, Nikkor 18-70mm, Nikkor 50mm f/1.8,
Nikkor 55-200mm VR, Tokina 80-400mm, AutoMate, Nodal Ninja 3 Mk II with RD-16
Cyber-PC Intel Core i7-2600K, 32GB RAM, GeForce GTX 560 Ti 1GB DDR5, 2 x 60GB SSD RAID 0, 2 x 450Gb VelociRaptor RAID 0, 2 x2 TB HDD RAID 0

Offline

 

#11 2009-08-27 09:17:45

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

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

We don't do offset calculation for rectilinear lenses. I had that study on the todo but didn't found yet really off centered standard lenses.
It's weeks ( perhaps end of next week, 4 september but more probably the 11 september ). Don't take this date for anything sure. If we found something that we need to solve, we'll postpone.

Offline

 

#12 2009-08-27 18:09:50

Corvus
New member
Registered: 2008-03-31
Posts: 8

Re: APG 2 fails to calculate fisheye centre offset [2.0.2, 2.0.3, Mac 64]

AlexandreJ wrote:

Yes, when I say fixed, means that I found the reason here and that I fixed the bug in our codebase.
So the next release will have this issue resolved ( in v2.0.4 which is of course not yet available ).

Wonderful, many thanks! It'll save a lot of time...

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson