Image processing questions

Hi All:

I'll try my luck here. If anyone is good at image processing, please take a look at the following conceptual questions:

image histogram correlation:
I understand correlation of two variables, and understand what it means intuitively for cases close to -1, 0 and 1;
But I don't understand what correlation means when it comes to images' histograms.
Assume you have a function "double compareHistogram(histo1, histo2)". The function returns a number of type double, indicating the correlation of the histograms, each of which is the histogram of an RGB image.

What does it mean if the returned value is close to -1, 0 and 1?
I tried to compute the correlation of two identical images, it gives me 1. As I have understood, for images, we say they are either similar or not. 1 corresponds to the "similar" case. But what about -1 and 0?

Thanks for any inputs!
errrrr ... anyone?
Thanks!
http://en.wikipedia.org/wiki/Correlation_and_dependence
If you do a colour histogram, and the original had a lot of red and little blue, an image with some red and little blue will return 1, an image with little red and much blue will return -1 and an image with some random value of green or equal values of red and blue might return 0.
Or so it seems to me. I can't say I really know..
@hamsterman:
Thank you buddy!
I think you're right.
Topic archived. No new replies allowed.