Open Beep6581 opened 9 years ago
>You cannot TREAT different tonal ranges equally and expect equal look.
>I think that "logarithmic" should be a checkbox so it is possible to combine it with
"weighted" and "satval blending".
Reported by pinhuer
on 2015-02-09 15:31:55
For accurate highlights adjustments write "1 0 1 14" to tcSettings file and use Tone
Cruve 2.
Also: if you change the number of stops from 14 to another you will get different output
with same PP3.
Reported by pinhuer
on 2015-02-09 15:39:03
I am mixing the use of "scale" and "mode" but I should always use "scale" in discussing
of all related issues. Modes are "blending", "weighted" and "standard", scales are
"gamma-corrected", "linear", "logarithmic".
Issue should be called "Curve scale which is ...".
Reported by pinhuer
on 2015-02-09 15:41:17
Quick paste from IRC of a test of patch 1:
neutral http://i.imgur.com/wz8oe1Y.jpg
-2EV EC http://i.imgur.com/jTZxCko.jpg
-2EV TC http://i.imgur.com/dGqpiv1.jpg
+2EV EC http://i.imgur.com/astZ5U6.jpg
+2EV TC http://i.imgur.com/Kwj3BvR.jpg
current RT curve: http://i.imgur.com/rlKIFB3.jpg
log curve http://i.imgur.com/ZYNN7BZ.jpg
current http://i.imgur.com/xwQuzbA.jpg
log curve http://i.imgur.com/WxeaPig.jpg
current RT curve http://i.imgur.com/QCJFkPx.jpg
log curve http://i.imgur.com/IdxqGey.jpg
It would be interesting to mix the log curve for shadow control with a normal curve
for highlight control.
Issues to be addressed for such a patch to be committed:
1- The feature should not use these tcSettings files. Each curve would need to get
a combobox for the scale (assuming current curves are gamma-corrected): gamma, log,
linear, etc.
2- Optionally, if useful, a combobox or inputbox should be implemented for the grid.
3- All these settings would need to be read/written to the PP3.
4- The internal PP3 version should be bumped. If no curve mode is present in the PP3
(old PP3s), RT should assume the curve uses the currently implemented scale (gamma?).
5- The curve histogram should reflect the data flowing into the curve if it is changed
by the patch.
6- The gradients of the X and Y bars may need to be updated too.
Issues with patch 1:
- Plenty of these in the console: OVERFLOW: hash #65529 is used while seeking for value
-0.07142700
- RT segfaults during startup if the tcSettings file is not present
- RT must be run from within its folder. e.g. if I have RT in /home/entertheyoni/rt_default_release_2661log1
and I am in /home/entertheyoni/ and I try to run ~/rt_default_release_2661log1/rawtherapee
it will fail, I must first cd to ~/rt_default_release_2661log1/ and then run ./rawtherapee
Of course this will be obsolete once the curve scale is read to/from PP3.
Pinhuer you can find these test images in http://rawtherapee.com/shared/test_images
Reported by entertheyoni
on 2015-02-09 15:48:01
Let me clarify some things in my mind.
The current curves are log2.2, the new log curve is log2.0 (fully compatible with photographic
stops), the linear in log1.0 correct ?.
Reported by iliasgiarimis
on 2015-02-09 16:29:58
>The current curves are log2.2, the new log curve is log2.0 (fully compatible with photographic
stops), the linear in log1.0 correct ?.
No.
Power function is a power function. In terms of functions of smaller order they are
"root2.2(X)" (but I have not verified it, need to dig into rawimagesource.cc, it may
be different from 2.2). I am also suspecting that they should be called "power" so
I call them gamma-corrected instead. It is also worth to note that you cannot easily
make inverse tone curve for a given gamma-corrected curve.
Linear is not log1 because log1(X) is not defined for any X!=1. Linear is just X.
The new curve is log2(X), but you can call it just log(x) because logY(X)/logZ(X)=const
so the base does not matter, it only matters for drawing the grid behind the curves.
I am sorry for using too much terms but I do not want to sacrifice the accuracy of
my statements.
Reported by pinhuer
on 2015-02-09 16:51:07
Ahh .. yes .. I mixed log with gamma 2.2 .. 2.0 .. 1.0 :(
Reported by iliasgiarimis
on 2015-02-09 17:47:56
There is also a different approach: X-axis can be logarithmic and Y axis can be linear.
Reported by pinhuer
on 2015-02-09 18:47:15
BTW: it becomes much easier to use the color propagation in highlights with logarithmic
curves - you switch on propagation, do -1EV correction and then use the same curve
which you use without propagation just with 1 EV shoulder.
Reported by pinhuer
on 2015-02-21 20:49:21
A question: how do I access linear image data after iGamma in improcfun?
Reported by pinhuer
on 2015-03-29 20:28:59
pinhuer, I have a patch in issue 2593 that update the files of the Curve Editor. If
it collide your patch, let me know on how to proceed.
Reported by natureh.510
on 2015-04-03 21:00:49
Started by Pinhuer.
Reported by entertheyoni
on 2015-04-04 18:37:02
Started
Usage of gamma in curves.cc:complexCurve? What for?
I am now digging into the tone curves mechanism and, for convinience, I want to separate
the calculation of LUT from the curves scaling.
There is usage of Gamma in said function and it is clearly interesting for me to know
what is it really for. As I said in https://code.google.com/p/rawtherapee/issues/detail?id=2730#c7,
there is gamma in improcfun exclusively for providing the common behavior of curves,
and I struggle to understand why gamma is used in curves.cc .
Reported by pinhuer
on 2015-04-05 14:25:55
Gamma in complexCurve is probably related to highlights.
I really need some advisory on this.
Please Cc natureh and heckflosse, they seem to have edited lines dealing with gamma
and may provide some support.
Reported by pinhuer
on 2015-04-05 14:33:13
I'm already surveying.this issue, but I don't know why and when the gamma is used, that's
not my part of.the code, sorry. Almost all legacy dev have left, so I don't know who
can help you, maybe Jacques (jdesmis) or Ingo (heckflosse).
Reported by natureh.510
on 2015-04-05 18:28:23
There is no version information included in RTC files. Is there an aspect of it which
is important?
I am tending towards including gamma-corrections and scaling inside of curves.cc exclusively
and passing scaling parameters in arguments.
Reported by pinhuer
on 2015-04-09 16:47:46
Just a note for me: curve point interpolation does not seem to be symmetric. You won't
get the same interpolant if you invert all point horizontally.
Reported by pinhuer
on 2015-05-11 11:17:51
Originally reported on Google Code with ID 2661
Reported by
pinhuer
on 2015-02-09 15:21:58