Re: [Lensfun-users] Urgent question about the database of Lensfun

2014-04-09 Thread Torsten Bronger
All your assumptions are correct. Note that Ru is measured in the original image (taken by the camera), whereas Rd is measured in the destination picture (which is supposed to be undistorted). -- Put Bad Developers to

Re: [Lensfun-users] Improved matching for fixed-lens cameras.

2014-04-09 Thread Torsten Bronger
My camera gives also a wrong focal distance ... I think it is also 0. Maybe it is darktable bahaviour or that of the EXIF library. Unfortunately, only a few cameras return the focal distance. And even for them, only a few lenses do.

Re: [Lensfun-users] Improved matching for fixed-lens cameras.

2014-04-09 Thread Torsten Bronger
If vignetting has been already corrected in the camera, the remaining vignette cannot be reliably corrected. Vignetting correction *must* work on *linear* sensor data. That said, unless vignetting is not over-corrected, everything is fine. The human eye cannot see slightly under-corrected

Re: [Lensfun-users] GoPro hero support?

2014-04-09 Thread Torsten Bronger
GoPro hero in connection with LensFun means that somebody takes test pictures and makes the calibration. The result of the calibration is then incorporated into LensFun's database. See http://wilson.bronger.org/calibration for futher information.

Re: [Lensfun-users] lensfunpy

2014-04-09 Thread Maik Riechert
Thanks for the explanations. At http://neothemachine.github.io/lensfunx/plots/dist.svg I now plot r_d - r_u and at http://neothemachine.github.io/lensfunx/plots/dist_rel.svg (r_d - r_u) / r_u. Can you confirm if these look right? I am a bit worried about the second graph as it doesn't match the

Re: [Lensfun-users] lensfunpy

2014-04-09 Thread Torsten Bronger
The 1.8 is approx. sqrt(1.5**2 + 1**2), i.e. half-diagonal in normalised coordinates. And half-height is 12mm, and this is the factor between normalised coordinates and real-world coordinates since half-height is 1 in normalised coordinates by definition. Thus, the half-diagonal of the sensor is

[Lensfun-users] Panasonic GF1 and 20mm - darktable

2014-04-09 Thread arkenlond
Hello, I have been trying to get my RAW pictures taken with a Panasonic GF1 and the 20mm f1.7 lens corrected in darktable 1.05. But I can get no correction made on the picture, and the list of lenses available do not seem to be displaying the actual 20mm lens. Any idea why the lens would not

[Lensfun-users] Calibration manual: How to ADD?

2014-04-09 Thread Simon Eugster
http://lensfun.berlios.de/lens-calibration/lens-calibration.html The manual doesn't say how you can actually test the results and add them to lensfun's database. -- Put Bad Developers to Shame Dominate Development with

[Lensfun-users] Lens Profile

2014-04-09 Thread Timo
I've profiled one of my lens and would like to contribute the profile to the lensfun database. I tried to send an email to Andrew but the email bounced. Where can I send the my profile? BFC -- Put Bad Developers to

[Lensfun-users] Please consider applying the patches

2014-04-09 Thread Edouard Gomez
There are a few lens definitions in the Patch section of the project. It would be great if they were integrated eventually. Thanks a lot. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous

[Lensfun-users] Version 0.2.5?

2014-04-09 Thread B . W . H . van Beest
Hi, I wonder how to obtain version 0.2.5 directly from the code repository. I see the tags/0.2.3 and tags/0.2.4, and there is the trunk. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous

Re: [Lensfun-users] Adobe Lens Profiles - success

2014-04-09 Thread Johannes Schneider
So here it is... Quick hack for of the OpenCV calibration example. Check the README for further instructions. http://www.gmx.de/mc/QsL8tDXHTPE2GB1tndQIfNZLsammLn This link is 14 days valid. Johannes -- Put Bad

Re: [Lensfun-users] UFRaw support

2014-04-09 Thread Andrew Zabolotny
It makes sense, if you have seen PTLens, DXOptics or any other program that lets do lens correction (also adobe digital camera), they all allow this. These parameters are more or less straightforward to understand, especially if UFRaw will do realtime preview with lens correction taken into

Re: [Lensfun-users] limits of vigetting corrections

2014-04-09 Thread Jean-Pierre Bucciol
Ok I will try with other pictures with bigger overlapping aeras. Thanks. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new

Re: [Lensfun-users] Adobe Lens Profiles - success

2014-04-09 Thread Johannes Schneider
I followed with interest your discussion about converting Adobe profile to lensfun. Trying to calibrate my lens with hugin, I searched a more convenient way do get the distortion parameters. I almost wrote some code, to get those parameters out of a checkerboard picture, until i realised someone

[Lensfun-users] High quality calibration..

2014-04-09 Thread Henrik Andersson
Hi, I'm pretty new to lensfun but have poked around a bit with it thru Darktable, i had a D90 and made a tokina 11-16mm profile using the documentation i found online... The calibration was fairly good but didnt cut any high quality, and now when i got myself a D700 i want to make some high

Re: [Lensfun-users] Panasonic LX-5 lens?

2014-04-09 Thread Andrew Zabolotny
So far there's data only for Lumix LX3. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the

Re: [Lensfun-users] Adobe Lens Profiles - again

2014-04-09 Thread Andrew Zabolotny
The code I pasted above is from ModifyCoord_UnDist_Poly5 It's not solving the inverse equation using Newton iteration. Right, Newton integration is used in ModifyCoord_Dist_Poly5 which distorts the image (e.g. solves the reverse equation Rd=f(Ru)). Compare this from ModifyCoord_UnDist_Poly5

Re: [Lensfun-users] Lens Info

2014-04-09 Thread Andrew Zabolotny
You can send the lens description to me, I'll submit it to SVN and it will be automatically included in the next release. 10 measurements means that there's distortion correction data at approximatively every 10 millimeters of focal length. I suspect this is quite enough, if this particular lens

Re: [Lensfun-users] Please consider applying the patches

2014-04-09 Thread Andrew Zabolotny
Oh, thank you, I haven't noted them - I don't get mail notifications when a patch is added for some reason. I will look into them right now. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous

Re: [Lensfun-users] Crash using ufraw

2014-04-09 Thread Andrew Zabolotny
That's the code that was in release. I removed the push/pop in latest svn commit, I wasn't aware gcc on x86 is so picky about ebx, and haven't tested the x86/shared combination after last change. If you have problems with SSE, you can always configure with --vectorization= and leave SSE code

Re: [Lensfun-users] Adobe Lens Profiles - again

2014-04-09 Thread Andrew Zabolotny
Well, Rd stands for radius distorted and Ru, respectively, for undistorted. What I mean here is that Rd is the distance from picture center to the distorted pixel (e.g. in the original camera shot, which is distorted (and we want to rectify it)). And right, I also noted the similarity between

Re: [Lensfun-users] Compiling lensfun in VS 2008

2014-04-09 Thread Andrew Zabolotny
You're supposed to compile the library separately, and then link your project with it. You can build either a static or dynamic library, but please use the provided makefiles. You have to run configure first (you'll need Python for that), and use GNU Make.

Re: [Lensfun-users] Panasonic LX-5 lens?

2014-04-09 Thread Andrew Zabolotny
1) I used two in tutorial to make things simpler and easier to understand. With three photos you are more likely to get decent results (e.g. more statistical data for hugin to chew) 2) For TCA its best to use shots of uniformely-colored things with high-contrast edges, besides, all three R,G,B

Re: [Lensfun-users] How to work out new settings from a camer

2014-04-09 Thread Andrew Zabolotny
Hey, you already know more than me ;-) BTW if you haven't used Hugin before, you definitely must try it :-) It's an extremely powerful tool as soon as you know what you're doing. Lens calibration is just a small side taks for Hugin, it's main destination is to make panoramas.

[Lensfun-users] Small mistake

2014-04-09 Thread Mark Constable
Woopsies... cd $SRCDEST/$pkgname svn up should be cd $SRCDEST/$pkgname svn up; cd $SRCDEST -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test

Re: [Lensfun-users] Adobe Lens Profiles

2014-04-09 Thread Malcolm Gillies
I finally took a look at the ALPC licence and the licensing of the community-contributed lens profiles. I didn't see anything in the ALPC licence that suggested Adobe wants to restrict you from doing things with the lens profiles you create yourself. As for the community-contributed lens

Re: [Lensfun-users] PTLens model wrong?

2014-04-09 Thread Sebastian Kraft
Not sure if the d parameter is necessary. The linked wiki entry says, that d is calculated implicitly by pano12 (used by PTOptimizer, PTStitcher and the GUIs) in order to keep the same image size. So I assume this is redundant to the scaling parameter that can be set in a different way in lensfun

Re: [Lensfun-users] Adobe Lens Profiles - again

2014-04-09 Thread Malcolm Gillies
Sorry that this is such a frustrating way to discuss this but I think we're talking past each other. The code I pasted above is from ModifyCoord_UnDist_Poly5 It's not solving the inverse equation using Newton iteration. Compare this from ModifyCoord_UnDist_Poly5 again: const float r2 = x *

[Lensfun-users] To Andrew: Mail problems.

2014-04-09 Thread Niels Kristian Bech Jensen
Hi Andrew. During the past months all my mails to you have bounched with 'delivery failure'. Have you changed your mail address? I have several patches for lensfun. Regards, Niels Kristian Bech Jensen -- Put Bad

Re: [Lensfun-users] a,c TCA correction parameters

2014-04-09 Thread Christopher Engelhard
So far I haven't found any lenses that needed more either, I was just curious. Good to know about duplicated entries in the database. Means I'll have to remember to clean up my local database occasionally. -- Put Bad

Re: [Lensfun-users] Fixed

2014-04-09 Thread Mark Constable
Thanks for the hints and your help getting this to compile. I need your package for digikam. FWIW the source ArchLinux PKGBUILD is here, and also the the 32bit and 64bit packages. http://code.google.com/p/eth-os/source/browse/trunk/dev/lensfun/PKGBUILD

Re: [Lensfun-users] About double entries

2014-04-09 Thread Sebastian Kraft
Isn't it the other way round? When you calibrate a lens with a crop 1.0 camera you have information about the distortion inside and outside of the crop 1.5 region of the same lens. So fitting of the parameters should be more accurate. When calibration is done with a crop 1.5 image you don't

Re: [Lensfun-users] lensfun DB entry for Panasonic LX3

2014-04-09 Thread Matthias Weiss
OK. Like I wrote in the private email I'm working on improvements of the correction parameters. Meanwhile I got hugin producing usable parameters, but only when hugin uses a, b and c correction parameters. I currently have the interesting situation that for the focal length 5.1 mm I have 2