Project

General

Profile

Camera Support #10204

Panasonic DMC-GH4 not supported

Added by martin schitter over 3 years ago. Updated over 2 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
-
Start date:
11/25/2014
Due date:
% Done:

100%

Affected Version:
1.6.0

Description

there is no support for the panasonic GH4 in your actual release canidate.

you can find my rawspeed camera.xml definitions for this camera here:

http://bugzilla.rawstudio.org/show_bug.cgi?id=632

i can send you additional basecurve, color correction and noise profile data in the next couple of days.

it's a very popular camera in the field of video production these days.
it would be nice if darktable could support it as soon as possible.

camera_jpg gh4_profile panasonic_profile.jpg (413 KB) martin schitter, 11/26/2014 09:59 PM

dt-curve-tool-output (5.71 KB) martin schitter, 12/05/2014 02:38 AM

base-compare.png - comparison of basecurves with different nr. of nodes (75.6 KB) martin schitter, 12/21/2014 11:19 PM

output-7 - basecurve with 7 nodes (5.45 KB) martin schitter, 12/21/2014 11:20 PM

Associated revisions

Revision def962dd
Added by Roman Lebedev about 1 year ago

RawSpeed submodule update: update XSD, fix crop for 2 cameras.

Thanks to @schenlap for noticing that for the G9 X II

Refs. #11668
Refs. #11669
Refs. #10204

History

#1 Updated by Pascal de Bruijn over 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Thanks! I just added your suggested changes for RawSpeed (just in time for 1.5.2=1.6.0rc2):

https://github.com/darktable-org/darktable/commit/a69a8ec1ac52c420483247183e751ed3671a251d

That said, could you make a converted DNG available to us? So I can verify a few things?

I also noticed we don't have wb_presets yet for this model, could you shoot a single RW2 per in camera white balance preset and run this script on those RW2s, and post back the output:

http://ufraw.cvs.sourceforge.net/viewvc/ufraw/ufraw/wb_extract.pl

Also, not directly related to darktable, please consider uploading a sample to rawsamples.ch

#2 Updated by martin schitter over 3 years ago

Pascal de Bruijn wrote:

That said, could you make a converted DNG available to us? So I can verify a few things?

yes -- here is a sample GH4 raw file and its corresponding JPG:

http://users.mur.at/ms/projects/darktable_gh4/color_chart/P1150338.RW2
http://users.mur.at/ms/projects/darktable_gh4/color_chart/P1150338.JPG

it's a picture of an ITU8.7 color chart... ;)

I also noticed we don't have wb_presets yet for this model, could you shoot a single RW2 per in camera white balance preset and run this script on those RW2s, and post back the output:

here is the output (http://users.mur.at/ms/projects/darktable_gh4/wb_extract_results/output):

  { "DMC-GH4", "", "Auto", 0,                   { 1.996094, 1, 2.457031, 0 } },
  { "DMC-GH4", "", "Daylight", 0,               { 2.390625, 1, 1.855469, 0 } },
  { "DMC-GH4", "", "Cloudy", 0,                 { 2.53125, 1, 1.71875, 0 } },
  { "DMC-GH4", "", "Shade", 0,                  { 2.691406, 1, 1.597656, 0 } },
  { "DMC-GH4", "", "Incandescent", 0,           { 1.734375, 1, 2.78125, 0 } },
  { "DMC-GH4", "", "Flash", 0,                  { 2.445313, 1, 1.773438, 0 } },
  { "DMC-GH4", "", "Kelvin", 0,                 { 2.40625, 1, 1.835938, 0 } },
  { "DMC-GH4", "", "Manual", 0,                 { 2.390625, 1, 1.855469, 0 } },

('Auto','Kelvin','Manual' are variable settings, 'Daylight','Cloudy','Shade','Incandescent','Flash' are the constant presets.)

Also, not directly related to darktable, please consider uploading a sample to rawsamples.ch

done!

i also finished the basecurve and noise profile calibrations:

the output from dt-curve-tool is here:

http://users.mur.at/ms/projects/darktable_gh4/basecurve_results/dt-curve-tool-output
http://users.mur.at/ms/projects/darktable_gh4/basecurve_results/

i used a legacy mechanical nikon lens for the shots to avoid the pixel shift/crop/electronic distortion correction of electronic coupled native micro four thirds objectives

the noise profiling results are here:

http://users.mur.at/ms/projects/darktable_gh4/noise_profile_results/dt-noiseprofile-20141126.tar.gz

good luck! :)

#3 Updated by Pascal de Bruijn over 3 years ago

I managed to get a DNG for the GH4 elsewhere, so that's been sorted.

wb_presets have been added:

https://github.com/darktable-org/darktable/commit/06c08078cdc5e5a425df1b4bd13fa85f5c46e7b8

was I correct that you still have firmware 1.1?

With regard to the colorchart, is there any chance you could supply us with a sample following very specific exposure instructions:

https://encrypted.pcode.nl/blog/2010/06/28/darktable-camera-color-profiling/

#4 Updated by martin schitter over 3 years ago

I managed to get a DNG for the GH4 elsewhere, so that's been sorted.

there is a adobe dng converted file of my test sample also available:

http://users.mur.at/ms/projects/darktable_gh4/color_chart/P1150338.dng

if you are looking for additional whitepoint information, be aware that this fields will change from shot to shot by panasonic cameras independent from ISO settings!

was I correct that you still have firmware 1.1?

no -- i'm using 2.0 on the body...

