i'm trying to compare the computation of histogram on cpu and gpu using gpucv but there's something i don't understand. The results are differents and i don't understand why. this is the code i'm using for gpucv
cv::Mat histImage;
histImage = cvLoadImage(img.toStdString().c_str(), CV_8UC1);
gpu::GpuMat devImage, result;
devImage.upload(histImage);
gpu::calcHist(devImage, result);
Thanks for helping