Project

General

Profile

Camera Support #10502

Nikon Coolpix P340

Added by Davide Alberelli over 2 years ago. Updated over 2 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
-
Start date:
05/30/2015
Due date:
% Done:

100%

Affected Version:
1.6.6

Description

After a brief exchange of emails in the Darktable use mailing list I got suggested to post here a request of support.

The camera is a Nikon Coolpix P340: http://www.europe-nikon.com/en_GB/product/digital-cameras/coolpix/brilliant-performance/coolpix-p340

This is a link to the RAW file on File Dropper: http://www.filedropper.com/dscn0065

If you need anything else please ask and I will be happy to provide it.

History

#1 Updated by Pascal de Bruijn over 2 years ago

We would need a NEF converted to DNG with Adobe's latest DNG converter.

#2 Updated by Davide Alberelli over 2 years ago

I would be happy to provide it, as soon as I can install the program :)
All the downloads that I find through Google are for Windows or Mac, do you know if there is a Linux version somewhere?

I'll try to run it with wine now, but it might take a while...

#3 Updated by Davide Alberelli over 2 years ago

That was actually easier that I expected (thanks to POL) :)

It gives me an error when trying to upload it here, so I put it again on filedropper: http://www.filedropper.com/dscn0065_1

#4 Updated by Pascal de Bruijn over 2 years ago

  • Target version set to Candidate for next patch release

I just added very basic experimental P340 support:

https://github.com/darktable-org/darktable/commit/eb3fafaaf72a68b1c20f804ca2a413321382025d
https://github.com/darktable-org/darktable/commit/f1016e679f53922aaf803b1afa92ff3ab1350dae

There are two things left:

A NRW converted to DNG, for each ISO level the camera has, preferably including half/third-stop ISOs. I don't need the files themselves, but I need some properties from EXIF (from all per ISO DNGs):

$ exiv2 -pt DSCN0065.dng | grep ISO
Exif.Photo.ISOSpeedRatings Short 1 80
$ exiv2 -pt DSCN0065.dng | grep WhiteLevel
Exif.SubImage1.WhiteLevel Short 1 3800
$ exiv2 -pt DSCN0065.dng | grep BlackLevel
Exif.SubImage1.BlackLevel Rational 1 51200/256

A NRW shot for each white balance presets (image content doesn't matter much). I don't need the files here either, you could run the following script on these files, and post back the output: http://ufraw.cvs.sourceforge.net/viewvc/ufraw/ufraw/wb_extract.pl

If you're quick we might be able to enable P340 support for 1.6.7.

#5 Updated by Davide Alberelli over 2 years ago

Hi, I can do it straight forward, but I do not know what a "half/third-stop ISO" is.

I have 80, 100, 200, 400, 800, 1600, 3200, 6400 ISOs and Hi 1.

#6 Updated by Pascal de Bruijn over 2 years ago

third stops are ISO 125/160/250/320/etc.
half stops are ISO 150/300/etc.

Not all cameras support either them, and most cameras have them turned off by default. You'd have to check your camera manual on the particulars of your camera.

If your camera doesn't support these, then what you have is fine.

#7 Updated by Davide Alberelli over 2 years ago

exiv2 version:

$ exiv2 -V
exiv2 0.24 001800 (64 bit build)
Copyright (C) 2004-2013 Andreas Huggel.

Outputs for the ISOs variations is here http://paste.ubuntu.com/11528965/

It gives me this error when running it:
Error: Directory Nikon1 with 25665 entries considered invalid; not read.

Now I'll do the thing with the white balance presets.

#8 Updated by Davide Alberelli over 2 years ago

And these are the perl script wb_extract.pl http://paste.ubuntu.com/11529224/

These are the presets, but there are two options that I haven't used.

One is the premeasured white (which you will not need) and the other option let me choose exactly the colour temperature.

The possible values are 2500K, 2560K, 2630K, ecc up to 10000K.

Do you also need these?

#9 Updated by Pascal de Bruijn over 2 years ago

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

Great. Thanks.

I just pushed the white balance presets:
https://github.com/darktable-org/darktable/commit/a3a10fbb0e876bbf3127d6f13ff5eaf6d202d88c

While we could add some of the Kelvin values, they typically aren't used as much, so I don't particularly care about those too much.

So I think we have all the basics now. We should have basic P340 support in our upcoming point release. So I'll be closing this issue.

There are some advanced topics, which are less trivial, and aren't a requirement for basic operation. Feel free to open a new ticket if you manage to generate proper noise curves in the future:

http://www.darktable.org/2012/12/profiling-sensor-and-photon-noise/

And optionally:

http://www.darktable.org/2015/02/on-lens-detection-and-correction/ (you need to subject these to the lensfun project not us)

#10 Updated by Davide Alberelli over 2 years ago

Many thanks to you for your great work :)

I will have a look, especially at the lens correction, asap.

So, will it land in 1.6.7?
Do you have any idea about when is it supposed to be?

Also available in: Atom PDF