only the given sample color chart is older (can not renew it quickly without sunshine) but all basecurve and noise profile calculations are based on more actual shots.

(btw. since 2.0 this camera supports remote control by USB. so we could look for gphoto-support to enable tethered shooting)

With regard to the colorchart, is there any chance you could supply us with a sample following very specific exposure instructions:

https://encrypted.pcode.nl/blog/2010/06/28/darktable-camera-color-profiling/

the given sample should fulfill this requirements.
did you see any problems?

how do you think about the basecurve and noise profile from my posting?

martin

#5 Updated by Pascal de Bruijn over 3 years ago

@wb_presets: I corrected the firmware version reference to 2.0

And indeed the color chart was compliant (sorry about that), the result has been added:

https://github.com/darktable-org/darktable/commit/a44d638c17de2fe512b0a35c7e34648d5211381d

@tethering, we currently have nobody who can actively work on tethering support. So if it works that's great, but if it doesn't it's unlikely that we'll be able to remediate that shortly.

@basecurve, did you test that yourself? was there a significant difference? generally speaking I prefer to only have camera specific basecurves when there's a significant difference to compensate for as opposed to the standard brand basecurve.

@noiseprofile, I can't judge those results atm, so I'll have to defer to another team member for that.

#6 Updated by martin schitter over 3 years ago

Pascal de Bruijn wrote:

@basecurve, did you test that yourself? was there a significant difference? generally speaking I prefer to only have camera specific basecurves when there's a significant difference to compensate for as opposed to the standard brand basecurve.

yes -- there is a visible difference.

have a look on the attached montage of: camera jpg :: GH4 basecurve :: panasonic basecurve

i'm not very satisfied with the dt-curve-tool generated profile and its colors, but it looks noticeable better than the generic panasonic one.

@noiseprofile, I can't judge those results atm, so I'll have to defer to another team member for that.

no problem -- i'm also feel quite uncertain about this noise related results.

#7 Updated by martin schitter over 3 years ago

thanks for adding all the patches!

i did a test with rc3/git and it looks very pleasant.

only the basecurve does not fit out of the box. all pictures look like 2/3 or 1 EV underexposed. the panasonic generic profile works very well for my old G3, but for the GH4 the images get much to dark. :(

a camera specific basecurve would make it a lot easier for end users to get similar outputs from darktable and their camera.

attached is a recalculated simple basecurve with only 10 nodes that seems to work fine:

# {"DMC-GH4", "Panasonic", "DMC-GH4", 0, 51200, {{{{0.000000, 0.000000}, {0.000702, 0.000000}, {0.023049, 0.021185}, {0.033566, 0.044439}, {0.057437, 0.110406}, {0.136094, 0.322959}, {0.236028, 0.517174}, {0.533781, 0.795733}, {0.804987, 0.930016}, {1.000000, 1.000000}}}, {10}, {m}}, 0, 1},

you can find additional data an plots here:

http://users.mur.at/ms/projects/darktable_gh4/basecurve_results/

#8 Updated by Pascal de Bruijn over 3 years ago

  • Affected Version changed from 1.5.1 to 1.6.0
  • Target version changed from Candidate for next major release to Candidate for next minor release

Hey, so I didn't commit the curve before release because I wasn't sure about that yet.

Could you try to reduce the node count even further? Most curves I've manually done, seemed to fit in 5 nodes or so.

#9 Updated by martin schitter over 3 years ago

Pascal de Bruijn wrote:

Hey, so I didn't commit the curve before release because I wasn't sure about that yet.
Could you try to reduce the node count even further? Most curves I've manually done, seemed to fit in 5 nodes or so.

sorry for the delay! i perfectly understand your doubts concerning the basecurve.
i'll send you a more optimized version in the upcoming days.

#10 Updated by martin schitter over 3 years ago

attached is screenshot with basecurves for 4,5,6,7,20 nodes
and the output of dt-curve-tool for 7 nodes.
if you would prefer an even more reduced node count, just tell me which one.

#11 Updated by Sean Chadwell about 3 years ago

Hey, guys,

Any progress on this? I'd love to see the GH4 fully supported soon.

#12 Updated by Pascal de Bruijn about 3 years ago

How do you figure it's not "fully supported yet"?

Custom curves are non-critical, and often merely minor finetuning, and sometimes even just redundant. No need to get your nickers in a twist.

Currently we have nobody who is both willing and capable to really deal with curve submissions in a structured manner.

#13 Updated by Sean Chadwell about 3 years ago

Hi, Pascal,

My nickers aren't at all twisted, I swear!

I'm (relatively) new to darktable, and, noticing that I wasn't unable to select the GH-4 from among the supported profiles (I get a camera/lens unsupported message; not at all a big deal), I checked here. I misunderstood, when I posted, that everything was already there but the custom curves (I agree, certainly not critical).

I'm terribly sorry to have come across as impatient (and ignorant), but thanks anyway for the reply.

All the best.

#14 Updated by Pascal de Bruijn about 3 years ago

While a bit offtopic, the situation with lenses is documented here:
http://www.darktable.org/2015/02/on-lens-detection-and-correction/

#15 Updated by Pedro Côrte-Real almost 3 years ago

This camera now ticks all the boxes, including having a rawsamples.ch file, as can be seen here:

http://www.darktable.org/resources/camera-support/

Thanks for your help.

#16 Updated by Pedro Côrte-Real over 2 years ago

  • % Done changed from 50 to 100
  • Status changed from In Progress to Fixed

Also available in: Atom PDF