Re: [hugin-ptx] Re: Control Point Bias

2022-05-17 Thread Klaus Foehl
Hello Gunter On 09.05.22 21:09, Gunter Königsmann wrote: Two possible reasons I can think of: If you place 100 control points very near to each other they will count more than a few control points at the edges caused by their sheer number. ...and if the lens distortion isn't modeled accuratel

Re: [hugin-ptx] Determining lens distortion parameters from multiple panoramas

2022-04-29 Thread Klaus Foehl
On 28.04.22 17:49, Bruno Postle wrote: On Thu, 28 Apr 2022 at 15:57, Jeff Welty wrote: On Thursday, April 28, 2022 at 2:33:53 AM UTC-7 Bruno Postle wrote: Lensfun and panorama tools have a slightly different lens model, so it isn't always possible to transfer parameters (I'm not sure if there

Re: [hugin-ptx] HEADS UP: Don't use gmail! (was: Control Point dialog features)

2022-02-06 Thread Klaus Foehl
Hi Greg, dear all, with my gmail account I find 1) at first glance entire threads go into Spam 2) I find one or two examples where a reply makes it into the Inbox 3) all this starts on 16.01.2022 with a posting of Noveguy. Also between 09.01.2022 and 16.01.2022 I did not receive any hugin-ptx

Re: [hugin-ptx] Re: Multiblend 2.0 RC1 - better blending and 300x* faster than Enblend

2021-06-13 Thread Klaus Foehl
Hello, as there is actual coding of new software going on, maybe one can iron out a deficiency in the Hugin lens model. At least lay the groundwork for it. The Brown-Conrady model parameters are sound, but the intersection with the abc-Hugin parameter set contains only one (1) non-trivial di

Re: [hugin-ptx] [Request]: Resolve confusion between "Distance" and "Correlation"

2021-02-15 Thread Klaus Foehl
Hello, On 09.02.21 04:28, dgjohnston wrote: Before I use hugin I usually use DxO PhotoLab to correct for lens and camera body distortion. Does anyone know if DxO uses the Brown-Conrady lens model for their routines or anything similar? You probably know that hugin uses "abc" of which only b i

Re: [hugin-ptx] Re: [Request]: Resolve confusion between "Distance" and "Correlation"

2021-02-08 Thread Klaus Foehl
On 31.01.21 19:15, 'ChameleonScales' via hugin and other free panoramic software wrote: I assemble natural landscape panoramas which have to be stitched as precisely as possible. Maybe you are aware that hugin implements only a small number of distortion parameters from the Brown-Conrady len

Re: [hugin-ptx] Re: Changing crop changes stitching success

2021-01-25 Thread Klaus Foehl
Hello, it also works the other way round. Sometimes a glitch or bug from deep inside enblend rears its head, and a minute change of the output crop can make all the difference between fail and success. With your approach of blend first then crop this workaround chance would not be available.

Re: [hugin-ptx] Re: New to Huglin looking for some help.

2020-12-16 Thread Klaus Foehl
I want to second the recommendation to manually provide a good guess for the field-of-view. And at least initially to not include it as an optimisation parameter. In Photos > Optimize > Geometric select "Custom parameters", then an additional "Optimizer" tab appears, and and there with lens par

Re: [hugin-ptx] Smudged Area

2020-08-07 Thread Klaus Foehl
Hello all, I also encouter this bug every now and then. It is more likely to show up when I use larger image width, say beyond 16000 or 18000. Small changes to the image orientation (yaw) can help. Changing the image size, usually I decrease the size by 5 to 10%, solves the issue most of the

Re: [hugin-ptx] Re: Piranesi's perspective trick

2020-06-03 Thread Klaus Foehl
Hi David, There is wikimedia commons, and there are quite a few panoramics on there. On the Featured Pictures there used to be a panoramics category as well, but years ago in the prevailing wisdom they abolished it so this single bucket of high quality material there is no more. Panoramics are

