dlemstra wrote:
Well, i guess i have to stick to the pixel-by-pixel iteration.
Thanks!
You cannot have out of range values. Have you tried using Fx? You can find some information about that here: http://www.imagemagick.org/script/fx.phpyes i did, but with the same results: negative values are truncated to 0. I used the following fx: (u.b-u.r)/(u.b+u.r). But the fx way is extremely slow and resource consuming, even compared with the pixel-by-pixel analysis.
Well, i guess i have to stick to the pixel-by-pixel iteration.
Thanks!