Hi,
I am using OpenCV 3.4.1 within QT5 on Mac OS X 10.14. I try to realize the standard Histogram example within QT. I get this error before compilation: /QtProjects/CameraBox/mainwindow.cpp:186: error: no matching function for call to 'calcHist'
Parts of my code:
include <opencv2 core.hpp="">
include <opencv2 highgui.hpp="">
include <opencv2 imgproc.hpp="">
include <opencv2 objdetect.hpp="">
later ...
//! [Compute the histograms] Mat b_hist, g_hist, r_hist; calcHist( &bgr_planes[0], 1, 0, Mat(), b_hist, 1, &histSize, &histRange, true, false );
Does anybody knows this and has a solution?