Pretty simple:
I need a script that reads the element ij of TWO images (same size). These two elements will be the input of a function that I have (actually a fuzzy logic system). I want the output of this function to form a new image, this one is made with the output of my function for every ij element of the TWO images opened before.
Thanks very much!
Rodrigo
The naive approach:
If your function is properly vectorized, you can just do: