• ericgreveson's avatar
    Fix for spurious assert in cv::compareHist · 19794e68
    ericgreveson authored
    When comparing histograms that look like multi-channel images (e.g a 3D histogram, of 4x4x4 bins, might appear as a CV_32FC4 matrix), cv::compareHist would complain because it was expecting the matrix type() == CV_32F. Now we test matrix depth() == CV_32F instead.
    19794e68
Name
Last commit
Last update
..
doc Loading commit data...
include/opencv2 Loading commit data...
perf Loading commit data...
src Loading commit data...
test Loading commit data...
CMakeLists.txt Loading commit data...