title: compare histograms of grayscale images in opencv
body: <p>hi can anyone provide me with a simple open cv program to load two RGB images, convert it to Gray scale, calculate histogram and then compare their histograms. I saw a similar program done in the open cv site but they used HSV instead of Gray scale and it was a c++ program. I can look up the flow and everything...I don't know which functions to use and what their arguments will mean....
  Regards,
  Kiran</p>