#259 hugin interoperability mode

open
nobody
None
5
2011-09-06
2011-09-06
No

Currently it is difficult to use ufraw with hugin without some unnecessary quality loss.

Requirements:
- TCA must be corrected in ufraw, before the Bayer mask interpolation
- distortion and vignetting is performed by hugin. Any processing in ufraw is redundant, with negative impact on image quality. Also there is a problem with black borders of the image which can't be automatically removed in hugin (it would help if ufraw could write images with transparent background).

Proposed solution:
Add a boolean flag "hugin compatibilty mode" to config and commandline,
if set:
- perform only TCA correction
- export vignetting and distortion data in a "lens calibration" .ini file that hugin can read (at the moment I cant find any description of the file format, but it looks trivial, see also http://wiki.panotools.org/Hugin_Camera_and_Lens_tab )

Discussion