Re: [hugin-ptx] Re: Scale panorama FOV

2020-04-02 Thread Klaus Foehl
age ‐‐‐ On Monday, March 30, 2020 10:35 AM, Klaus Foehl wrote: As you are talking sub-degree precision, there is an inherent limitation in the hugin lens model or abc parametrisation. From the Brown-Conradi model, a mathematically sound distortion description, hugin implements only one

Re: [hugin-ptx] Re: Scale panorama FOV

2020-03-30 Thread Klaus Foehl
As you are talking sub-degree precision, there is an inherent limitation in the hugin lens model or abc parametrisation. From the Brown-Conradi model, a mathematically sound distortion description, hugin implements only one of the non-trivial parameters, which is parameter b. Parameters a and

Re: [hugin-ptx] Re: incomplete lens correction model - it bites

2018-08-24 Thread klaus . foehl
Hello again, after several weeks of work-related absence... Prompted by someone mentioning LCP files and the lens model Adobe implements in their products, http://download.macromedia.com/pub/labs/lensprofile_creator/lensprofile_creator_cameramodel.pdf I have done some internet searches. Interest

Re: [hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-27 Thread klaus . foehl
Hi bugbear, As you notice, the mathematical lens model, despite its shortcoming, does a halfway decent job at about pixel or half pixel level. In a finished panoramic, you visually notice when images are misaligned at the seam line. Hugin's sidekick enblend does a really good job in sorting out

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-26 Thread klaus . foehl
Am Donnerstag, 26. Juli 2018 13:42:40 UTC+2 schrieb Erik Krause: > > Am 26.07.2018 um 13:32 schrieb klaus...@gmail.com : > > This difference image shows the misalignment near the corner: > > http://www.foehl.net/tiff00010002.jpg > > This could as well be caused by parallax due to entrance pupi

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-26 Thread klaus . foehl
Hallo, This difference image shows the misalignment near the corner: http://www.foehl.net/tiff00010002.jpg Best regards Klaus -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Gro

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-26 Thread klaus . foehl
Am Mittwoch, 25. Juli 2018 23:09:40 UTC+2 schrieb Erik Krause: > > ... > The parallax is clearly visible. See the roof of the house move against > the background: http://erik-krause.de/parallax-foehl.gif > Indeed. And I see that the shadow has moved as well. I have already looked into the 5 i

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-26 Thread klaus . foehl
Am Mittwoch, 25. Juli 2018 23:12:07 UTC+2 schrieb Erik Krause: > > Am 25.07.2018 um 23:09 schrieb Erik Krause: > >> What I can do is to take some photos while not flying. It will not be > >> a 360 degrees panoramic but more like 120 to 150 degs, however I can > >> control the nodal point to a

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-25 Thread klaus . foehl
Hi Erik, Thank you for looking into it. While I was sure the drone drifted barely, and as the photos are taken from 100m height I cannot prove that it is not parallax. What I can do is to take some photos while not flying. It will not be a 360 degrees panoramic but more like 120 to 150 degs, ho

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-25 Thread klaus . foehl
Re your sgn(r)*r**2 mapping function. You can realise with a small aperture, then a lens with r^2 and r^3 terms which maps your incoming theta onto sgn(theta)×theta^2 and last a lens converting direction to position. It is doable, even on a turntable. But you'll get sizeable imaging errors as s

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-25 Thread klaus . foehl
Why holomorphic? Because a spherical lens surface parametrised as z(x,y) is holomorphic. Then light refraction according to Snell's law also gives holomorphic funktions for the rays. All this if course has a finite convergence radius. Aspherical corrections are usually even polynomials and hence

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-25 Thread klaus . foehl
Hallo, Am Mittwoch, 25. Juli 2018 15:05:30 UTC+2 schrieb klaus...@gmail.com: > > Hello, > > I am using a free service. Downside is that the 2.5 GB will expire there > after 48 hours. Files from a Parrot Anafi drone flight are here: > > https://mab.to/baXC9ntbt > A few observations: 1) On import

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-25 Thread klaus . foehl
Hello Erik, Am Mittwoch, 25. Juli 2018 17:15:19 UTC+2 schrieb Erik Krause: > > Am 25.07.2018 um 16:38 schrieb klaus...@gmail.com : > > Please compute, in cartesian coordinates, the partial derivative > d^2/dxdx > > of the 2-dim mapping function with c=1 as parameter. > > Hint: you'll encounter

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-25 Thread klaus . foehl
Hallo, Am Dienstag, 24. Juli 2018 22:13:04 UTC+2 schrieb Erik Krause: > > Am 24.07.2018 um 21:01 schrieb klaus...@gmail.com : > > > I found an old thread on the panotools wiki. > > > > https://wiki.panotools.org/User:Klaus/Improving_Hugin > > There probably is one problem we didn't consider th

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-25 Thread klaus . foehl
Am Dienstag, 24. Juli 2018 22:37:35 UTC+2 schrieb Erik Krause: > > Am 23.07.2018 um 17:26 schrieb klaus...@gmail.com : > > > Non-zero parameters a and c introduce singularities at r=0, something a > real lens does not have. > > Since the correction function itself doesn't have a singularity at

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-25 Thread klaus . foehl
Hallo, Am Dienstag, 24. Juli 2018 21:56:16 UTC+2 schrieb Torsten Bronger: > > Hallöchen! > > klaus...@gmail.com writes: > > > I found an old thread on the panotools wiki. > > > > https://wiki.panotools.org/User:Klaus/Improving_Hugin > > I find the language hard to understand, sorry. Anyway

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-25 Thread klaus . foehl
Hello, I am using a free service. Downside is that the 2.5 GB will expire there after 48 hours. Files from a Parrot Anafi drone flight are here: https://mab.to/baXC9ntbt Feel free to upload some or all files to more permanent storage. Best regards Klaus -- A list of frequently asked question

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-24 Thread klaus . foehl
Hallo Torsten, I found an old thread on the panotools wiki. https://wiki.panotools.org/User:Klaus/Improving_Hugin As long as there is no hard vignetting in the lens, the reasoning should work. Best regards Klaus -- A list of frequently asked questions is available at: http://wiki.panotools.

[hugin-ptx] Re: incomplete lens correction model - it bites

2018-07-24 Thread klaus . foehl
Hi all, Thanks for the replies so far. I'll upload some photos in due course. But 1st I need to fetch suitable photographic material back at home, and 2nd I want to try to stitch a 360 deg panoramic as this better constrains the FOV fit parameter. As the JPGs have filtering artifacts, I'll sup

[hugin-ptx] incomplete lens correction model - it bites

2018-07-23 Thread klaus . foehl
Hello, It is 10+ years that I have last been active on this group,and on the panotools wiki as well. On the wiki my old credentials still work ;-) In these old days I did detail that from the lens parameter set abc only the br^3 term is useful. Non-zero parameters a and c introduce singularitie

