Looking for some pixel math help. Mostly to just understand what I’m doing. I see what it does, and I understand the process as a whole, but just don’t know what each expression is doing. For reference I’m getting these from this website: https://www.nightphotons.com/guides/advanced-narrowband-combination/ specifically the method 1. I’ve had success doing this, but I would really like to understand more about what the pixelmath is doing because I’m pretty sure it’s not just magic.
The first expression: $T[0] - ($T[1] - med( $T[1]))
This is their last step in continuum subtraction. $T is target image I think? other than that I’m not sure.
Second is when adding the data, the expression is: $T * ~x + x * mtf(~m, (mtf(m, $T) + mtf(m, NB)))
In the above, x is the color channel, so R, G, or B. and then in the symbols part of Pixelmath it has: R = 1.0, G = 0.0, B = 0.05, m = 0.999,
What I gather from that is the number value after the R, G, or B is a percentage (I think), but what does the m value do?