On Wed 15-Aug-2012 at 20:40 +0200, Torsten Bronger wrote:

I try to get anti-vignetting parameters for the lensfun library.  My
current approach is to use Hugin for this, see
<http://lensfun.berlios.de/lens-calibration/lens-vignetting.html>.

I wrote a Python script that generates the makefiles and calls make
for each picture triplett, and generates the XML code for lensfun in
the end.  This seems to work.

Great, I hope you will share this workflow and script when you have it finished.

1.  I use dcraw for converting the RAW files.  It applies a BT.709
   gamma correction.  (Other RAW convertes seem to apply gamma
   correction as well.)  Doesn't this spoil the vignetting analysis
   of Hugin?  Does this mean that my vignetting parameters cannot
   be universal but are bound to my particular toolchain?  Or can
   BT.709 be considered universal?

If you optimise camera response then vignetting should be calculated in linear space, in which case the gamma of the source images is irrelevant.

2.  Which parameters should be optimised by autooptimiser?
   Currently I use the "-a" option but I wonder whether it's good
   to optimize the EV because all three pictures had the same
   exposure parameters and should be the same after all.  And what
   about the camera curve?  Should it be optimised?

If the light source is constant and you are sure the shutter speed is consistent then you don't need to optimise Eev.

3.  The results are not stable.  Two calls to autooptimiser yield
   different vignetting parameters.  I suspect the number of random
   points used for the photometry should be increased.  Is is true?
   How can it be done?

It seems you can't vary the number of sampling points with autooptimiser. This step can be performed separately with the vig_optimize tool which has a -p option for this.

4.  I want to store the stiched TIFFs in order to be able to analyse
   the de-vignetting quality by looking at them.  However, they are
   blended.  I suspect the --levels option of enblend can help me.
   If it does, which value do you recommend?  I didn't quite
   understand the manpage.

The stitching process should create a separate TIFF file for each remapped image, these are usually deleted by Hugin after blending, but there is an option to keep them.

--
Bruno

--
You received this message because you are subscribed to the Google Groups "Hugin and 
other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to