Bug 254083

Summary: Lens auto correction fails producing result using D700 and Zenitar 16/2.8
Product: [Applications] digikam Reporter: nexx888
Component: Plugin-Editor-LensCorrectionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 1.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:
Attachments: digikam failing correcting lens geometry
digiKam 1.5.0 opening your photo to fix lens distorsion

Description nexx888 2010-10-13 18:37:28 UTC
Created attachment 52490 [details]
digikam failing correcting lens geometry

Version:           1.2.0 (using KDE 4.4.2) 
OS:                Linux

I can't auto correct pictures taken with a nikon D700 and a zenitar 16mm f2.8 fisheye lens.

the metadata indicates 300 mm focal length. (sic)
Using metadata or not, no preview and no result as well. doesn't work for any nikon full-frame dslr. but work with APS-sized sensors DSLR (bypassing metadata).



Reproducible: Always

Steps to Reproduce:
try to correct a picture in the image editor > enhance> lens auto-correction
D700 ans Zenitar 16mm f2.8 or use the following image 
http://picasaweb.google.com/mallet.ludovic/20101003Zenitar#5524303568771204258

Actual Results:  
no image in the output

Expected Results:  
de-bullbed picture. 

in attachement see the digikam image editor handeling such image
an a jpeg image for testing purpose
http://picasaweb.google.com/mallet.ludovic/20101003Zenitar#5524303568771204258
Comment 1 Martin Klapetek 2010-10-13 18:40:30 UTC
Please try again with newer digiKam version, 1.5.0 is just out. Try to reproduce it there and report back. Thanks.
Comment 2 caulier.gilles 2010-10-13 21:51:30 UTC
In 1.5.0, i included current implementation of LensFun in digiKam core (to be able to compile and use it under Windows)

Please update

Gilles Caulier
Comment 3 caulier.gilles 2010-10-13 22:34:55 UTC
Screenshot of 1.5.0 of LensFun tool in editor and BQM :

http://www.flickr.com/photos/digikam/5071377416/

Gilles Caulier
Comment 4 caulier.gilles 2010-10-13 22:58:39 UTC
Created attachment 52493 [details]
digiKam 1.5.0 opening your photo to fix lens distorsion
Comment 5 nexx888 2010-10-14 10:32:30 UTC
thanks for your answers, as well as for your work. i'll check the new version ASAP.

many thanks again,

best regards.

> From: caulier.gilles@gmail.com
> To: nexx888@hotmail.com
> Subject: [Bug 254083] Lens auto correction fails producing result using D700 and Zenitar 16/2.8
> Date: Wed, 13 Oct 2010 22:58:44 +0200
> 
> https://bugs.kde.org/show_bug.cgi?id=254083
> 
> 
> 
> 
> 
> --- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2010-10-13 22:58:39 ---
> Created an attachment (id=52493)
>  --> (http://bugs.kde.org/attachment.cgi?id=52493)
> digiKam 1.5.0 opening your photo to fix lens distorsion
> 
> -- 
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
Comment 6 caulier.gilles 2010-10-14 10:38:33 UTC
Ask you can see in my screenshot, lens cannot be found because there is no lens info avaialble in your image metadata.

About focal lenght = 300 mm, it come from metadata. So, it's a problem with your camera.

Gilles Caulier
Comment 7 nexx888 2010-10-14 10:48:54 UTC
i knew about the focal i don't know how to force actual focal to be written in the metadata (i have a clue with an option in the camera, i'm on it). For the metadata i apologize, i saw that i put a reduced version online (now corrected at http://picasaweb.google.com/mallet.ludovic/20101003Zenitar#5527820487469501218 )

> From: caulier.gilles@gmail.com
> To: nexx888@hotmail.com
> Subject: [Bug 254083] Lens auto correction fails producing result using D700 and Zenitar 16/2.8
> Date: Thu, 14 Oct 2010 10:38:34 +0200
> 
> https://bugs.kde.org/show_bug.cgi?id=254083
> 
> 
> Gilles Caulier <caulier.gilles@gmail.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
> 
> 
> 
> 
> --- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2010-10-14 10:38:33 ---
> Ask you can see in my screenshot, lens cannot be found because there is no lens
> info avaialble in your image metadata.
> 
> About focal lenght = 300 mm, it come from metadata. So, it's a problem with
> your camera.
> 
> Gilles Caulier
> 
> -- 
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.