Project

General

Profile

Bug #11553

Impossible to use tools/noise/gen-profile script with already-created images? (trying to make a noise profile for Nexus 5X from existing raw shots)

Added by Sarge Borsch over 2 years ago. Updated 14 days ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
General
Target version:
Start date:
03/25/2017
Due date:
% Done:

100%

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

Description

The only information I found on this script is the blog post — https://www.darktable.org/2012/12/profiling-sensor-and-photon-noise/
It mentions the script and that it can take photos itself.
I don't want to use tethering because it's too hard and I won't ever need to use it for anything else and I already took the correct photos as described in the blog post.

I tried guessing the correct usage from built-in help, got that I must use `-d` option to point it at the folder, installed dependencies (except gphoto2 and pdftk, because I don't need tethering and I don't need PDF). All I get is a bunch of error messages and an empty (I mean, no actual content) presets.json file.

Tried with both the original files (.DNG, because it's Nexus 5X and OpenCamera outputs raw shots in DNG), and correctly converted files in PFM format.

Log:
$ …/darktable/tools/noise/gen-profile -d …
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
===> Check for required tools
--> Check for images handling tools availability
--> Check for images export tools availability
--> Check for profiling tools availability
--> Check for internal tools availability
--> Build profiling tools
make: getcwd: No such file or directory
make: Nothing to be done for `all'.
--> Check for tethering tools availability
ERROR: gphoto2 not found

gphoto2 is needed if you want this script to automatically take the
required pictures.

NOTE: Tethering tools are missing; you'll need to provide input images
yourself.
--> Check for pdf tools availability
ERROR: pdftk not found

pdftk is needed if you want one single result pdf.

NOTE: Pdf tools are missing; Will not generate one single result pdf.

===> Check profiling directory

===> List profiling input RAW images

===> Checking profiling RAW images correctness + Jpeg export

===> Prepare profiling job
--> Remove previous presets
--> Ready to profile images

NOTE: This process takes some time and a lot of memory and disc space
(up-to several gigabytes, depending on the number of ISO settings and
the size of the RAW files.
cut: …/presets.txt: No such file or directory
cut: …/presets.txt: No such file or directory

===> Prepare final tarball
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
cat: output-files-list.txt: No such file or directory
tar: : Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.

(end of log)

Is there a comprehensible manual on how to use this script with existing images?

If this is not possible to do on macOS, I can send the full pack of images to somebody who is willing to help create noise profile for Nexus 5X, there are 1 shot for each of the ISO values (60,100,200,400,800,1600,3200,6400), and total size in 7z archive is 56.3MB. (a little more than this bugtracker accepts)

Associated revisions

Revision 6a2b1be6
Added by Stefan Schöfegger over 2 years ago

noise profile: Add Lge Nexus 5X, fixes #11553

Revision 63067190
Added by Roman Lebedev over 2 years ago

Merge pull request #1466 from schenlap/noise_profile_nexus_5x

noise profile: Add Lge Nexus 5X, fixes #11553

Revision 4947b4db
Added by Stefan Schöfegger about 2 years ago

noise profile: Add Lge Nexus 5X, fixes #11553

(cherry picked from commit 6a2b1be6f24f07306b59c2077d3047c255c48a97)

History

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

You can upload the pics somewhere and post a link here. I can create the profile and add an pull request with your data.
You could test

cd <image path>
<path to script>/gen-profile -d ./

#2 Updated by Sarge Borsch over 2 years ago

Yeah I tried to run the command like this, just without the trailing division sign.

Uploaded the images, here they are: https://my.mixtape.moe/cnukis.7z

#3 Updated by Sarge Borsch over 2 years ago

Alternative file if someone doesn't have 7z-capable tools — pressed to tar.bz2: https://my.mixtape.moe/fwfiru.tbz2
(Surprisingly it's also pressed a bit better than 7z)

#4 Updated by Stefan Schöfegger over 2 years ago

Iso value could not be read from your images, so they got ignored.
I created a pull request to read correct iso rating. It is merged, see http://github.com/darktable-org/darktable/commit/00228d112cda35c811719b33def1077a219f8235

I also opened a pull request with the profile of your data. https://github.com/darktable-org/darktable/pull/1466

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

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

#6 Updated by Roman Lebedev about 2 years ago

  • Target version set to 2.4.0

#7 Updated by martin garix 14 days ago

How to see remembered passwords in Microsoft edge (https://rememberpasswordsinmicrosoftedge.net) microsoft corporation has developed this web browser,so if you want to install this app.

Also available in: Atom PDF