So I was asked by a professor to write a program that would read in two (black and white) images, and then on a pixel by pixel generate a new image representing the correlation values between the first two.
Now, just based on what the wikipedia page says about correlation, it is a single value computed between two sets, so I can't see how you could get a pixel by pixel (element by element) value. I've already discussed this with the professor, and he insists it is possible, just compute it for each element. Is wikipedia just not all-knowing? Is perhaps the professor thinking of some similar statistical measure that's not called correlation? Maybe I'm just thinking about it wrong?
Any ideas would be appreciated.
Now, just based on what the wikipedia page says about correlation, it is a single value computed between two sets, so I can't see how you could get a pixel by pixel (element by element) value. I've already discussed this with the professor, and he insists it is possible, just compute it for each element. Is wikipedia just not all-knowing? Is perhaps the professor thinking of some similar statistical measure that's not called correlation? Maybe I'm just thinking about it wrong?
Any ideas would be appreciated.