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:
@@ -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)
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user