1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

added cv::calcBackProject for 2-dimensional histograms

This commit is contained in:
Ilya Lavrenov
2013-12-26 16:17:06 +04:00
parent d64bea00b2
commit b23edc34e9
3 changed files with 71 additions and 62 deletions
@@ -147,15 +147,6 @@ PARAM_TEST_CASE(CalcBackProject, MatDepth, int, bool)
void Near()
{
// std::cout << "Src: " << std::endl << src_roi[0] << std::endl;
// std::cout << "Hist: " << std::endl << hist_roi << std::endl;
std::cout << "OpenCV: " << std::endl << dst_roi << std::endl;
std::cout << "OpenCL: " << std::endl << udst_roi.getMat(ACCESS_READ) << std::endl;
Mat diff;
cv::absdiff(dst_roi, udst_roi, diff);
std::cout << "Difference: " << std::endl << diff << std::endl;
OCL_EXPECT_MATS_NEAR(dst, 0.0)
}
};