Ask Your Question

Revision history [back]

BGR2HSV result is different with matlab

When I convert an image from RGB to HSV with cvtColor(src,dst,CV_BGR2HSV ,0), I get a really different result compared with the one i get from Matlab's rgb2hsv function, Please tell me which is right.