[hugin-ptx] Re: MatchPoint naming

2009-09-02 Thread Klaus Foehl
On 1 Sep, 16:54, Bart van Andel wrote: > Please use English in this group. I've translated your message > (freeform) for convenience here: Sorry about that. Did not realise that I was not writing English. Possibly because I just had picked up the news in German language. > What should we do wit

[hugin-ptx] Re: Stitcher tab changes?

2009-08-29 Thread Klaus Foehl
Hello, My constructive criticism: Personally I'd like to see angles and crop pixel values somewhere -not necessarily on this tab here. Plus hfov & vfov and crop affect the same for many projections, crop left and right and effectively you reduce your hfov. Optimum size: working fine by me, and

[hugin-ptx] Re: Lens calibration gsoc project

2009-07-30 Thread Klaus Foehl
Hello, On 29 July, 18:20, Thomas Sharpless wrote: > I hope you don't mind that I have forwarded this reply also to hugin-ptx. Perfectly fine by me. A few annotations before I leave for one week of holidays... First I tried a mapping function, for simplicity r=tan(theta), theta range 0-45 degr

[hugin-ptx] Re: Black lines in bigger panos?

2009-07-27 Thread Klaus Foehl
Hello Zoran, Can confirm this with a 360degrees pano with, say, approx. 18000x2000 pixels. Vertical line in the sky, about 20% image height, IIRC about one pixel wide. Worth slimming the project down, trying to conserve the bug with the minimum number of images? Cheers Klaus --~--~-~--~-

