Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version


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;


gpu::calcHist(devImage, result);

Thanks for helping