Project

General

Profile

Bug #11581

Huffmantable is broken.

Added by Roman Lebedev over 1 year ago. Updated 4 months ago.

Status:
New
Priority:
Medium
Assignee:
-
Category:
-
Target version:
Start date:
05/19/2018
Due date:
% Done:

0%

Affected Version:
git master branch
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

20151027-10431071-NIKON_1_J5.nef - CC0 (24.6 MB) Roman Lebedev, 10/28/2017 10:00 PM

DSC_0330_bad.NEF (26.8 MB) Mike Romanov, 10/28/2017 11:07 PM

DSC_0174_good.nef (25.2 MB) Mike Romanov, 11/11/2017 07:58 PM

DSC_0143.dng - CC BY-NC (7.9 MB) Roman Lebedev, 11/30/2017 06:02 PM

DSC_2102.NEF (32.6 MB) Christophe Latt, 01/27/2018 09:06 AM


Subtasks

Bug #12207: [1/3] Regression: huffmantable is just broken.In ProgressRoman Lebedev

Bug #12208: [2/3] Regression: huffmantable is bad for last decodeNewRoman Lebedev

Bug #12209: [3/3] Regression: nikon lossy after split raw support are completely broken.NewRoman Lebedev


Related issues

Related to darktable - Bug #11889: Skulls in Darktable 2.4 lighttable on most DNG files Duplicate 12/30/2017
Related to darktable - Bug #12186: Unable to open some DNG-Files created by Pentax-K7 New 05/06/2018

Associated revisions

Revision 359b6f29
Added by Roman Lebedev 4 months ago

RawSpeed submodule update: Panasonic DC-GH5S, DC-G9 high-res raw support

Those are using new v5 Panasonic raw compression algorithm.
Which is actually dumber than what they used before.
Now, it is basically just uncompressed packed 12/14 bits.

Also, huffman table salvaging part 1.

Fixes https://github.com/darktable-org/rawspeed/issues/126
Refs. #11886
Refs. https://github.com/darktable-org/rawspeed/issues/127
Refs. #12207
Refs. #11581
Fixes #12188

History

#1 Updated by Roman Lebedev 11 months ago

  • Duplicated by Bug #11791: Nikon D3400: failed to read camera white balance information added

#3 Updated by Roman Lebedev 11 months ago

[rawspeed] (20151027-10431071-NIKON_1_J5.nef) void rawspeed::HuffmanTable::setCodeValues(const rawspeed::Buffer &), line 176: Corrupt Huffman. Code value 57 is bigger than 16

#4 Updated by Mike Romanov 11 months ago

#6 Updated by Mike Romanov 10 months ago

Hello!

Can I help in solving the problem?
Maybe you will offer a crutch patch, and I will test it?

Please!

#7 Updated by Roman Lebedev 10 months ago

Mike Romanov wrote:

Hello!

Can I help in solving the problem?
Maybe you will offer a crutch patch, and I will test it?

Thanks, but i guess you want to stick to known-working 2.2.x until it is fixed.
Once i work on the patch, i will push it.

Please!

#8 Updated by Mike Romanov 10 months ago

Oh, i already have a lot of files processed in master branch version.
And i will wait for the result of your work.

Best regards

#9 Updated by Mike Romanov 10 months ago

This is a good file. For comparison.

#11 Updated by Roman Lebedev 9 months ago

  • Target version changed from 2.4.0 to 2.6.0

#12 Updated by Roman Lebedev 9 months ago

  • Related to Bug #11889: Skulls in Darktable 2.4 lighttable on most DNG files added

#13 Updated by Roman Lebedev 9 months ago

  • Duplicated by Bug #11899: Failed to read camera white balance information from xxx.NEF on some pics from Nikon1 J1 added

#14 Updated by Roman Lebedev 8 months ago

  • Duplicated by Bug #11923: Unable to load white balance added

#15 Updated by Roman Lebedev 8 months ago

  • Duplicated by Camera Support #11949: Nikon D5600 Raw Files >ISO 10000 not loading, white balance reading error added

#16 Updated by Christophe Latt 8 months ago

Hello, i have the same problem, at this time only on few NEF files made with a Nikon D5500 and Tokina 11-16mm F2.8 AT-X 116 PRO DX II (is not available in the lensfun database). I can work without problems on the same file with darktable 2.2.5 but since 2.4.0 i have following error:

[rawspeed] (DSC_2102.NEF) void rawspeed::HuffmanTable::setCodeValues(const rawspeed::Buffer&), line 176: Corrupt Huffman. Code value 92 is bigger than 16
[temperature] failed to read camera white balance information from `DSC_2102.NEF'!
[temperature] `NIKON CORPORATION NIKON D5500' color matrix not found for image

i see the thumbail on lighttable but get this error if i will work in the darkroom.

I have seen that several users have the same type of problem and i hope that i will be solved in the next release.

#17 Updated by Roman Lebedev 7 months ago

  • Duplicated by Bug #12047: darktake no longer reading Nikon D5500 Photos properly added

#18 Updated by Roman Lebedev 5 months ago

  • Duplicated by Bug #12152: Failed to read white balance information from NEF (D5500 RAW) added

#19 Updated by Roman Lebedev 5 months ago

  • Duplicated by Bug #12153: Yet another nikon "lossy after split" raw added

#20 Updated by Roman Lebedev 5 months ago

  • Related to Bug #12186: Unable to open some DNG-Files created by Pentax-K7 added

#21 Updated by Roman Lebedev 4 months ago

  • Duplicated by deleted (Bug #12153: Yet another nikon "lossy after split" raw )

#22 Updated by Roman Lebedev 4 months ago

  • Duplicated by deleted (Bug #11791: Nikon D3400: failed to read camera white balance information)

#23 Updated by Roman Lebedev 4 months ago

  • Duplicated by deleted (Bug #11899: Failed to read camera white balance information from xxx.NEF on some pics from Nikon1 J1)

#24 Updated by Roman Lebedev 4 months ago

  • Duplicated by deleted (Camera Support #11949: Nikon D5600 Raw Files >ISO 10000 not loading, white balance reading error)

#25 Updated by Roman Lebedev 4 months ago

  • Duplicated by deleted (Bug #12047: darktake no longer reading Nikon D5500 Photos properly)

#26 Updated by Roman Lebedev 4 months ago

  • Duplicated by deleted (Bug #12152: Failed to read white balance information from NEF (D5500 RAW))

#27 Updated by Roman Lebedev 4 months ago

  • Duplicated by deleted (Bug #11923: Unable to load white balance)

Also available in: Atom PDF