I've noticed in my images that areas with blown out highlights after PCC have a green value that is almost half of that for red and blue, which leaves star core in linear form looking somewhat magenta. So, I was wanting to have a play with PixelMath and see if I can set a ratio for the green channel where red and blue are above a certain threshold, but I'm stumped. I've gotten as far as defining the functions for R and B as $T (admittedly that bit isn't too complex), but I have no clue as to how to refer to individual colour channels to construct my iif statement for G (IIF(myredvalue>0.85,$T/5*8,$T))?
Addendum: I suppose I could utilise a symbol definition and iterate through the individual pixels using myR = pixel($T, x, y, 0), but then we hit iteration - how does one loop through x and y from 0 to with and height respectively, or does the process just do this anyway?
I've no idea if it'll work, but no try, no know!
Cheers,
David