[hugin-ptx] Re: Some hugin related scalable graphic

2009-07-24 Thread Klaus Foehl
Hello On 22 July, 05:01, Yuval Levy wrote: > the logo itself, I'm not sure - it is basically the same logo, but with > a glossy / aquarel effect rather than Luca's original matte / crayon effect. Personally, I also like the crayon effect of the original logo. Just my 2 EURO-cent ;-) Klaus --~-

[hugin-ptx] Re: hugin-0.8.0_rc5 released

2009-07-21 Thread Klaus Foehl
Hello Bruno, On 20 July, 18:37, Bruno Postle wrote: > We never did setup the language switching. > > It is linked near the top of the front page: > >Hugin 0.8.0 released! 2009-07-17 >Release notes... [ Italiano... Deutsch... ] Indeed. My browser cached an old page version. Sorry. The re

[hugin-ptx] Re: hugin-0.8.0_rc5 released

2009-07-20 Thread Klaus Foehl
Hello - and replying to myself http://hugin.sourceforge.net/releases/0.8.0/de.shtml is now containing the above text. I could not find it linked explicitely (looks to me like a browser-setting specific language switching) hence the URL given so other German language speakers may proofread it. C

[hugin-ptx] Re: hfov considered dangerous

2009-07-20 Thread Klaus Foehl
Hello Tom et al., On 18 July, 17:13, Tom Sharpless wrote: > On further consideration, what about ending our dependence on > "hfov" altogether? Firstly I would suggest to use something like dfov, diagonal fov which would be independent of portrait or landscape photo orientation. But of course o

[hugin-ptx] Re: What is optimized FOV really?

2009-07-20 Thread Klaus Foehl
Hello, On 13 July, 20:31, Aron H wrote: > [...] > In theory, the benefit is > numerical stability, and matching best-practice academic research in > this area. However, are there practical examples of PanoTools failing > or acting badly because of its distortion model? If this change can > solve

[hugin-ptx] Re: hugin-0.8.0_rc5 released

2009-07-20 Thread Klaus Foehl
On 17 July, 09:18, Klaus Foehl wrote: > On 10 July, 18:38, Bruno Postle wrote: > > > There are release notes here: > > >http://hugin.sourceforge.net/releases/ > > Hallo, > > Kümmert sich schon jemand um die deutsche Fassung? > (German version anyone?) Ans

[hugin-ptx] Re: Normal Output: What is Difference Between Blended and Remapped?

2009-07-20 Thread Klaus Foehl
On 20 July, 09:48, TomBrooklyn wrote: > In Hugin's Stitcher Normal Output, what is the difference between a) Blended > panorama and b) Remapped images? > -- > View this message in > context:http://www.nabble.com/Normal-Output%3A-What-is-Difference-Between-Ble... > Sent from the hugin ptx mailing

[hugin-ptx] Re: Enblend error using hugin-0.8.0_rc5

2009-07-17 Thread Klaus Foehl
On 16 July, 23:45, Bruno Postle wrote: > The optimiser can't solve if the initial start position is too far > from the 'correct' solution. The d & e parameters were so far out I > wouldn't expect it to ever converge even if the 'bad' control points > were deleted. Hello, After the 0.8.0 rele

[hugin-ptx] Re: hugin-0.8.0_rc5 released

