Hi, I was using OpenCV 2.2 previously, and now I am using OpenCv 2.4.5. The cvCvtColor function gives difference in output when converting from RGB to HSV, and the difference is in H(Hue). The input of RGB is 211,216 and 255 respectively and the output in case of OpenCV 2.2 is 116,44 and 255 and that in case of 2.4.5 is 117,44 and 255. The output difference is found in the Hue Array(116/117). When I calculated it manually using the formula mentioned in the documentation, the output is 116.590909. So the assumption here is OpenCV 2.4.5 rounds off the value and OpenCV 2.2 discards the values after decimal point.
Can anyone please let me know why is there a difference in output of OpenCv Version?