Project

General

Profile

Camera Support #11347

Support of Panasonic DMC-LZ100

Added by Gael Varoquaux over 3 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
12/05/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.2.0rc2

Description

Hi darktable developers,

Great software. I love it.

I just bought a Panasonic DMC-LZ100. The Raw format isn't supported. I suspect that it's not too far away as earlier models of this series are supported.

I think that the main problem is "`Panasonic DMC-TZ100' color matrix not found!".

I am a reasonably skilled geek (I am a software dev and I just built the latest RC of darktable). I terribly lack time as I am very committed to other open source projects. But I'd be happy to help supporting this camera. I read http://www.darktable.org/resources/camera-support/, but I wasn't really sure what the next step was. I'll probably need some person to dialog with me and walk me through the process.

P1000274.RW2 (22.4 MB) P1000274.RW2 Gael Varoquaux, 12/07/2016 09:36 PM

Associated revisions

Revision b77a3ef2 (diff)
Added by Stefan Schöfegger over 3 years ago

Panasonic DMC-TZ100: Add basic camera support, fixes #11347

for aliases see
https://www.adobe.com/support/downloads/detail.jsp?ftpID=6029

Revision 684e8af4
Added by Roman Lebedev over 3 years ago

Merge pull request #1375 from schenlap/panasonic_lz100

Panasonic DMC-TZ100: Add basic camera support, fixes #11347

History

#1 Updated by Stefan Schöfegger over 3 years ago

Please upload a raw file for every aspect ration setting (1:1, 4:3 3:2 and 16:9 - I don't know what your camera supports) and camera support can be added.

#2 Updated by Gael Varoquaux over 3 years ago

I have uploaded the raw files for every aspect ratio, together with the jpeg files produced by my camera at the following URL:
https://filesender.renater.fr/?s=download&token=b7a7c19f-944a-d5f1-c546-8b6ec6c92292
The download is 700Mb big, and the link will be valid for 21 days.

Thanks a lot!

#3 Updated by Stefan Schöfegger over 3 years ago

I prepared camera basic support, but I am not sure what are the differences of all the files?
All have same pixel count 5488x3664, same iso, ....

Why did you provide 26 files? Which files were done with which aspect ratio setting? (Maybe the camera always produces the same raw size regardless of setting, but I want to check)
Please upload one file here to have one sample for later use.

#4 Updated by Gael Varoquaux over 3 years ago

I did one shot for each setting in the resolution menu. In order of shot they are 4:3 L, 3:2 L, 16:9 L, 1:1 L, 4:3 M, 3:2 M, 16:9 M, 1:1 L, 4:3 S, 3:2 S, 16:9 S, 1:1 S (L, M, and S are the size). The size of the associated jpeg varies, but indeed the size of the raw doesn't seem to vary. So it does seem that the camera produces the same raw for different settings.

I just realized that I had autobracketting on, so I created three times too many files.

I am uploading here one with the default setting of 3:2 L, iso 400.

#5 Updated by Stefan Schöfegger over 3 years ago

TZ100 camera seems to have ISO dependent black points, so I also need one image per iso value. (80 / 100 / 125 / 200 ...up to highest possible setting) (only raw files)
optional: You can also provide one image per predefined white balance setting. Please name the images according to the white balance name. (only raw files)

#6 Updated by Roman Lebedev over 3 years ago

Stefan Schöfegger wrote:

TZ100 camera seems to have

ISO dependent black points

Looking at the original raw image,

$ exiftool -"*" P1000274.RW2 | grep -i black
Black Level 1                   : 1
Black Level 2                   : 3
Black Level 3                   : 12
Black Level Red                 : 126
Black Level Green               : 126
Black Level Blue                : 126

All the back level info is present in the camera raw file.
So simply making sure that rawspeed decoder reads those fields is the correct way here.

, so I also need one image per iso value. (80 / 100 / 125 / 200 ...up to highest possible setting) (only raw files)
optional: You can also provide one image per predefined white balance setting. Please name the images according to the white balance name. (only raw files)

#7 Updated by Roman Lebedev over 3 years ago

Roman Lebedev wrote:

Stefan Schöfegger wrote:

TZ100 camera seems to have

ISO dependent black points

Looking at the original raw image,
[...]

All the back level info is present in the camera raw file.
So simply making sure that rawspeed decoder reads those fields is the correct way here.

Which is the case here.
https://github.com/darktable-org/darktable/blob/8505fa6d641c35c3a6caf753d79ef41ea0f74233/src/external/rawspeed/RawSpeed/Rw2Decoder.cpp#L225-L251

So just pick the biggest black level that can be found in these samples, and just use it.
(And do check that rawprepare iop shows that different black levels are being used for different raw samples. different == potentially not the one that is specified in cameras.xml)

, so I also need one image per iso value. (80 / 100 / 125 / 200 ...up to highest possible setting) (only raw files)
optional: You can also provide one image per predefined white balance setting. Please name the images according to the white balance name. (only raw files)

#8 Updated by Stefan Schöfegger over 3 years ago

rawspeed reeds these fields correct, but than 15 is added, so i get 141. I don't know if this is correct.

#9 Updated by Roman Lebedev over 3 years ago

Stefan Schöfegger wrote:

rawspeed reeds these fields correct, but than 15 is added, so i get 141. I don't know if this is correct.

The key here is to compare the black levels in rawprepare module in darkroom for DNG and the original raw file.
I did just compare them manually for all the samples in this issue, and they match. So all good here :)
(convert to DNG, import both the originals and DNG, expand rawprepare module, and use space to switch between the images; for each pair DNG,originalraw the values MUST match)

#10 Updated by Stefan Schöfegger over 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

#11 Updated by Roman Lebedev over 3 years ago

  • Target version set to 2.2.0

#12 Updated by Gael Varoquaux over 3 years ago

Fix confirmed: I just tried the development version and it seems to import the files just fine. Thanks!

Also available in: Atom PDF

Go to top