[digikam] [Bug 356975] New: Nikon 5300 12bit RAW/NEF: wrong white/black level

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 356975] New: Nikon 5300 12bit RAW/NEF: wrong white/black level

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=356975

            Bug ID: 356975
           Summary: Nikon 5300 12bit RAW/NEF: wrong white/black level
           Product: digikam
           Version: 4.12.0
          Platform: Ubuntu Packages
               URL: http://jonas.freesources.org/digikam/DSC_0542.jpg
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Raw-Workflow
          Assignee: [hidden email]
          Reporter: [hidden email]

Hi,

apparently, digikam sets wrong white/black levels for 12bit RAW/NEF images from
Nikon D5300. Colors are not the same as in the jpg preview at all. Instead, a
dark, green version of the picture is shown. After some research, I found out
that rawtherapee has the same problem. See the following bugreports and forum
posts for more details:

https://code.google.com/p/rawtherapee/issues/detail?id=2569#c1
http://rawtherapee.com/forum/viewtopic.php?f=3&t=5406

The linked comment of issue #2569 provides a workaround for rawtherapee: Set
the RAW black points for all three color channels to '-450' and white-point
correction for RAW white points to '4.00'. Indeed, this works as expected in
rawtherapee.

Unfortunately I don't find corresponding settings in the digikam editor. If
they do exist, can you point me to them?


Reproducible: Always

Steps to Reproduce:
1. Make a 12bit RAW/NEF picture with Nikon D5300 or fetch the example picture
from http://jonas.freesources.org/digikam/DSC_0542.NEF
2. Import this picture into digikam. The preview looks correct as the jpg
preview is used.
3. Open the picture in the editor. For me, it looks like the following:
http://jonas.freesources.org/digikam/DSC_0542.jpg

Actual Results:  
The picture is displayed with wrong colors (wrong black points/white points
settings).

Expected Results:  
Correct black points/white points should be set for Nikon D5300 12bit RAW/NEF
pictures.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 356975] Nikon 5300 12bit RAW/NEF: wrong white/black level

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=356975

Philip Johnsson <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Philip Johnsson <[hidden email]> ---
I would try to update Libraw to version 0.17 that have bug fixes that might
help with your problem. I'm thinking of this in the changelog:

"Many improvements in data decoding/processing:
    *Correct decoding of black level values from metadata for many formats,
LibRaw do not rely on hardcoded black levels. "

libkdcraw needs to be rebuilt against it for Digikam to use the updated libraw.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 356975] Nikon 5300 12bit RAW/NEF: wrong white/black level

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=356975

Jonas Meurer <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Jonas Meurer <[hidden email]> ---
Thanks Philip, thanks for the hint. Indeed, using libraw15 fixed the issue for
me. On Ubuntu Wily it was as easy as installing the libraw15[1], libkdcraw23[2]
and libkdcraw-data[3] packages from Ubuntu Xenial. Fortunately, none of these
library packages indroduced further dependencies on Xenial packages yet.

Closing the bugreport as resolved/invalid as it is not a bug in digikam.

Philip, maybe you can upload libraw15 and rebuilt libkdcraw23 packages to
ppa:philip5/extra[4]?

[1] http://packages.ubuntu.com/xenial/libraw15
[2] http://packages.ubuntu.com/xenial/libkdcraw23
[3] http://packages.ubuntu.com/xenial/libkdcraw-data
[4] https://launchpad.net/~philip5/+archive/ubuntu/extra

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 356975] Nikon 5300 12bit RAW/NEF: wrong white/black level

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=356975

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED
                 CC|                            |[hidden email]
   Version Fixed In|                            |5.0.0

--- Comment #3 from [hidden email] ---
Jonas,

I tested with 5.0.0 and all work fine as Libraw 0.17.1 is included in core (i
will update to 0.18.0 in January 2016)

https://www.flickr.com/photos/digikam/23805594731/in/dateposted-public/

I close the file as resolved with fixed in 5.0.0, as this version do not use
libkdcraw anymore.

Gilles Caulier

PS : where are you taken this picture. It look like south of France...

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 356975] Nikon 5300 12bit RAW/NEF: wrong white/black level

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=356975

--- Comment #4 from Jonas Meurer <[hidden email]> ---
Hi Gilles,

thanks for pointing out that the bug is actually resolved *within* digikam
5.0.0. Looking forward to use it once released. For now, an updated libkdcraw
that is built against libraw 0.17.1 works for me.

PS: the picture is taken in South Africa.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 356975] Nikon 5300 12bit RAW/NEF: wrong white/black level

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=356975

--- Comment #5 from Philip Johnsson <[hidden email]> ---
Jonas,

Yes I can look into updating libraw in my PPA but it have to be after the
christmas holidays when I have more time.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 356975] Nikon 5300 12bit RAW/NEF: wrong white/black level

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=356975

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Workflow                    |FilesIO-RAW

--
You are receiving this mail because:
You are the assignee for the bug.