Is there any built-in function to find Joint Probability and Conditional Probability of images in OpenCV! What does the function "CalcProbDensity" does? OpenCV documentation explanation says divide one histogram by other histogram. Can someone give a bit more elaborate explanation?