Thanks a lot, Sphinxmorpher. I have looked at your filter, and looked again, and again but I don't get it. Sorry.
My guess is that the part that I need starts with the Minimum just after the'Assemble RGB'. Instead of the Result of 'Assemble RGB', I put my image or Noise that has values >1 and/or <0 into the Minimum component. The part I don't get, is the 'Extract R' and 'Extract G inverse'. Are these the highest and lowest values in the image?
I see where the culprit is why it's not working for HDR : the Maximum and Minimum components are not made for HDR.
Quote |
---|
For now just divide/multiply the input by a reasonable range (e.g. Input / 1000 -> Auto Levels -> Output * 1000) |
I would like to work more precise, so really getting the highest and lowest value from the HDR image to do exact scaling. The LookUp component would do, if only it would know at which coordinate to sample. Dividing by 1000 (even by 10) makes things less precise. With an addition of two NOT HDR images, I can never get bigger than 2. With other operations I might. So I'd really like a image dependent scaling divisor.
The problem is even a bit more complicated for values <0. There I need to add the biggest negative value, so I get to a minimum of 0. Then get the highest value and do the division.
I was surprised that the Maximum- and Minimum Level components are only working on the input image, and we are not able to plug it in somewhere down the line. That would solve the thing and be very handy in a lot of cases.
Sphinxmorpher, thanks for your time and effort,
Beat
The Stone Age did not end because they ran out of stones. Niels Bohr