Re: [darktable-user] Leica D-Lux typ 109, lens correction

2017-07-28 Thread Frank J.
Am 28.07.2017 um 13:50 schrieb GianLuca Sarto:
> Hello All,
> 
> this small camera needs a strong lens correction: while out-of-camera
> JPGs are fairly correct, the RAW files are appalling.
> 
> The Lens Correction menu says "lens not found".
> 
> Is there a way to trick DT to use Panasonic's LX100 lens correction, if
> available, since it should be in many ways a clone?
> 
> thanks for your attention,
> 
> -Gian

Hi,
 try to edit the lensfun-data in "/usr/share/lensfun".

In file "compact-panasonic.xml" the entry


Panasonic
DMC-LX100
panasonicDMCLX100
2.21


Points to:

   panasonicDMCLX100

Add a new -File (or edit in compact-leica.xml?).

Copy model "DMC-LX100" as model "Leica D-Lux typ 109" into the new file.
Copy panasonicDMCLX100 into the new file.

The model must match exactly the text from the exif-Data.

Your changes will be erased with the next update of lensfun. Make a copy.
If it works, give a ticket to the lensfun-projekt.

For a while the name of my new mft-lens did not match excatly between
lensfun-data and exif-data. Editing this files helped my using
lens-correction in darktable until the error was fixed in lensfun.


Frank





darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Leica D-Lux typ 109, lens correction

2017-07-28 Thread Remco Viƫtor
On vendredi 28 juillet 2017 13:50:36 CEST GianLuca Sarto wrote:
> Hello All,
> 
> this small camera needs a strong lens correction: while out-of-camera
> JPGs are fairly correct, the RAW files are appalling.
> 
> The Lens Correction menu says "lens not found".
> 
> Is there a way to trick DT to use Panasonic's LX100 lens correction, if
> available, since it should be in many ways a clone?

What you could try:
- copy /usr/share/lensfun/v1/compact-panasonic.xml to 
~/.local/share/lensfun/v1 (under a new name)
- edit that copy to include the proper camera and change the lens name
"DMC-LX100" to whatever your camera reports.
- save the edits, and (re)start darktable 

or see http://lensfun.sourceforge.net/calibration-tutorial/lens-calibration.html

disclaimer: the above is a summary of what has been reported in this list in 
earlier threads, I never needed to try this. That said, if things go pear-
shaped, delete the copy in ~/.local/share/lensfun/v1 and you should be back 
where you started.

An alternative would be to create your own correction profile using Hugin.
E.g. http://hugin.sourceforge.net/tutorials/calibration/en.shtml describes how 
to do this (take care when collecting the images you need!).

Remco





darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



[darktable-user] Leica D-Lux typ 109, lens correction

2017-07-28 Thread GianLuca Sarto
Hello All,

this small camera needs a strong lens correction: while out-of-camera
JPGs are fairly correct, the RAW files are appalling.

The Lens Correction menu says "lens not found".

Is there a way to trick DT to use Panasonic's LX100 lens correction, if
available, since it should be in many ways a clone?

thanks for your attention,

-Gian


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org