2009-07-17 Thread Klaus Foehl
On 10 July, 18:38, Bruno Postle wrote: > There are release notes here: > > http://hugin.sourceforge.net/releases/ Hallo, Kümmert sich schon jemand um die deutsche Fassung? (German version anyone?) Gruß Klaus --~--~-~--~~~---~--~~ You received this message becau

[hugin-ptx] Re: hugin-mac-0.8.0-RC5 32/64bit version released

2009-07-15 Thread Klaus Foehl
On 14 July, 13:07, Klaus Foehl wrote: > On 13 July, 22:11, Bruno Postle wrote: > > > On Mon 13-Jul-2009 at 01:49 -0700, Klaus Foehl wrote: > > >2) Blending section of stitching: had "--visualize visu.jpeg" as > > >default option from a previous 0.7.0 opt

[hugin-ptx] Re: hugin-mac-0.8.0-RC5 32/64bit version released

2009-07-14 Thread Klaus Foehl
On 13 July, 22:11, Bruno Postle wrote: > On Mon 13-Jul-2009 at 01:49 -0700, Klaus Foehl wrote: > > >1) Control Points tab, in the drop-down menus with the images one > >cannot click on the last image. Ist also appears that there is extra > >space in the drop-down panel be

[hugin-ptx] Re: hugin-mac-0.8.0-RC5 32/64bit version released

2009-07-13 Thread Klaus Foehl
Hello, A quick bug report, yes I know it should got onto the bug-tracker as well, but work comes first. Mac mini Tigre 10.4.11. 1) Control Points tab, in the drop-down menus with the images one cannot click on the last image. Ist also appears that there is extra space in the drop-down panel bel

[hugin-ptx] Re: What is optimized FOV really?

2009-07-10 Thread Klaus Foehl
Hello all, One further thought about the cubic and quintic terms only in distortion correction. Let us assume that the mapping from the solid angle space onto the focal plane sensor is mathematically well behaved. One standard way is to parametrise this into a polynomial, a standard two-dimensio

[hugin-ptx] Re: What is optimized FOV really?

2009-07-03 Thread Klaus Foehl
Hello, Quick addition and summary from my side. 1) Barrel distortion correction: panotools uses r* = a*r^4 + b*r^3 + c*r^2 + d*r, with r being the normalised radius. If it were not for the condition a +b+c+d=1 this parameter d would be fully collinear with the focal length. focal_length_panotool

[hugin-ptx] Re: What is optimized FOV really?

2009-07-02 Thread Klaus Foehl
On 2 July, 16:31, Aron H wrote: > Is anyone interested in a writeup comparing Bouguet camera calibration > to Hugin calibration? Somewhere in the wiki? Yes indeed. I'd like to see how much is maths/physics/symmetry based (like parameter b in hugin/panotools) and where phenomenology-only (like

[hugin-ptx] Re: What is optimized FOV really?

2009-07-01 Thread Klaus Foehl
Hello Aron, If I understand hugin and the undelying panotools correctly, then the maths direction is already in the direction you require. In the output image, equirectangular, you already have theta and phi angle in 3D for each pixel. Distance to object is missing of course. With this (x,y) whic

[hugin-ptx] Re: 3d-gradients of sky

2009-06-22 Thread Klaus Foehl
Hi Thomas, While gimp is wonderful, duplicate the relevant input photo(s), then misalign them in hugin to cover your corner and then crop them as required in the crop tab so they only contribute sky. In this way, if there is a linear gradient only, exposure correction will adjust and then enblend

[hugin-ptx] Re: enblend algorithm

2009-06-15 Thread Klaus Foehl
Hi, On 14 June, 08:12, Andrew Mihal wrote: > - How to handle seams that are closed contours, e.g. the kind of > overlaps that are formed when patching the zenith or nadir of a > full-360 panorama. It is not only the the closed contour (where there is a bug as shown) http://wiki.panotools.org/E