I have an EOS R8 and I’m kinda bummed out that Denoise (profiled) is missing presets for that model, especially when that module is working amazingly good for my other cameras.
What should I do to provide samples to developers?
I have an EOS R8 and I’m kinda bummed out that Denoise (profiled) is missing presets for that model, especially when that module is working amazingly good for my other cameras.
What should I do to provide samples to developers?
Sweet. My Saturday is saved!
Thanks in advance for your contribution!
P.S. Please note that you’ll likely have to replace “Canon EOS R8” by just “EOS R8” as the model string in the produced output…
I can assure anyone who reads this post that the linked article is old as…
Just getting the noise tools in place was a nice tour in cmake and make, and there are more things needed to get things compiled than in the guide.
The masking of a screen to get proper photos works but the open slit must be way larger nowadays to get the noise tools to accept the files as an input. I got it working with an open window about 10 cm (4 ") to get enough overexposed area in the images.
And prepare to take several batches of photos as the tools are kinda picky about them.
But after quite a lot if fiddeling, I can now contribute a denoise profile for R8s!
Congratulations on your results and thanks for the contribution!
Can you document the process, while you still have the details on building etc. fresh in your head?
This is the template I ended up with to get enough over exposure in the images.
This is one of the accepted images, the white area takes up quite a chunk (believe it or not, I did use a tripod! ).
All done in a completely dark room:
I set my lens to f2.8, eternity focus and ISO 100. Approx 1.5 m from the monitor (that is 0.8 Eagles for you Muricans, or 5’ )
I lowered the shutter to a value where the white was fully over exposed, which is obvious with a histogram check in the camera preview. I ended up with 1/8 for ISO 100.
I then took one image at ISO 100, raised the ISO one step and one step faster shutter. I.e next image was ISO 125 and 1/10. Just keep an eye on the preview that the over exposure is there and the histogram has a peak pushed all the way to the right. It should be fairly consistent over the ISO range.
Do this for every ISO until you get to the top value.
With Ubuntu 24.04:
sudo apt install clang clang-18 clang-tools g++-13 libstdc++-14-dev
git clone https://github.com/darktable-org/darktable
cd darktable
git submodule init
# Following command takes awful a lot of time
git submodule update
mkdir build
cd build
# If following cmake command complains about missing packages, sudo apt install them and run the cmake command again
cmake -DCMAKE_INSTALL_PREFIX=/opt/darktable -DBUILD_NOISE_TOOLS=ON ..
cd share/darktable/tools
make && sudo make install
This should hopefully give you a stack of tools in /opt/darktable/…
Now go to the folder where your noise images are and execute
/opt/darktable/libexec/darktable/tools/darktable-gen-noiseprofile -d $(pwd)
If your images are OK, this will proceed and give you all the instructions you need.
If the images are not good enough, there will be warnings and you need to re-make all or some of the images until the process is happy with the entire ISO range.
There you go, denoise profiles anno 2024 for ya.
What should I do to get the profile imported as a default in DT? I would like to have the profiles included without starting with the --noiseprofiles
parameter.
I added the JSON data from my config into /opt/darktable/share/darktable/noiseprofiles.json
file (under Canon as a new model) but it doesn’t take effect.
anyone?
You should make a PR to the project to get in included, but for the meantime, you need to make sure the metadata is matching the camera name and make as read by exiv2.
It is already in an accepted PR ready for next release, and the config do matches the camera.
The question was how to get the profiles working with my already installed DT, but without any extra command line params. Editing the default profiles config makes no difference.
Pull your PR patch and build it yourself.
I can’t tell my non tech friends to do that, just to get a config accessible.
If it doesn’t work to config your noiseprofile.json, then something is wrong. For example darktable doesn’t read that file and is using noiseprofile.json file somewhere else or that you need to change the maker/model name in the config file.
I had to change the names for my OnePlus Noise Profile OnePlus Nord 3 5G · Issue #16192 · darktable-org/darktable · GitHub
The name is fine, it is matching the camera.
But I found the problem. If you apt install DT, /opt/darktable
is not the config location. The config resides in /usr/share/darktable
.
Merging the new profile into that config made it pop up in DT. All good in da neibahood!
That’s actually the correct location for system-installed software, /opt/darktable
is for “optional” software.
The difference is that a system update can overwrite /usr/share/darktable
, but should leave /opt/darktable
alone.
That also means that adding your additions in /usr/share/darktable
may not be optimal… Ideally, darktable should also look in /usr/local/share
or somewhere under your home directory, for this kind of cases. But I have no idea if darktable actually looks in any of those places for additional noise profiles
Yeah I don’t think you’re meant to edit that file, that’s why it is where it is. Of course you can edit it, because freedom.
Hi, I’ve been trying to generate the noise profile for a Canon G1 X for weeks, but unfortunately without success (I don’t have much experience with the terminal). I kindly ask if anyone can generate it, I have already taken the images. Thank you in advance.
If you can upload the images somewhere so I can download them, I can give it a shot.
Hi,
thank you for your avaialability.
I have uploaded the images here