Hi,
I’d like to know if the is any of the folowing things implemented in Siril’s Pixelmath (I’m trying several expressions and it gives me errors, I don’t know if I just don’t know the correct expressions):
conditional statements (something like IIF)
logical operators (AND, OR, XOR, NOT)
máximum & minimum (select the highest or the smallest value for the same pixel when comparing two images), move (copy some pixels from one image to another one)
creation of variables or constants from the statements box to be used later
And a doubt, I don’t know if it always rescales the results or only if it goes outside the range [0,1] either below or above.
The implementation of the PixelMath Tool is the first one. So far, it is quite basic and none of your items are implemented. Of course, PixelMath will grow up with future releases.
No, no rescale is performed. User must be aware of what he’s doing.
I don’t want to be too smart, and I’m sure there was a good reason to leave it that way (I really appreciate the work you do with Siril and I follow you). But this would be so easy as find min and max of the matrix and if any of them are out of the range [0,1] proceed to normalize output data: (VALUE - MIN) /(MAX-MIN).
The potential of Pixelmath is so much that it is a pity not being able to use it (it often gave me black or white images and this must be reason).