Re: [darktable-user] darktable-cli and auto-levels/auto-RGB-levels/auto-filmic

2020-05-13 Thread Ritchie, Andrew C

On Tue, May 12, 2020, at 14:11, jys wrote:


> Unfortunately, most of the "auto" features don't work that way;

Thanks for the quick reply! Sorry I had to manually recreate the quote I hope I 
don't scramble the email thread.

Is there a list of features that *DO* work that way? Or is there some way I can 
tell by looking in the code?

I tried the gimp method ages ago but it's just too slow. I need something that 
can do the conversion in less than ~2s/image. Ideally without building a giant 
library of thumbnails in the process. Can't figure out how to get 
ufraw/*magick/dcraw to honor the dng white balance, and the OpenCL speed of 
darktable is reay nice. With DT the main reason I'm working with DNG 
instead of ARW btw is because the manufacturer sensor crop isn't honored with 
ARW and I need the principal point (and total area) to stay constant between 
softwares for good comparison of results.




darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] darktable-cli and auto-levels/auto-RGB-levels/auto-filmic

2020-05-13 Thread jys



On Wed, May 13, 2020, at 18:13, Ritchie, Andrew C wrote:

> Is there a list of features that **DO** work that way? Or is there some 
> way I can tell by looking in the code?

Generally, any time you click a button in a module to "auto-set" some of the 
parameters, the module state is the same as if you had manually moved the 
sliders to those values, and the parameters are all that's recorded in history. 
For a module to work the way you want, it needs to have a special selectable 
"automatic" mode, which is itself a parameter changing the way the module 
works. Offhand, other than the exposure module, I can only think of the older 
"levels" (not the newer "RGB levels") module as having something like this, and 
I don't think I've ever tried to use it for anything myself. I have a vague 
impression of the auto-mode parameters being tricky to get predictable results 
from, but you could look into it. That module may not be visible by default, in 
which case you would need to enable it under "more modules". Description here:

https://darktable.gitlab.io/doc/en/tone_group.html#levels

> the main reason I’m working with DNG instead of ARW btw is because the 
> manufacturer sensor crop isn’t honored with ARW and I need the 
> principal point (and total area) to stay constant between softwares for 
> good comparison of results.

Possibly the raw cropping settings in the "raw black/white point" module could 
be useful here? By default darktable tries to include as much valid pixel area 
as possible.

-- 
jys

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] darktable-cli and auto-levels/auto-RGB-levels/auto-filmic

2020-05-12 Thread jys


On Tue, May 12, 2020, at 12:32, Ritchie, Andrew C wrote:

> Is there a “best” way to do this with darktable-cli, where I can 
> auto-applu levels, rgb-levels, or filmic and apply a per-photo “auto” 
> setting along with the particular method of preserving chromaticity etc?

Unfortunately, most of the "auto" features don't work that way; they tend to be 
user actions which result in changes to the normal parameters of the module, 
and these static parameters are what gets stored in the processing history. A 
notable exception is the "automatic" mode of the exposure module, where the 
parameters become the ones defining the auto-adjustment (useful for things like 
"deflickering" time lapse images). This is the behavior you want, but the 
exposure module may not be suitable for general automated contrast-enhancement 
purposes, particularly because the black level control isn't set by the 
auto-adjustment... but you could check it out.

Also, for whatever it's worth, there's instructions for doing something like 
what you describe with Gimp here:

 
https://photo.stackexchange.com/questions/63692/how-can-i-get-a-uniform-white-balance-on-a-batch-of-jpeg-images/63704#63704

-- 
jys

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org