Recomputing optimization for image compare
Moderator: jsachs
-
- Posts: 480
- Joined: January 29th, 2019, 11:47 pm
- What is the make/model of your primary camera?: Nikon Z8
Recomputing optimization for image compare
When adding or moving an image compare transformation, for which the output image is set to the input image, downstream branch recomputations should not be triggered.
Re: Recomputing optimization for image compare
Not all of the compare options pass the input image through unchanged, even if you are comparing it to itself.
Jonathan Sachs
Digital Light & Color
Digital Light & Color
-
- Posts: 480
- Joined: January 29th, 2019, 11:47 pm
- What is the make/model of your primary camera?: Nikon Z8
Re: Recomputing optimization for image compare
You are right, what I wrote is not what I meant.
I should have written:
I should have written:
When adding or moving an image compare transformation, whenever the output image is set to the input image, the downstream branch should not be recomputed.
Re: Recomputing optimization for image compare
This is an example of a much larger set of optimizations that could theoretically be performed by checking if the output image is always identical to the input image. For example, a brightness curve that does not change the input image. While I do in most cases detect these cases and simply copy the input to the output, I have so far chosen not to implement these optimizations as the code that handles propagation of changes is already quite complicated and every time I make changes to it the program becomes unstable for a few weeks or months as special cases emerge that I did not test for.
Jonathan Sachs
Digital Light & Color
Digital Light & Color